PWM Servo Feedback (I2c) icon PWM Servo Feedback (I2c) Real-time servo position input via Arduino ADC over I2C; supports Nano (6 channels) or Mega (16), configurable I2C address and scalable chaining. 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)