Table of Contents

In this guide, you'll learn how to visualize and manipulate data from your Marty's sensors using the Sensor Dashboard.

Sensor Dashboard Example

Introduction

First connect your Marty then enter Blocks and click the Sensor Dashboard button at the top of the Blocks screen, an empty graph should 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 brightness, red, green and blue 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.

Colour Sensor List

Recording Data

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.

Conditional Start/End Events

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.

Export data/Capture graph

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!

Portable window

The Sensor Dashboard opens in a separate window within Blocks. You can resize the window by dragging its bottom corners or using the controls in the top right corner.

The Sensor Dashboard opens up as a portable window from within 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.

Sensor Dashboard Resize

Sensor Terminology

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.

Sensor Terminology

Obstacle (IR Foot) Sensor

Color Sensor

Noise Sensor

Light Sensor