Robotics StackExchange | Archived questions

trouble launching mini_max_defs

Hello

I am currently using a hub to connect the 3 usb cords since I only have 2 usb ports to launch the mini_max defs for a turtlebot robot. I am trying to launch but I get the following error. I get the following error when I exclude the kinnect if I use only my two ports. Please tell me what I might be doing wrong. It kept going forever so I terminated it at a certain point Thank you in advance.

karl@ubuntu:~$ roslaunch mini_max_defs bringup.launch 
... logging to /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/roslaunch-ubuntu-7008.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:52656/ 

SUMMARY 
======== 

PARAMETERS 
 * /arbotix/read_rate 
 * /use_sim_time 
 * /arbotix/dynamixels/gripper_joint/id 
 * /arbotix/dynamixels/arm_shoulder_lift_joint/max_speed 
 * /arbotix/digital_sensors/green_button/rate 
 * /turtlebot_node/odom_angular_scale_correction 
 * /arbotix/dynamixels/head_pan_joint/max_speed 
 * /arbotix/digital_sensors/yellow_button/pin 
 * /openni_camera/depth_rgb_translation 
 * /arbotix/dynamixels/gripper_joint/max_speed 
 * /arbotix/dynamixels/arm_wrist_flex_joint/max_speed 
 * /arbotix/controllers/arm_controller/type 
 * /diagnostic_aggregator/analyzers/power/type 
 * /turtlebot_node/update_rate 
 * /diagnostic_aggregator/analyzers/power/timeout 
 * /gripper_controller/pad_width 
 * /arbotix/digital_sensors/yellow_button/rate 
 * /arbotix/digital_sensors/green_button/pin 
 * /openni_camera/shift_offset 
 * /arbotix/port 
 * /arbotix/dynamixels/arm_elbow_flex_joint/max_angle 
 * /arbotix/digital_sensors/yellow_button/value 
 * /turtlebot_node/gyro_scale_correction 
 * /arbotix/dynamixels/head_tilt_joint/max_speed 
 * /arbotix/dynamixels/arm_wrist_flex_joint/id 
 * /openni_camera/depth_rgb_rotation 
 * /arbotix/dynamixels/arm_shoulder_pan_joint/max_angle 
 * /diagnostic_aggregator/analyzers/joints/type 
 * /arbotix/dynamixels/arm_elbow_flex_joint/min_angle 
 * /diagnostic_aggregator/analyzers/joints/startswith 
 * /openni_camera/image_input_format 
 * /rosdistro 
 * /robot_description 
 * /openni_camera/projector_depth_baseline 
 * /diagnostic_aggregator/base_path 
 * /arbotix/write_rate 
 * /arbotix/dynamixels/arm_wrist_flex_joint/min_angle 
 * /arbotix/dynamixels/arm_shoulder_pan_joint/max_speed 
 * /rosversion 
 * /diagnostic_aggregator/analyzers/joints/timeout 
 * /diagnostic_aggregator/analyzers/power/path 
 * /arbotix/dynamixels/arm_wrist_flex_joint/max_angle 
 * /arbotix/dynamixels/head_tilt_joint/min_angle 
 * /gripper_controller/invert 
 * /diagnostic_aggregator/analyzers/joints/path 
 * /arbotix/dynamixels/arm_shoulder_lift_joint/max_angle 
 * /arbotix/dynamixels/head_pan_joint/id 
 * /arbotix/dynamixels/arm_shoulder_lift_joint/min_angle 
 * /openni_camera/registration_type 
 * /arbotix/digital_sensors/green_button/value 
 * /diagnostic_aggregator/pub_rate 
 * /openni_camera/point_cloud_resolution 
 * /arbotix/dynamixels/arm_elbow_flex_joint/max_speed 
 * /arbotix/dynamixels/arm_shoulder_pan_joint/min_angle 
 * /diagnostic_aggregator/analyzers/power/startswith 
 * /arbotix/dynamixels/arm_shoulder_lift_joint/id 
 * /arbotix/controllers/arm_controller/onboard 
 * /arbotix/dynamixels/arm_shoulder_pan_joint/id 
 * /arbotix/controllers/arm_controller/joints 
 * /arbotix/dynamixels/head_tilt_joint/max_angle 
 * /turtlebot_node/bonus 
 * /arbotix/dynamixels/arm_elbow_flex_joint/id 
 * /arbotix/dynamixels/head_tilt_joint/id 

NODES 
  / 
    turtlebot_node (turtlebot_node/turtlebot_node.py) 
    arbotix (arbotix_python/driver.py) 
    gripper_controller (arbotix_controllers/one_side_gripper_controller.py) 
    turtlebot_laptop_battery (turtlebot_node/laptop_battery.py) 
    diagnostic_aggregator (diagnostic_aggregator/aggregator_node) 
    openni_camera (openni_camera/openni_node) 
    kinect_base_link (tf/static_transform_publisher) 
    kinect_base_link1 (tf/static_transform_publisher) 
    kinect_base_link2 (tf/static_transform_publisher) 
    kinect_base_link3 (tf/static_transform_publisher) 
    kinect_link (tf/static_transform_publisher) 
    rob_st_pub (robot_state_publisher/state_publisher) 

ROS_MASTER_URI=http://localhost:11311 

core service [/rosout] found 
process[turtlebot_node-1]: started with pid [7030] 
process[arbotix-2]: started with pid [7031] 
process[gripper_controller-3]: started with pid [7032] 
process[turtlebot_laptop_battery-4]: started with pid [7033] 
process[diagnostic_aggregator-5]: started with pid [7034] 
process[openni_camera-6]: started with pid [7035] 
process[kinect_base_link-7]: started with pid [7037] 
process[kinect_base_link1-8]: started with pid [7052] 
process[kinect_base_link2-9]: started with pid [7054] 
process[kinect_base_link3-10]: started with pid [7072] 
process[kinect_link-11]: started with pid [7095] 
process[rob_st_pub-12]: started with pid [7097] 
[turtlebot_laptop_battery-4] process has finished cleanly. 
log file: /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/turtlebot_laptop_battery-4*.log 
[INFO] [WallTime: 1317657171.687948] Started ArbotiX connection on port /dev/ttyUSB1. 
[INFO] [WallTime: 1317657171.871355] Started FollowController (arm_controller). Joints: ['arm_shoulder_pan_joint', 'arm_shoulder_lift_joint', 'arm_elbow_flex_joint', 'arm_wrist_flex_joint'] on C0 
[INFO] [WallTime: 1317657171.974943] Waiting for response... 
[INFO] [WallTime: 1317657172.326139] Waiting for response... 
[ INFO] [1317657172.597966361]: [/openni_camera] Number devices connected: 1 
[ INFO] [1317657172.598386617]: [/openni_camera] 1. device on bus 001:21 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00367908618050A' 
[ WARN] [1317657172.600670444]: [/openni_camera] device_id is not set! Using first device. 
[INFO] [WallTime: 1317657172.677602] Waiting for response... 
[ INFO] [1317657172.677794795]: [/openni_camera] Opened 'Xbox NUI Camera' on bus 1:21 with serial number 'A00367908618050A' 
[ INFO] [1317657172.690162895]: 'rgb_frame_id' not set. using default: '/openni_rgb_optical_frame' 
[ INFO] [1317657172.693641927]: 'depth_frame_id' not set. using default: '/openni_depth_optical_frame' 
[INFO] [WallTime: 1317657173.028832] Waiting for response... 
[INFO] [WallTime: 1317657173.380364] Waiting for response... 
[INFO] [WallTime: 1317657173.623953] serial port: /dev/ttyUSB0 
[INFO] [WallTime: 1317657173.624357] update_rate: 30.0 
[INFO] [WallTime: 1317657173.624702] drive mode: twist 
[INFO] [WallTime: 1317657173.625026] has gyro: True 
Failed to contact device with error: [[Errno 22] Invalid argument]. Please check that the Create is powered on and that the connector is plugged into the Create.[INFO] [WallTime: 1317657173.731638] Waiting for response... 
[turtlebot_node-1] process has finished cleanly. 
log file: /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/turtlebot_node-1*.log 
respawning... 
[turtlebot_node-1] restarting process 
process[turtlebot_node-1]: started with pid [7565] 
[INFO] [WallTime: 1317657174.083156] Waiting for response... 
[INFO] [WallTime: 1317657174.434213] Waiting for response... 
[INFO] [WallTime: 1317657174.785358] Waiting for response... 
[INFO] [WallTime: 1317657175.136550] Waiting for response... 
[INFO] [WallTime: 1317657175.487827] Waiting for response... 
[INFO] [WallTime: 1317657175.839290] Waiting for response... 
[INFO] [WallTime: 1317657176.190833] Waiting for response... 
[INFO] [WallTime: 1317657176.542471] Waiting for response... 
[INFO] [WallTime: 1317657176.894089] Waiting for response... 
[INFO] [WallTime: 1317657177.245527] Waiting for response... 
[INFO] [WallTime: 1317657177.596902] Waiting for response... 
[INFO] [WallTime: 1317657177.629339] serial port: /dev/ttyUSB0 
[INFO] [WallTime: 1317657177.629796] update_rate: 30.0 
[INFO] [WallTime: 1317657177.631713] drive mode: twist 
[INFO] [WallTime: 1317657177.632050] has gyro: True 
Failed to contact device with error: [[Errno 22] Invalid argument]. Please check that the Create is powered on and that the connector is plugged into the Create.[turtlebot_node-1] process has finished cleanly. 
log file: /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/turtlebot_node-1*.log 
respawning... 
[turtlebot_node-1] restarting process 
process[turtlebot_node-1]: started with pid [7614] 
[INFO] [WallTime: 1317657177.948228] Waiting for response... 
[INFO] [WallTime: 1317657178.299422] Waiting for response... 
[INFO] [WallTime: 1317657178.650685] Waiting for response... 
[INFO] [WallTime: 1317657179.002081] Waiting for response... 
[INFO] [WallTime: 1317657179.353447] Waiting for response... 
[INFO] [WallTime: 1317657179.704722] Waiting for response... 
[INFO] [WallTime: 1317657180.056323] Waiting for response... 
[INFO] [WallTime: 1317657180.407637] Waiting for response... 
[INFO] [WallTime: 1317657180.759056] Waiting for response... 
[INFO] [WallTime: 1317657181.110389] Waiting for response... 
[INFO] [WallTime: 1317657181.335470] serial port: /dev/ttyUSB0 
[INFO] [WallTime: 1317657181.335865] update_rate: 30.0 
[INFO] [WallTime: 1317657181.336188] drive mode: twist 
[INFO] [WallTime: 1317657181.336509] has gyro: True 
Failed to contact device with error: [[Errno 22] Invalid argument]. Please check that the Create is powered on and that the connector is plugged into the Create.[INFO] [WallTime: 1317657181.461526] Waiting for response... 
[turtlebot_node-1] process has finished cleanly. 
log file: /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/turtlebot_node-1*.log 
respawning... 
[turtlebot_node-1] restarting process 
process[turtlebot_node-1]: started with pid [7663] 
[INFO] [WallTime: 1317657181.812577] Waiting for response... 
[INFO] [WallTime: 1317657182.163884] Waiting for response... 
[INFO] [WallTime: 1317657182.515335] Waiting for response... 
[INFO] [WallTime: 1317657182.866952] Waiting for response... 
[INFO] [WallTime: 1317657183.218146] Waiting for response... 
[INFO] [WallTime: 1317657183.569625] Waiting for response... 
[INFO] [WallTime: 1317657183.921049] Waiting for response... 
[INFO] [WallTime: 1317657184.272507] Waiting for response... 
[INFO] [WallTime: 1317657184.623782] Waiting for response... 
[INFO] [WallTime: 1317657184.974964] Waiting for response... 
[INFO] [WallTime: 1317657185.035455] serial port: /dev/ttyUSB0 
[INFO] [WallTime: 1317657185.035855] update_rate: 30.0 
[INFO] [WallTime: 1317657185.036180] drive mode: twist 
[INFO] [WallTime: 1317657185.036502] has gyro: True 
Failed to contact device with error: [[Errno 22] Invalid argument]. Please check that the Create is powered on and that the connector is plugged into the Create.[turtlebot_node-1] process has finished cleanly. 
log file: /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/turtlebot_node-1*.log 
respawning... 
[turtlebot_node-1] restarting process 
process[turtlebot_node-1]: started with pid [7710] 
[INFO] [WallTime: 1317657185.326131] Waiting for response... 
[INFO] [WallTime: 1317657185.677355] Waiting for response... 
[INFO] [WallTime: 1317657186.028630] Waiting for response... 
[INFO] [WallTime: 1317657186.380017] Waiting for response... 
[INFO] [WallTime: 1317657186.731274] Waiting for response... 
[INFO] [WallTime: 1317657187.082390] Waiting for response... 
[INFO] [WallTime: 1317657187.433732] Waiting for response... 
[INFO] [WallTime: 1317657187.784995] Waiting for response... 
[INFO] [WallTime: 1317657188.136015] Waiting for response... 
[INFO] [WallTime: 1317657188.487306] Waiting for response... 
[INFO] [WallTime: 1317657188.764798] serial port: /dev/ttyUSB0 
[INFO] [WallTime: 1317657188.765199] update_rate: 30.0 
[INFO] [WallTime: 1317657188.765587] drive mode: twist 
[INFO] [WallTime: 1317657188.765914] has gyro: True 
[INFO] [WallTime: 1317657188.838580] Waiting for response... 
Failed to contact device with error: [[Errno 22] Invalid argument]. Please check that the Create is powered on and that the connector is plugged into the Create.[turtlebot_node-1] process has finished cleanly. 
log file: /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/turtlebot_node-1*.log 
respawning... 
[turtlebot_node-1] restarting process 
process[turtlebot_node-1]: started with pid [7759] 
[INFO] [WallTime: 1317657189.189609] Waiting for response... 
[INFO] [WallTime: 1317657189.541041] Waiting for response... 
[INFO] [WallTime: 1317657189.892552] Waiting for response... 
[INFO] [WallTime: 1317657190.243945] Waiting for response... 
[INFO] [WallTime: 1317657190.595377] Waiting for response... 
[INFO] [WallTime: 1317657190.946787] Waiting for response... 
[INFO] [WallTime: 1317657191.298309] Waiting for response... 
[INFO] [WallTime: 1317657191.649746] Waiting for response... 
[INFO] [WallTime: 1317657192.001080] Waiting for response... 
[INFO] [WallTime: 1317657192.352722] Waiting for response... 
[INFO] [WallTime: 1317657192.476303] serial port: /dev/ttyUSB0 
[INFO] [WallTime: 1317657192.476706] update_rate: 30.0 
[INFO] [WallTime: 1317657192.477033] drive mode: twist 
[INFO] [WallTime: 1317657192.477370] has gyro: True 
Failed to contact device with error: [[Errno 22] Invalid argument]. Please check that the Create is powered on and that the connector is plugged into the Create.[INFO] [WallTime: 1317657192.704326] Waiting for response... 
[turtlebot_node-1] process has finished cleanly. 
log file: /home/karl/.ros/log/acdd4d62-edd7-11e0-bdbb-207c8f253540/turtlebot_node-1*.log 
respawning... 
[turtlebot_node-1] res

The output I got for that command: karl@ubuntu:~$ ls -l /dev/ttyUSB* crw-rw---- 1 root dialout 188, 0 2011-10-04 13:09 /dev/ttyUSB0

Asked by applecrusher on 2011-10-03 06:31:40 UTC

Comments

I don't know. I bought a Belkin USB 2.0 4-Port Ultra Mini Hub F5U407 and I am using this. This is weird because I actually have two usb ports. Both of them work with my logtech headset , could this be an issue with the driver or configuration of this within linux? If so how would I fix this? Thanks

Asked by applecrusher on 2011-10-06 14:45:41 UTC

So, you only have one USB port -- are you actually using a real Mini Maxwell?

Asked by fergs on 2011-10-06 10:44:01 UTC

karl@ubuntu:~$ ls -l /dev/ttyUSB* crw-rw---- 1 root dialout 188, 0 2011-10-04 13:09 /dev/ttyUSB0

Asked by applecrusher on 2011-10-04 05:12:18 UTC

It looks like none of your serial ports are working. Can you post the output of "ls -l /dev/ttyUSB*"

Asked by fergs on 2011-10-03 06:52:35 UTC

Answers