How can I know if robots are seeing each other?
I have two robots in navigation in gazebo simulation. How can I find out if they are facing each other, or the direction they are looking at? I tried looking at /odom and orientation.w because thats the only thing that changed when I rotate one robot...
Asked by topkek on 2018-10-06 08:45:54 UTC
Comments
If you just want to know the direction they're facing then orientation is correct (keep it mind it is in quaternion format). Whether they can see each other depends on how you define "see" (i.e., what is the robots field of view), but ultimately would just be pretty simple geometry.
Asked by stevejp on 2018-10-06 11:11:56 UTC