Visual Programming of Offboard Mode with PX4 v1.15

Dennis Baldwin Guide 1 years ago

Description

I wanted to share some work we've been doing to make DEXI and PX4 programming easier with a visual approach using Node-RED. You can learn more about DEXI here:

https://droneblocks.io/program/dexi-5-px4-stem-drone-kit/

To follow along with this tutorial you will need PX4 SITL running. You can run your own version or feel free to use our Docker Hub image from here:

https://hub.docker.com/r/droneblocks/dexi-px4-sitl

For the Node-RED container I recommend using our pre-built image with the DEXI nodes for PX4 already installed. Details can be found in the README here:

https://github.com/droneblocks/node-red-dexi

Be sure to clone the repo and then run the docker run command in the section titled "Node RED flow development for DEXI".

You will want to import the flow from this video which will be in the "flows" folder of the cloned repo. The json file is called px4_offboard_flow.json and is linked here for reference:

https://github.com/DroneBlocks/node-red-dexi/blob/main/flows/px4_offboard_flow.json

Please give it a try and let me know what you think. If you have any questions or concerns please leave a comment. Thanks for following along and I hope you enjoy!

#px4 #dexi #drone #stemeducation #coding #programming