Just a (slightly large) tidbit on the version reporting...

The version reported by Gazebo is incorrect because ODE and GDAL both
install their config files (config.h) in their respective header
directories. Then in the Gazebo sourcecode, once a file includes an ODE
or GDAL header, these config files are included as well (by the ODE or
GDAL header). There are definitions in these files like PACKAGE_VERSION
and VERSION that then override those set in Gazebo's config.h. (You will
see warnings during compilation about PACKAGE_VERSION and VERSION being
redefined.) You can hack the ODE and GDAL installed config.h files by
commenting-out the lines that set these definitions, then Gazebo will
compile without the warnings and report the correct version.

Josh

On Wed, 2007-03-07 at 23:15 -0700, Travis Alexander wrote:
> Ok, I'm using libgazebo to interface with gazebo 0.7.0 (at least I
> think its 0.7.0 version reports as 0.6.0-rc1 but I've downloaded
> installed and tested the executable from the 0.7.0 and it appears to
> simply report the wrong version can anybody comment on this?) anyway,
> I have the truth widget on my Pioneer2AT (ultimately I'm trying to get
> the true heading so I can do some evaluation) and I am just dumping
> the gz_truth_t->gz_truth_data->rot[3] out as I turn the robot to get a
> sense of what data is captured
> 
> It seems to be giving me data that is changing but I am having trouble
> interpreting it, what sort of numbers should I expect as I rotate the
> robot about the z-axis in a complete circle I presume that rot[3]
> should be giving me 0-360 (or some variant) as the documentation
> suggests that this interface reports in degrees but I am getting as (I
> rotate counter clockwise):
> 
> position      rot[3]
> 0                0.015
> 270            0.70
> 180            0.97
> 90              0.67
> 
> these scalars are fairly repeatable but sometimes they are negative
> and sometimes positive with no apparent correlation to position or
> direction of motion or number of rotations, am I supposed to interpret
>  this as a range of 0-1 mapping to 0-180 and just keep track of which
> side of 0 I'm on or am I doing something totally wrong? Finally why
> does the Euler pos field have 4 elements, what is pos[0] for? Any help
> would be appreciated.
> 
> 
> Travis
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to