Measure rate of rotation
Simulink® Support Package for LEGO® MINDSTORMS® EV3 Hardware
Measure the rotation of the EV3 Gyro Sensor in degrees per second.
The block output emits values as int32.
During simulations without hardware, this block emits zeros. See Block Produces Zeros or Does Nothing in Simulation.
- EV3 brick input port
Select the EV3 sensor port to which the sensor is connected. Avoid assigning multiple devices to the same port. The options are
- Sample time
Specify how often the block reads sensor values.
Smaller values require the processor to complete the same number of instructions in less time, which can cause task overruns.