ROS tools for UArm by UFactory.
- rosserial
- UF_uArm (arduino library)
-
Install arduino sdk from Arduino.cc[http://arduino.cc/en/Main/Software].
-
Install rosserial
$ sudo apt-get install ros-hydro-rosserial- checkout uarm(this!) and build
$ cd ~/catkin_ws/src
$ git clone https://github.com/OTL/uarm.git
$ cd ~/catkin_ws
$ catkin_make- generate ros_lib (ros message file for arduino)
$ rosrun rosserial_arduino make_libraries.py ~/sketchbook/libraries- install UF_uArm arduino library
$ cd ~/sketchbook/libraries
$ git clone https://github.com/UFactory/UF_uArm.git- make a link to the sketch directory
$ ln -s ~/catkin_ws/src/uarm/uArmROS ~/sketchbook/- Start Arduino SDK, and install sketch, uArmROS
File -> Sketchbook -> uArmROS
$ rosrun rosserial_python serial_node.py
$ rostopic list- /uarm/button/d4 (std_msgs/Bool): button state (D4)
- /uarm/button/d7 (std_msgs/Bool): button state (D7)
- /uarm/joint_states (sensor_msgs/JointState): TODO: raw joint AD value
- /uarm/joint_commands (uarm/Joints): move joints (unit looks [deg] and [mm])
- /uarm/gripper (std_msgs/Bool): true -> hold, false -> release (only tested for pump)