unl-nimbus-lab / Freyja

High-level nonlinear state-space flight control for multirotors. Freyja is suitable for vehicles that already have a stabilizing autopilot.
GNU General Public License v3.0
14 stars 9 forks source link

Sr2 publish rates #25

Open johnthelzer opened 3 months ago

johnthelzer commented 3 months ago

@ajshank Hi Ajay, The Freyja Autopilot instructions say (as per attached screenshot):

Thanks, John

Screenshot 2024-05-30 214753

ajshank commented 1 month ago

@johnthelzer Yes, this recommendation is correct; however, this is geared mostly towards indoor flights (controlled via radio modules), given that you have an alternative positioning source offboard (like mocap). Since you are interested in GPS & odometry messages, I'm guessing this is not an indoor setup - in which case, I'd recommend setting the rates for GPS and IMU messages to what you need them to be (with the understanding that these are often big packets to stream). If you only have one radio, then it is going to have to handle all of that, plus the controller's signals back to the aircraft. Hopefully you know your radio limits :)

If you describe what your setup is, perhaps my recommendation might be more targeted. And it might be worth moving this to Discussions as opposed to Issues.

Apologies for not seeing this sooner -- something's wrong with my notification settings.

johnthelzer commented 1 month ago

@ajshank All good, thanks for replying! I ended up setting GPS and odometry to normal levels and it worked; I'm using a raspi hardwired to the FMU, so that provides more bandwidth than a radio would. I actually have moved away from field testing for a while as I write a paper, but I'll open a discussion next time.

Thanks again!