Re: servo_get_position(joint[0])
"fransklip" <[email protected]>
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Message-ID | <[email protected]> |
David, did you call servo_enable_position( joint[0], <interval> ) once? Without this call, the position sensor of the joint is disabled. Hint: the output values are noisy, to mimic a real sensor on a real robot. Frans - Kimaita --- In [email protected], "David Weber" <davidweber@g...> wrote: > hi all > > i've got a problem with the servo_get_position(joint[i])-method: > > when i want to get the actual angle of a joint of the robot i do that with > e.g. servo_get_position(joint[0]) > > but that always returns 0 > > any tips?? > > greetz david ------------------------ 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/