Increased by one when a call to scan detects another robot. This variable triggers the section registered by the regdtcrobot command to handle robot detection events. Detection indicators are mutually exclusive. When _dtcrobot is greater than zero all other detection variables will be zero.
This variable is decreased by one automatically when the robot detection event handler completes. The _dtcrobot variable can also be manually reset to zero with the clear command. If no section has been registered to handle robot detection events and the clear command is not used, _dtcrobot will continue to increase until a different obstacle type is detected.
When a robot detects another robot the detection variables _dtcbearing, _dtcenergy, _dtcheading, _dtcid, and _dtcteamid contain additional information.
regdtcrobot, clear, _dtcbearing, _dtcenergy, _dtcheading, _dtcid, _dtcteamid