ros_robotics_projects icon indicating copy to clipboard operation
ros_robotics_projects copied to clipboard

Chapter2 Control with Dynamixel motor

Open d9807302 opened this issue 6 years ago • 1 comments

Hi qboticslab: in chapter2, i try start_dynamixel.launch. the result is the same as shown in book. however, when I try start_dynamixel_tracking.launch. it just stuck in the following message. please give some advices to solve this issue, thanks.

the process just stop here "waiting for controller_manager dxl_manager to startup in global namespace!!..." is just stop here. I try to modify some launch file, but it didn't work.

John

seven@seven-VirtualBox:~/catkin_ws$ roslaunch face_tracker_control start_pan_controller.launch ... logging to /home/seven/.ros/log/07ef5354-2dc7-11e8-8e7b-0800277fdb76/roslaunch-seven-VirtualBox-27124.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://seven-VirtualBox:43948/

SUMMARY

PARAMETERS

  • /center_offset: 50
  • /pan_controller/controller/module: joint_position_co...
  • /pan_controller/controller/package: dynamixel_control...
  • /pan_controller/controller/type: JointPositionCont...
  • /pan_controller/joint_name: pan_joint
  • /pan_controller/joint_speed: 1.17
  • /pan_controller/motor/id: 1
  • /pan_controller/motor/init: 512
  • /pan_controller/motor/max: 708
  • /pan_controller/motor/min: 316
  • /rosdistro: kinetic
  • /rosversion: 1.12.7
  • /screenmaxx: 640
  • /servomaxx: 0.5
  • /servomin: -0.5
  • /step_distancex: 0.01

NODES / tilt_controller_spawner (dynamixel_controllers/controller_spawner.py)

auto-starting new master process[master]: started with pid [27135] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 07ef5354-2dc7-11e8-8e7b-0800277fdb76 process[rosout-1]: started with pid [27148] started core service [/rosout] process[tilt_controller_spawner-2]: started with pid [27159] [INFO] [1521719350.708362]: pan_port controller_spawner: waiting for controller_manager dxl_manager to startup in global namespace!!...

d9807302 avatar Mar 22 '18 11:03 d9807302

@d9807302 This may happen if you work with Virtualbox. You have to make sure the USBToDynamixel is detected in Virtualbox as well.

Here is one video you can add USB device in VirtualBox: https://www.youtube.com/watch?v=tKb4ciateS8

You will get many video tutorial like this from youtube

qboticslabs avatar Mar 23 '18 00:03 qboticslabs