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
