I’m writing a dronekit flight script, and want to import a custom library. Where are dronekit libraries like “import”, “connect”, “VehicleMode”, and other general libraries like “time”, “argparse”, etc. saved in the Ubuntu environment?
Is it:
/usr/local/lib/python2.7/dist-packages ?
Or does it depend on how everything was downloaded. Do I need to make any changes in my bashrc so the drone knows where to access libraries from?
Similarly, if I wanted to import a new library to my actual Raspberry Pi drone, where would be the best spot to save it in the Pi? Would it have to be downloaded from github?
Thanks for any help, this is all relatively new for me.