Please sign in to access this page

RC Robot in Rust

RC Robot in Rust

5 devlogs
14h 19m
•  Ship certified
Created by ryan

Making a line follower using the Rustlibrary I created for a prior ysws. This library allows FRC teams to use their XRP robot without the whole WPILIB framework while also teaching them Rust! It has blazingly fast performance, 100% memory safe 🚀🚀, and is very fun to use

Timeline

Convincing some frc people to learn rust through this library. They hate using Rust because of the borrow checker but they said that xrp-rs isnt that bad

Update attachment
ryan
ryan
2h 29m • over 1 year ago

For a while I have been improving the network protocol documentation, and I think its mostly finished now. There may still be some very minor errors, but I am very happy where it is now and there are not many things I can improve. If someone wanted to port it into a more popular language like python, just the readme is enough.

Update attachment

Ship 1

1 payout of shell 206.0 shells

ryan

over 1 year ago

ryan • Covers 3 devlogs and 10h 54m
ryan
ryan
2h 17m • over 1 year ago

The robotics team needs the robot for an outreach event, so I cannot try my code on the actual hardware for a while. Luckily, I recorded the communication with Wireshark a while back, so I can still continue testing some parts of my code. Right now, I tested everything that I can, and I need the robot for the rest. Hopefully I can get it back soon.

Update attachment
ryan
ryan
3h 14m • over 1 year ago

Fixed all bugs with packets and network tables. Here is a quick demo of a simple pid loop in AdvantageScope.

Update attachment
ryan
ryan
5h 22m • over 1 year ago

Removed most of the slop that came with trying to ship this quickly for #journey. Still the same robot, but now the library is mostly done, and I can actually spend time making the robot move with fancy algorithms. I also broke it with the fall