Re: servo_motor_off() is not working?
"fransklip" <[email protected]>
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Message-ID | <[email protected]> |
Olivier, I checked servo_motor_off() with the new version: no change. I also switched off all motors just to be sure I had the correct servo. And no, there is no servo_set_position() called afterward which would enable the motor again. My test program places the robot on one foot in balance, raises the other foot, then waits in a loop ( using robot_step(20) ) till the touch sensors show the foot hits the floor, while changing led colors. After 20 or 30 iterations in the loop, Webots crashes. - Frans --- In [email protected], Olivier Michel <Olivier.Michel@c...> wrote: ..... > > >I tried to measure the robot's natural timing by lifting one leg and > >then switching off the hip motor. > >But nothing changes after the motor was switched off and the leg > >remained hanging in the air. Are you sure servo_motor_off() is working? > > > > > I will check this and let you know. > > By the way, I am about to release a new version of Webots (4.0.16) that > fixes the servo_get_position return value bug (among other things). It > should be available within a couple of hours or so. > > -Olivier ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/pU_rlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/