Knowledge Base

Our hands-on, comprehensive lesson plans span a range of levels. Browse our free STEM and coding learning resources.

Marty Images



Harness Tool

This test harness provides a simple way to connect to and dump outbound sensor data from Marty onto the page. You'll need the IP address of the Marty, and to be able to connect to if over port 81

See also: Simple Discovery Tool

Target:

Enter the IP address of a Marty to connect to:

ws://:81/   Connect

Battery: waiting...

Acceleration 0: waiting...
Acceleration 1: waiting...
Acceleration 2: waiting...

GPIO 0: waiting...
GPIO 1: waiting...
GPIO 2: waiting...
GPIO 3: waiting...
GPIO 4: waiting...
GPIO 5: waiting...
GPIO 6: waiting...
GPIO 7: waiting...

Motor Current 0: waiting...
Motor Current 1: waiting...
Motor Current 2: waiting...
Motor Current 3: waiting...
Motor Current 4: waiting...
Motor Current 5: waiting...
Motor Current 6: waiting...
Motor Current 7: waiting...

Chatter: waiting...

Pending requests: 0
Current time: 0.00 ms
Last time: 0.00 ms

RTT (average): 0.00 ms
RTT (std.dev): 0.00 ms

This page uses JavaScript to connect to the Marty/Rick over a websocket. You can see how this works by viewing the page source either in-browser or on GitHub.