March 2018
Intermediate to advanced
1396 pages
42h 14m
English
The button handling + LED Blink should have same setup in the above example. We should login to Odroid via SSH in multiple terminal and execute each command on each terminals.
Start roscore in one terminal:
$ roscore
Run the button LED node in another terminal:
$ sudo -s
# cd /home/odroid/catkin_ws/build/ros_wiring_examples
#./button_led
Press the button and we can see the LED blinking. We can also check the button state by echoing the topic led_blink:
$ rostopic echo /led_blink