Open alovedale opened 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
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