Re: servo_motor_off() is not working?
Olivier Michel <[email protected]>
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Organization | Cyberbotics Ltd. |
| Message-ID | <[email protected]> |
Frans wrote: >Would it be a good idea to add a set-ending rule for immobile robots? >That would speed up a lot of the uninteresting matches at the low end >where one or both robots are almost or completely immobile. >And make life-viewing a lot more interesting and a lot shorter in time. > >Perhaps this : >if a robot has not moved for at least (the largest distance) 0.05 >units from its initial position in the first 15 seconds, it looses the >set. > >This won't catch robots falling at the start. >Perhaps move at least 0.05 in each 15-second interval? To prevent >robots from becoming too passive. In a real judo contest you get >punishment for too-much passive behaviour. (KInator won't like that.) > Yes, that could be nice idea. If there are no objections to this idea on the list, I will implement it next week. >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/