Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
Deborggraeve Randy edited this page Jun 4, 2017 · 9 revisions

Welcome to the ampru wiki!

Installing the Arduino firmware
$ catkin_make ampru_base_firmware_ampru_wheel_base-upload

Set USB persmissions
$ sudo usermod -a -G dialout $USER
$ sudo chmod a+rw /dev/ttyUSB0

Creating Arduino custom message
$ catkin_make install ampru_msgs
$ source install/setup.bash
$ rm -rf ~/sketchbook/libraries/ros_lib
$ rosrun rosserial_client make_libraries ~/sketchbook/libraries

Running the serial node
$ source install/setup.bash
$ rosrun rosserial_python serial_node.py /dev/ttyUSB0 _baud:=57600
if we do not source the install, the serial node seem to fail to use the custom message!

Testing the wheel base (v1)
tty1: roscore
tty2: source devel/setup.bash
tty2: roslaunch ampru_base base.launch
tty3: source devel/setup.bash
tty3: roslaunch ampru_control teleop.launch

Clone this wiki locally