File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
br2_tracking/src/br2_tracking Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ HeadController::control_sycle()
136136 double control_pan = pan_pid_.get_output (last_command_->pan );
137137 double control_tilt = tilt_pid_.get_output (last_command_->tilt );
138138
139- command_msg.points [0 ].positions [0 ] = last_state_->actual .positions [0 ] - control_pan;
140- command_msg.points [0 ].positions [1 ] = last_state_->actual .positions [1 ] - control_tilt;
139+ command_msg.points [0 ].positions [0 ] = last_state_->feedback .positions [0 ] - control_pan;
140+ command_msg.points [0 ].positions [1 ] = last_state_->feedback .positions [1 ] - control_tilt;
141141
142142 command_msg.points [0 ].velocities [0 ] = 0.5 ;
143143 command_msg.points [0 ].velocities [1 ] = 0.5 ;
Original file line number Diff line number Diff line change 1515#include < vector>
1616
1717#include " opencv2/opencv.hpp"
18- #include " cv_bridge/cv_bridge.h "
18+ #include " cv_bridge/cv_bridge.hpp "
1919
2020#include " br2_tracking/ObjectDetector.hpp"
2121
You can’t perform that action at this time.
0 commit comments