PX4 Sync / Q&A: Mar 19, 2025
Dronecode Calendar
Agenda
Announcements
Future Events
Flight Testing Update
Release Discussion
Bug Report / Q&A
Announcements
Next Dronecode Meetup
Philadelphia, Pennsylvania, USA
Future Events
Flight Testing Update
The team at Ascend Engineering (Chicago). are running flight testing for the community.
How to reach out to the team
GitHub: Tag user @PX4 /testflights
Discord: #flight-testing
Weekly on the PX4 Dev Call
How to Request Testing (GitHub)
Write down the steps to test your issue/pull request
Make sure to note the risk involved in flying
Write down things to look out for / anticipate - eg: “we are looking for no yaw jumps”
Add issue/pull request to the Flight Testing project board
Make sure to specify any hardware/software requirements as much as possible
Resources:
Comments / Discussion:
Release Discussion / Updates
v1.16 Release Discussion
Release tag is just cut! GitHub - PX4/PX4-Autopilot at v1.16.0-beta1 · GitHub
Fixed Wing known blockers: Currently no issues!
Multi Copter known blockers:
Rover Blockers: Automated testing in CI maybe needed to consider it as a part of the release.
Optical Flow:
Simulation known blockers:
Resources
Bug report / Q&A
PRs for Review
Sindre
March 19, 2025, 2:34pm
2
Is it possible to discuss what the optimal way to add TensorFlow Lite Micro as a library in PX4 is? I might be able to attend from mobile, but if not any help is much appreciated!
main ← SindreMHegre:neural_control_with_tflm
opened 12:23PM - 19 Feb 25 UTC
### Solved Problem
Using neural networks for various tasks on UAVs in research … is becoming more and more commonplace. My aim is to provide a module that can be used to replace the MC controller with NN to lower the barrier for using RL and NN on UAVs in general, and give researchers and hobbyist a place to start for NN use.
### Solution
- Add TensorFlow Lite Micro as an inference lib into PX4
- Make custom board configs with neural controllers
- Make a module for NN control
### Changelog Entry
For release notes:
```
Feature/Bugfix XYZ
New parameter: XYZ_Z
Documentation: Need to clarify page ... / done, read docs.px4.io/...
```
### Alternatives
We could also look into using Eigen or executorch
### Test coverage
- Built and tested SITL with the x500
https://review.px4.io/plot_app?log=52502d02-009e-4d1f-baac-a49dd51cfdef (check neural_control topic)
- Built and tested HITL with pixracerpro and jMAVSim Hitl, note that the sim itself seemed a bit unstable and the network is not optimized for this model.
https://review.px4.io/plot_app?log=43d2ba6c-3d05-4d7f-a31b-490a57b3e647
- Plan on testing on the x500 v2 kit with the 6C
### Context
Help:
- I'm not very experienced with CMakeLists.txt, so any pointers in how to improve the code quality there is much appreciated.
- Also for the TFLM submodule, should I make a PX4 branch for it? With the dependencies already downloaded and the standard c++ header files extracted. Should it be on a fork or try to get it upstream?
Other feature requests:
- Put in different controller parameters with possibilities to replace different parts: Full e2e, only control, only allocation, Allocation and control as two separate networks.
- Script to give thrust and delay parameters from a flight log
Info:
The networks I'm flying with right now is not mine and is being used for research, so they will be open sourced at some point, but can't give them away at the moment
Inference times on the pixracer pro:
control net: 70 microseconds
allocation net: 13 microseconds
Full NN controller: 141 microseconds
Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.
1 Like
Could we discuss the default config for SF45?
main ← pr-v6xrt-sf45
opened 04:05PM - 17 Mar 25 UTC
#24467 Enables SF45 in the V6X-RT builds however the SF45 enables itself by defa… ult.
https://github.com/PX4/PX4-Autopilot/blob/9fc9fb56d17908bc00588db70ff33f0257cec8d6/src/drivers/distance_sensor/lightware_sf45_serial/module.yaml#L5-L7
This PR makes sure that by default we don't start the SF45 on TELEM2 by default on the V6XRT.
Another option would be changing the default in the `lightware_sf45_serial/module.yaml`
And can we update the CI containers?
master ← pr-lark
opened 07:33PM - 11 Mar 25 UTC
Needed for rosidl to parse idl files and generate RIHS01 hashes
Needed for
P… X4/PX4-Autopilot#24476
1 Like
Can we talk about this PR?
main ← patrikpordi:Encryption
opened 09:44PM - 11 Mar 25 UTC
### Solved Problem
Making creating encrypted board files and then log download … and decryption easier
### Solution
Creating scripts to generate keys, dowload the logs and then decrypt them
### Context
Refer to README.md
@PetervdPerk-NXP My appologies, I did not notice these. We got carried away by other stuff. How can we follow up on this?
For the SF45, I wanted to discuss whether it’s logical that the yaml enables itself by default.
src/drivers/distance_sensor/lightware_sf45_serial/module.yaml
For the container one, I wanted to ping @rroche but he wasn’t in the call anyhow.
1 Like