Sample code

Is there any sample code for the XRP? Just simple snips of sampling the acoustic sensor and driving the motors and servo?

Sure - hop over to https://xrpcode.wpi.edu/ and connect your XRP via usb :smiley:
(here’s the main XRP page too Get Started - Experiential Robotics)

That no work! haha no i tried to get the sample code online to just copy paste into the IDE but that isnt working? HELP ME

Try following along with the guide I linked above…it uses its own IDE (looks like a webpage)

When you connect to XRPCode, there is a folder called “XRPExamples” with a handful of examples to help you get started.

There’s also a lot of helpful information on the XRP User Guide site: Introduction — XRP 2023.0 documentation

2 Likes