Skip to content

Wrong spin call #61

@sayali-purdue

Description

@sayali-purdue

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions