jkelleyrtp / dw1000-rs

Rust driver crate for the Decawave DW1000 UWB transceiver
47 stars 11 forks source link

Many new features #134

Closed diondokter closed 3 years ago

diondokter commented 3 years ago

Closes #133

Note: Throughout the commits you may see some stuff about SPI delays and stuff. All of that was taken out in the end. My SPI just wasn't set up properly, so I had some problems I could mask with setting some delays.

hannobraun commented 3 years ago

Thank you, @diondokter! I'll try to take a look next week, but it might be a bit later (coming back from vacation next week, and there's a backlog to catch up on).

diondokter commented 3 years ago

Don't worry! This stuff is more than half a year old, so one or more weeks won't make a difference :)

diondokter commented 3 years ago

~Ah right! Didn't test that. I'll try to find a bit of time to fix the examples.~ Edit: Oh never mind, you did it already :P

hannobraun commented 3 years ago

Turns out the example were pretty trivial to fix. I pushed a commit that does it. I didn't test that they actually work, for lack of time. I'll do that later (need to do it anyway for #135).

I'm going to merge this now. Having such a large pull request sit open for too long won't help anyone. Thanks again, @diondokter!

diondokter commented 3 years ago

Thank you as well! Learned a lot by working on this repo. I even made a crate that helps with register definitions based on the ideas this repo has. https://crates.io/crates/device-driver It needs more love though...

This is a good driver that helped me quickly develop my system. Thanks!