Skip to content

Commit ba81137

Browse files
Tomas BacaTomas Baca
authored andcommitted
added todos
1 parent 644401a commit ba81137

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mpc_controller.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,10 @@ void MpcController::MPC(const mrs_msgs::msg::UavState &uav_state, const mrs_msgs
10541054

10551055
// TODO !! this is a very crude way of sampling from the desired full-state prediction, which only works
10561056
// with the MpcTracker. Rework this please.
1057+
//
1058+
// TODO !! we should check the length of the incoming trajectory
1059+
//
1060+
// TODO !! we should resample the incoming trajectory.
10571061

10581062
for (int i = 1; i < _horizon_length_; i++) {
10591063
mpc_reference_x((i * _n_states_) + 0, 0) = tracker_command.full_state_prediction.position.at(i).x;

0 commit comments

Comments
 (0)