mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 10:33:34 +08:00
Trajectory - Add getters for current position and velocity. Move some getters to public section
This commit is contained in:
@@ -237,6 +237,7 @@ void VelocitySmoothing::integrate(float &accel_setpoint_smooth, float &vel_setpo
|
||||
|
||||
_accel = accel_new;
|
||||
_vel = vel_new;
|
||||
_pos = pos_new;
|
||||
|
||||
/* set output variables */
|
||||
accel_setpoint_smooth = _accel;
|
||||
|
||||
Reference in New Issue
Block a user