Programming Motor Telemetry
Last updated
Last updated
Recall that telemetry is the process of collecting and transmitting data. There is a lot of useful information our motors could send back to us, but to start let's have it output the power based on the joystick's movement.
Similar to what we did for our servo program, let's add a block from the telemetry menu to the end of our loop:
Change the key parameter to "Motor Power"
When the OpMode is run the telemetry block will display the current power based on the joysticks movement. Give it a try!
From the DcMotor menu pullout the block . Drag the block and attach it to the number parameter on the telemetry blocks.