1 / 5
Rotating XRP Rail (cheap lidar alternative) — image 1
1 / 5

Rotating XRP Rail (cheap lidar alternative)

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

Take anything that mounts on 50mm of the XRP rail and rotate it using a servo.

Rating
0 / 5
Likes
18
Downloads
60
Makes
0
Views
558
Reviews
0

Updated at source:

Model information

License
Creative Commons — Attribution — Share Alike

Rotating XRP Rail

Take anything that mounts on the rail of the XRP and rotate it using a servo. Don’t be fooled by its simplicity. This 50mm rotating XRP rail enables some cool stuff in robotics.

Get it

  • (1) 9g servo (it should come with a servo horn and screw)
  • No tools required, but a screwdriver is recommended

Print it

  • PLA
  • 0.2mm layer height
  • 15% infill
  • No supports

Build it

Step 1: Attach the servo horn to your servo.
Step 1b [optional]: Use a screwdriver to secure the horn to the servo.
Step 2: Insert the servo horn into the rail. It should snap into place.
Step 3: Insert the servo into the servo holder
Step 4: Attach the whole mechanism to your XRP

Code it

Step 1:

Download xrp_rotate_rangefinder_example.py from this Github repository and run it on your XRP using https://xrpcode.wpi.edu/ . Push the “USER” button to sweep the ultrasonic sensor.

Step 2:

Copy your data array from the terminal and paste it into plot_rangefinder_data.py from this Github repository. Run it on a machine with matplotlib installed, or run it online here (paste the code on the left side, and then click the Preview button on the top left).

Here’s a real example of what a room looks like to an ultrasonic sensor:

Teach it

This rotating rail gives you more sensor data per robot pose so you can teach more about robotics with just dead reckoning.

Lesson ideas:

  • Effects of material properties on different kinds of sensors
  • Coordinate frames and transformations
  • Occupancy grids and uncertainty
  • Probability
  • Visualizing data with matplotlib

Project ideas:

History

  • V1: initial release

Tags