-
Notifications
You must be signed in to change notification settings - Fork 74
Robot Arm Attachment
This page examines the following:
- Joystick controller.
- Robot arm.
- Attaching the arm to the UUV.
- Run the simulation to manipulate the arm
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.
We need a 6 DOF manipulator.
https://github.com/NiryoRobotics/niryo_one_ros
Not available for Melodic. Here are references.
- Katana driver: https://wiki.ros.org/katana_driver
-
katana_driver
Wiki: https://wiki.ros.org/katana_driver - A tutorial: https://community.arm.com/developer/research/b/articles/posts/do-you-want-to-build-a-robot