Dual Hbridge W/PWM icon Dual Hbridge W/PWM Dual H-Bridge w/PWM movement panel: control two DC motors' direction and speed via EZ-B PWM for responsive forward/reverse/turning. 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)