MPU6050 Accelerometer Gyro Temperature icon MPU6050 Accelerometer Gyro Temperature — Reads MPU6050 gyro, accelerometer and temperature via I2C, initializes and returns data on-demand to EZ-Script variables using ControlCommand RunOnce 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).