BradenEverson / earthmover

Embedded RL with modular rewards based on peripherals and a simulation server for deciding best actions
MIT License
4 stars 2 forks source link

jetson-orin-nano-sys #3

Open BradenEverson opened 2 months ago

BradenEverson commented 2 months ago

We need a good way of interfacing with the Jetson Orin Nano's peripherals and pins. There exists a similar crate for generic Jetsons jetson-gpio, but I think its best if we build this from the ground up as a separate crate for the community.

For this, we must document the ways we can access pins on the Nano, possibly just starting with gpio pins and moving our way to i2c and others later on. Once documented, we can create a simple example program in C or Python to prove that this method works before wrapping the C code in Rust of making direct calls. Once we understand this, a wrapper crate should be made to simplify this behavior.

christianzastrow commented 2 months ago

Hello, I would love to help out!

BradenEverson commented 2 months ago

Due: 9/20/2024

christianzastrow commented 2 months ago

Using Rubber Razer's GPIO library, I am able to use the GPIO pins. Currently still testing things like PWM, etc. Hope to make a wrapper for it soon.