Hi. I would like to run code on Rpi when using BlueOS. Where i write the codes and execute?
Hi @erkamtb -
You can either develop an extension, or take the red-pill and run code directly as the root user, or use the visualStudio or jupyter notebook extensions. It would be helpful to know more about what you want your code to accomplish!
It is for autopilot and for doing some servo movements when some sensor inputs change.
Hi @erkamtb -
Writing a lua script to accomplish your goals may be far faster and easier! There are some relevant threads here on the forum, and I’ve been keeping useful scripts here. The official examples are also helpful!
Basically this code lives in a specific place, and is run fresh with every autopilot restart. It can read values the autopilot has access too, and log things, control outputs, and react to user control of the vehicle, or take actions in some scenarios.
Thank you so much. I’ll look at those. Do you have any thing other for my other post?