Plankton icon indicating copy to clipboard operation
Plankton copied to clipboard

Wrong spin call

Open sayali-purdue opened this issue 6 months ago • 0 comments

File position_control_underactuated.py has a ROS2 node, 'PositionControllerNode', which uses rclpy library. However, 'main' function in this file is using ROS1 spin,'rospy.spin()' call, at line 127. This means the node, 'PositionControllerNode', will not spin and hence its callbacks such as subscriber callbacks will not execute. The 'main' function should use ROS2 spin.

sayali-purdue avatar Aug 23 '24 02:08 sayali-purdue