Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong spin call #61

Open
sayali-purdue opened this issue Aug 23, 2024 · 0 comments
Open

Wrong spin call #61

sayali-purdue opened this issue Aug 23, 2024 · 0 comments

Comments

@sayali-purdue
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant