Trajectory - Add getters for current position and velocity. Move some getters to public section

This commit is contained in:
bresch
2018-11-06 22:17:00 +01:00
committed by Roman Bapst
parent 6a7ce651bc
commit 7073187a48
2 changed files with 5 additions and 1 deletions
@@ -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;