mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
Temporary logging addition to debug CI
This commit is contained in:
committed by
Daniel Agar
parent
fafbb687d8
commit
e92795b474
@@ -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 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
|
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
|
float32 minimum_thrust # tell controller what the minimum collective output thrust should be
|
||||||
|
|
||||||
|
uint32 flight_task
|
||||||
|
|||||||
@@ -485,6 +485,7 @@ void FlightModeManager::generateTrajectorySetpoint(const float dt,
|
|||||||
_time_stamp_last_loop);
|
_time_stamp_last_loop);
|
||||||
constraints.speed_up = _takeoff.updateRamp(dt, constraints.speed_up);
|
constraints.speed_up = _takeoff.updateRamp(dt, constraints.speed_up);
|
||||||
|
|
||||||
|
constraints.flight_task = _flight_tasks.getActiveTask();
|
||||||
_vehicle_constraints_pub.publish(constraints);
|
_vehicle_constraints_pub.publish(constraints);
|
||||||
|
|
||||||
if (not_taken_off) {
|
if (not_taken_off) {
|
||||||
|
|||||||
Reference in New Issue
Block a user