ARIA-Users

Date Index Thread Index

Re: [Aria-users] Difference between robot.getTh() and robot.getCompass()



The robot's x, y, th start at 0 0 0, all further poses are referenced 
from there.  Its essentially local coordinates relative to where the 
robot started unless you have localization running.  robot.getCompass() 
would be getting the heading of the compass, which would be a more 
global heading... note that most robots don't have compasses.

I don't know if MobileSim has a compass setup or not.  The real robot it 
depends on if there is one installed (again most robots do not have a 
compass).

Matt

wjxnet_126 wrote:
>  hello, could you tell me the diffence between robot.getTh() and robot.getCompass(). Are the the same in MobileSim, what 
>  
> about on real robot? Thanks!
>  
>  
> Jianxin Wu
>  
>  
>