Skip to content

Commit

Permalink
Temporary logging addition to debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR committed Dec 1, 2020
1 parent ffba2e1 commit d6db09c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions msg/vehicle_constraints.msg
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ float32 max_distance_to_ground # in meters
bool want_takeoff # tell the controller to initiate takeoff when idling (ignored during flight)
bool reset_integral # tells controller to reset integrators e.g. since we know the vehicle is not in air
float32 minimum_thrust # tell controller what the minimum collective output thrust should be

uint32 flight_task
1 change: 1 addition & 0 deletions src/modules/flight_mode_manager/FlightModeManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ void FlightModeManager::generateTrajectorySetpoint(const float dt,
_time_stamp_last_loop);
constraints.speed_up = _takeoff.updateRamp(dt, constraints.speed_up);

constraints.flight_task = _flight_tasks.getActiveTask();
_vehicle_constraints_pub.publish(constraints);

if (not_taken_off) {
Expand Down

0 comments on commit d6db09c

Please sign in to comment.