mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Update uuv_att_control.cpp
Modified the thruster value to be accessed from attitude setpoint message instead of parameters
This commit is contained in:
committed by
Daniel Agar
parent
24ae8f601d
commit
4209101333
@@ -235,7 +235,7 @@ void UUVAttitudeControl::control_attitude_geo(const vehicle_attitude_s &att, con
|
||||
*/
|
||||
|
||||
// take thrust as
|
||||
thrust_u = _param_direct_thrust.get();
|
||||
thrust_u = _vehicle_attitude_sp.thrust_body[0];
|
||||
|
||||
constrain_actuator_commands(roll_u, pitch_u, yaw_u, thrust_u);
|
||||
/* Geometric Controller END*/
|
||||
|
||||
Reference in New Issue
Block a user