Skip to content

The launch file doesn't match the book content in page 301. The section is for c8_robot_with_motors_w_twist.ino example.  #7

@philzhu

Description

@philzhu

The launch file doesn't match the book content in page 301.
The section is for c8_robot_with_motors_w_twist.ino example.
The book mentioned:

"Now, you can upload the code to the Arduino board. In order to make easier to run
all the nodes, we are going to create a launch file that manages the joystick, the robot
model in the RViz visualizer, and the Arduino node.
You can launch the example with the following command in terminals:
$ roslaunch chapter8_tutorials chapter8_tutorials robot_model_with_motors.launch
$ rosrun rosserial_python serial_node.py /dev/ttyACM0
Now, you can control the robot with the joystick; also you can see in the RViz
visualizer the robot model moving. If you are testing the code on an embedded
ARM computer without display, you can comment the rviz node in the launch file."

The book has some error for the launch file name in this section. But the section is to demo how to control motors in Arduino board, and you gave the c8_robot_with_motors_w_twist.ino example already, but I can't find any launch file which is used to control the motors in Arduino board.
Main issue is how to control cmd_vel of mortors in Arduin board by using the Joystick, This part is missing in the section.
But if you have right launch file about it, then will be easy for us. Right now I try to run different rostopic command, but still get failure.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions