From: Richard v. <va...@cs...> - 2006-03-15 02:50:47
|
Use the "simulation" interface. Check the docs of your favorite proxy library to see the API and Gazebo's docs to see which commands are supported. Stage works the same way, so now your simulation-twiddling code may work just the same in Gazebo and Stage. Neat, eh? Richard/ On 14-Mar-06, at 4:31 PM, Ben Pearre wrote: > Many thanks! Player-2.0 looks brilliant! > > But: how do I get/set Gazebo-0.6 TruthWidget data in my C program? > Since Player now doesn't know about Gazebo, I guess there's no Player > interface (none is documented, although there does appear to be one > mention of truth in libplayerc.a (?)). > > I see that Truth is deprecated--what are the new tools for moving > objects around and getting absolute position, etc? > > Failing that, how can I use Truth? There's no reference to truth > anymore in , and some functions in gazebo.h, but it's not obvious how > to use them. For example, I can't do this: > > playerc_truth_t * truth = playerc_truth_create(truth, 0); > playerc_truth_subscribe(truth, open_mode); > > (and then fetch or set my position via the traditional method) > > It looks like gz_truth_open(...) and friends are for Gazebo's internal > use, since my client doesn't seem to have the necessary parameters > available. > > What's the right angle from which to approach this? > > Cheers!! > -Ben > > -- > Ben Pearre http://koryukanboulder.com/ben PGP: CFDA6CDA > Don't let Bush read your email! http://www.gnupg.org > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo |