- Run
roscore
in first terminal. Do not forget run roscore first.
$ roscore
- Run
rosserial
with port in sencond terminal.
$ rosrun rosserial_python serial_node.py _port:=path/to/port
- If you face to
permission
issue, you can type the following command.
$ sudo chmod 666 path/to/port
-
Upload
talker.ino
using Arduino IDE or VSCode. -
See topic from
talker.ino
.
$ rostopic echo /chatter
data: "Hello, World!"
---
data: "Hello, World!"
・
・
・