In this guide, you'll learn how to visualize and manipulate data from your Marty's sensors using the Sensor Dashboard.
Once you've connected your Marty, an empty graph will be displayed on the screen. To the left, you will see a list of sensors, each of which can be expanded to reveal individual input streams. For instance, the color sensor includes Red, Green, Blue, and Clear input streams. Want more graphs? Simply click on the button in the top right corner. This will generate a new, customizable graph for you to configure with the input streams from any available sensors.
To start collecting data, pick at least one input stream and press the Play button on the bottom left of the graph. A round, black indicator will appear, signaling that you're now live-recording data! The data will plot onto the graph in real-time as it's received from Marty.
For certain input streams, you can opt to display data only when particular conditions are met. Simply select your input stream, and if it supports conditional display, a 'Start/End when' list will be available at the bottom right of the graph, showing all available conditions for that stream. Select your condition and press Play. The data will start to plot once the “Start when” condition is fulfilled.
To export your data in .csv format, click on the 'Export CSV' link on the top left side of the plot. Want to capture a screenshot of your plot? Hover over the graph and click on the 'Download plot as PNG' button that appears on the top right. Happy data visualizing!
The Sensor Dashboard opens up as a portable window from within Marty Blocks. The dimensions of this window are adjustable and can be controlled by the control buttons of the top right corner of the window, as well as the 2 bottom corner of the window.
In this section, we'll provide brief definitions of the sensors and their properties. These definitions also exist in the Help section of the Sensor Dashboard.