Using Device Info for Troubleshooting your 123 Robot
It can be helpful to understand the values that the built-in sensors in the 123 Robot are reporting, so that you can better understand how and why your robot's behaviors occur in a project. Within the Classroom App, the Device Info section can be used to see a visual representation of your 123 Robot's sensor data. Device info will show the 123 Robot's sensor values that are being reported in real time, so that you can use that information to help you better understand your robot's functionality, and have an additional troubleshooting tool to use if you suspect something is not working as expected.
To view a robot's device info, first select the 123 Robot you wish to view, then select 'Show Device Info'.
Eye Sensor Information
With the Device Info open, the first sensor showing data is the Eye Sensor. The Eye Sensor reports the brightness of ambient light, the color the sensor is detecting (red, blue, green, or N/A), the hue value being detected in degrees, and the proximity of the object being detected (near or far).
This information can be used to see what the 123 Robot is detecting, so that you can make adjustments if necessary to achieve a desired behavior, like changing the ambient light in the room, or the color of the object you are trying to detect.
Light Sensor Information
The next sensor reporting is the Light Sensor, on the bottom of the 123 Robot. The Light Sensor reports a value of light or dark based on what value it detects on the floor beneath the 123 Robot.
This information can be useful when coding your 123 Robot to do things like line tracking activities, to make the robot follow a 'dark' or 'light' path based on this sensor's data.
Inertial Sensor Information
The built-in Inertial Sensor reports two sets of data – the first is the acceleration on the X, Y, and Z axes. Even when the 123 Robot is sitting still, these values will appear to be continually fluctuating. This is an expected behavior when the Inertial Sensor is functioning properly, as it is reporting values based on the forces acting on the robot, including gravity.
The built-in Inertial Sensor also reports the pitch, roll, and yaw of the 123 Robot. These values change based on how the 123 Robot is being rotated in three dimensional space. When the 123 Robot is sitting still, the pitch and roll should report 0 degrees. The yaw value may change depending on the direction the 123 Robot is turned towards.
This information can be useful to learn more about how or why your 123 Robot drives and turns accurately. You can move the 123 Robot by hand, and watch how these values change, to see how the Inertial Sensor is reporting data.
Hide Device Info
To close the Device Info, select 'Hide Device Info'.
To learn more about how to use the Device Info in the Classroom App with your VEX Coder, see this article.