bandi13 / cyton_gamma_300_ROS

This repository is my work on getting the Cyton Gamma 300 working under ROS Indigo. I have the low level non-Cyton drivers incorporated. I've found that the Cyton code is incredibly bad with deadlocks. This approach works much better and is fully open source.
GNU General Public License v2.0
7 stars 2 forks source link

This project contains a ROS workspace that has been configured to work with the Cyton Gamma 300 robotic arm. I suspect it should work much better with the Cyton Gamma 1500, but I haven't tested that. My main contribution is the cyton_controllers and the cyton_gamma_1500_setupassistant_andras2. The setupassistant folder just contains the MoveIt files. The cyton_controllers configures the dynamixel_motor driver to produce the proper messages and handles necessary to interface with MoveIt.

The following packages were pulled from other github repositories: cyton_gamma_1500_description dynamixel_motor industrial_core moveit_plugins

First you'll need to run catkin_make in the ROS_ws folder. Then you'll need to source ROS_ws/devel/setup.bash like usual.

Starting up, you'll first: roslaunch cyton_controllers controller_manager.launch

Then make sure all the motors have been detected. This should only take a couple seconds. Once it's done, run: roslaunch cyton_controllers start_controller.launch

This launches the scripts that will create subscribers for each of the motors. Once they're launched, you'll get the prompt back. This is normal. You can run a script to make the arm stand up with: ROS_ws/src/standup.sh

The arm should move at this point to the straight up position. You'll now want to enable feedback of motor states with: rosrun cyton_controllers dynamixel_joint_state_publisher.py

Now you have feedback of the motors so you can start the MoveIt model environment: roslaunch cyton_gamma_1500_setupassistant_andras2 moveit_planning_execution.launch

You'll notice that it's the Cyton Gamma 1500 model that I've used here. This is a work in progress. The model isn't quite complete, but I do believe all the joints are correctly set up. So it's just a matter of tweaking the model to correctly understand the state of the motors.