mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- move the update after the integration: a new computed jerk has an impact at the next epoch only - add jerk reduction in case of too large integration time: when a jerk of "min_jerk" during dt is too much - add jerk reduction if the integration time is larger than the predicted one and that integrating that jerk would lead to an acceleration overshoot - rename some variables
23 lines
756 B
Plaintext
23 lines
756 B
Plaintext
# Local position setpoint in NED frame
|
|
# setting something to NaN means the state should not be controlled
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
float32 x # in meters NED
|
|
float32 y # in meters NED
|
|
float32 z # in meters NED
|
|
float32 yaw # in radians NED -PI..+PI
|
|
float32 yawspeed # in radians/sec
|
|
float32 vx # in meters/sec
|
|
float32 vy # in meters/sec
|
|
float32 vz # in meters/sec
|
|
float32 acc_x # in meters/(sec*sec)
|
|
float32 acc_y # in meters/(sec*sec)
|
|
float32 acc_z # in meters/(sec*sec)
|
|
float32 jerk_x # in meters/(sec*sec*sec)
|
|
float32 jerk_y # in meters/(sec*sec*sec)
|
|
float32 jerk_z # in meters/(sec*sec*sec)
|
|
float32[3] thrust # normalized thrust vector in NED
|
|
|
|
# TOPICS vehicle_local_position_setpoint trajectory_setpoint
|