Skip to content

Robot Arm Attachment

Bruce Allen edited this page Oct 19, 2019 · 11 revisions

This page examines the following:

  • Joystick controller.
  • Robot arm.
  • Attaching the arm to the UUV.
  • Run the simulation to manipulate the arm

Joystick Controller

We start with a Logictech F310 Gamepad controller. It has 6 analog inputs and about 10 buttons. We map inputs to control joints on the UUV's arm.

The joystick plugs in using USB and is available at /dev/input/js0. In typing ls -l /dev/input/js0, we see that we might need to widen permissions by typing sudo chmod a+rw /dev/input/jsX.

From http://wiki.ros.org/joy/Tutorials/ConfiguringALinuxJoystick:

  • Start roscore
  • Somewhere type rosparam set joy_node/dev "/dev/input/js0".
  • Start joysick node: rosrun joy joy_node. Maybe disregard "force feedback" error.
  • Start rostopic: rostopic echo joy.
  • Move joystick controls to see parameters change.

We use the joy ROS joystick driver (https://docs.ros.org/api/joy/html/) joy_node node which provides message "Joy" which carries all joystick data. Joy tutorials: http://wiki.ros.org/joy/Tutorials. The first tutorial to obtain joy messages. The second tutorial consumes joy messages to produce twist messages.

Robot Arm

We need a 6 DOF manipulator.

niryo_one_ros

https://github.com/NiryoRobotics/niryo_one_ros

Katana (not available)

Not available for Melodic. Here are references.

Clone this wiki locally