_pingheading
Value Type
| numeric [0-359] |
Description
When a robot is detected by another robot's radar scan, the _pingheading variable is set to the direction of the incoming radar scan. Values range from 0 to 359 inclusive. This variable corresponds to the heading of the scanning robot's radar when it called the scan command. The scanning robot's direction of movement has no affect on _pingheading.
When a robot is pinged, it can also obtain a bearing to the point where the ping intersected. The _pingbearing variable provides this information.
See Also