Skip to content

Commit

Permalink
allow setting return_delay_time to 0, delete JointStateList msg defin…
Browse files Browse the repository at this point in the history
…ition
  • Loading branch information
arebgun committed Nov 3, 2011
1 parent fc41368 commit 79caa54
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion dynamixel_driver/scripts/change_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@
print 'ERROR: The motor did not respond to a ping to its new id.'
else:
print 'ERROR: The specified motor did not respond to id %d. Make sure to specify the correct baudrate.' % old_id

3 changes: 1 addition & 2 deletions dynamixel_driver/scripts/set_servo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
dxl_io.set_baud_rate(motor_id, options.baud_rate)

# check if return delay time needs to be changed
if options.return_delay:
if options.return_delay is not None:
if options.return_delay < 0 or options.return_delay > 254:
print 'Requested return delay time is out of valie range (0 - 254)'

Expand Down Expand Up @@ -142,4 +142,3 @@
print 'done'
else:
print 'Unable to connect to Dynamixel motor with ID %d' % motor_id

1 change: 0 additions & 1 deletion dynamixel_msgs/msg/JointStateList.msg

This file was deleted.

0 comments on commit 79caa54

Please sign in to comment.