Sharp IR Collision icon Sharp IR Collision Stops movement panels when a Sharp IR sensor on EZB ADC detects objects within a set range; displays ADC voltage, VU meter and 0-255 distance value. Try it →
 

Updatescan

updateScan(distance, confidence, degree)

Parameters

distance the distance in CM of the detected obstacle
confidence the confidence (0-255) of the detected obstacle
degree the degree (0-359) of the obstacle

Description

Programmatically send the detected obstacle distance based on the current cartesian coordinate of the robot to the NMS (navigation messaging system)