Explorar o código

角速度标定停止的时候发布0速度

zhuo %!s(int64=4) %!d(string=hai) anos
pai
achega
01e01b194e

+ 1 - 1
src/CMakeLists.txt

@@ -1 +1 @@
-/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake
+/opt/ros/melodic/share/catkin/cmake/toplevel.cmake

+ 1 - 0
src/robot_calibration/src/calibrate_mobilebase_angular.py

@@ -64,6 +64,7 @@ class CalibrateAngular():
                 self.cmd_vel.publish(move_cmd)
                 check_rate.sleep()
             else: #end test
+                self.cmd_vel.publish(Twist())
                 self.print_result()
 
     def get_param(self):