ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
1) Had the same problem once, my solution was to compute the direction from the given direction. So e.g. if I send the command to the motor to drive counter-clockwise I had it counting the ticks upwards, for clockwise downwards.
2) ros_control can do that with diff_drive_controller
3) This is answered here: os_control code sample for a diff_drive
2 | No.2 Revision |
1) Had the same problem once, my solution was to compute the direction from the given direction. So e.g. if I send the command to the motor to drive counter-clockwise I had it counting the ticks upwards, for clockwise downwards.
2) ros_control can do that with diff_drive_controller
3) This is answered here: os_control ros_control code sample for a diff_drive