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