iandanforth / pydynamixel

A fork of the python client for dynamixel servos written by Patrick Goebel hosted on google code.
http://code.google.com/p/pydynamixel/
Other
23 stars 19 forks source link

addressing individual servos #2

Open alovedale opened 11 years ago

alovedale commented 11 years ago

Sorry to bother you with this, but I'm having an issue with addressing individual servos on the network.

I have everything set up, example.py works and moves the servos as expected (8servos on the bus).

I can read from individual servos like so:

print "goal:", myActuators[7].goal_position, " ", "current:", myActuators[7].current_position

and the info is correct. However I cannot write a goal position and have the servo do it. I am trying to do so like this:

myActuators[7].goal_position = 250 net.synchronize()

If I do a myActuators[7].read_all() I see the goal position has updated to the current position, but not what I tried to set it to.

Many thanks for your time,

H