Re: Problem with Judoka1 Reset Angle
"Mike Jost" <[email protected]> Tue, 16 Mar 2004 20:39:52 -0600
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Message-ID | <001501c40bc9$20284aa0$0700a8c0@MJLAP> |
Olivier,
I am using the Windows evaluation version of Webots and passing the reset
string in the Java function emitter_send( ). I tried replacing the
judo_reset_supervisor.exe file in the
Webots/controllers/judo_reset_supervisior/ directory but it did not reset
the Judoka1 robot correctly when I executed the emitter_send( ) function. I
also tried creating a /controllers/judo_reset_supervisor/ directory in the
directory where I have my test robots running.
Mike Jost
> Mike,
> Thanks for reporting this problem. It comes from the fact that the
> judo_reset_supervisor controller retrieves the angle vector at the
> beginning of the simulation but after a few simulation steps. And since
> the initial angle for JUDOKA_1 is 0 1 0 0, the physics engine may switch
> it to something like 1 0 0 0.000002 in the very first simulation steps
> before the supervisor gets the value. Then, when you apply a rotation
> with the initial value, the angle vector is wrong... I fixed that by
> forcing the value of this vector to 0 1 0 in the supervisor program.
> That should correct the problem. Here is a fixed version of
> judo_reset_supervisor (source code: judo_reset_supervisor.c, Linux
> binary: judo_reset_supervisor.gz and Windows binary:
> judo_reset_supervisor.zip). Mike, please let me know if that fixes the
> problem.
>
> -Olivier
>
> Mike Jost wrote:
> >Olivier,
> >
> >The reset angle for Judoka1 rotates the robot around the X axis instead
of
> >the Y axis. The reset angle for Judoda0 is correct.
> >
> >Passing the reset string "stand me up 1 0.0 -0.5 1.57" for Judoka1
gives
> >the attached screen capture Judoka1_Angle_1.57.jpg.
> >Passing the reset string "stand me up 1 0.0 -0.5 3.14" for Judoka1
gives
> >the attached screen capture Judoka1_Angle_3.14.jpg.
> >
> >Thanks,
> >Mike Jost (FreeTime)
------------------------ 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
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/webots-contest/
<*> 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/