ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Dynamixel Controller Problems

asked 2011-12-13 10:35:17 -0500

tyler258 gravatar image

Currently I am running the AX-12 servo with the Dynamixel_controller package. I can successfully initialize the servo following the tutorial found here. When I attempt to start the controller it produces the follwoing

 ... logging to /home/tyler/.ros/log/1427d53c-25e6-11e1-8030-00216a81ee0a/roslaunch ubuntu-31628.log
 Checking log directory for disk usage. This may take awhile.
 Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

 started roslaunch server http://ubuntu:46229/

 SUMMARY
 ========

 PARAMETERS
  * /tilt_controller/joint_speed
  * /rosdistro
  * /tilt_controller/motor/init
  * /tilt_controller/motor/max
  * /tilt_controller/joint_name
  * /rosversion
  * /tilt_controller/motor/min
  * /tilt_controller/controller/package
  * /tilt_controller/motor/id
  * /tilt_controller/controller/module
  * /tilt_controller/controller/type

  NODES
   /
     tilt_controller_spawner (dynamixel_controllers/controller_spawner.py)

 ROS_MASTER_URI=http://localhost:11311

 core service [/rosout] found
 process[tilt_controller_spawner-1]: started with pid [31646]
 [INFO] [WallTime: 1323822107.421650] /dev/ttyUSB0 controller_spawner: waiting for      controller_manager None to startup in global namespace...

I'm not sure why the controller_manager name is None and why it hangs up at this point. The tutorial I am following for this step can be found here.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-12-13 10:56:05 -0500

arebgun gravatar image

updated 2011-12-13 10:57:59 -0500

Looks like the tutorials might be a bit outdated. Here what you need to do get going:

  1. First we need to launch the controller manager node that will keep track of all loaded controllers (it also lets you stop, start and restart controllers). You can look at the example launch file in dynamixel_tutorials package. Make sure to set the correct min and max motor ids. Let's leave it running in a terminal window and proceed to the next step.

  2. Define joint controllers. Look at the dynamixel_tutorials example joint configuration.

  3. Now open another terminal window and launch your joint controller. An example launch file is again in dynamixel_tutorials package. Make sure that the manager command line argument is the same as the namespace parameter of a controller manager launched earlier (dxl_manager in this example). Same goes for the port command line argument, it should match the name given in the controller manager parameters (pan_tilt_port in this example).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-12-13 10:35:17 -0500

Seen: 2,362 times

Last updated: Dec 13 '11