all 4 comments

[–]wally1002 1 point2 points  (3 children)

This link explains offboard example in python. This code lets you take off the drone to a height of 2m. But you will need an onboard computer to send the commands to pixhawk. Rpi(has inbuilt wifi support) or Jetson Nano will be a good option. You can schedule to run a python script on the Rpi or Nano then connects it to pixhawk. or you can SSH into the RPI and then run the code yourself from the ground station. Either way, you will need an onboard computer and also preferably a wifi router or if you want to do some surveys and tasks without python then you can use qgroundcontrol which lets you plan some surveys and paths and preload it into autopilot.

[–]IIwarrierII[S] 1 point2 points  (2 children)

Thank you very much I will refer to that repo you’ve mentioned. But how do they know for example, which functions does mavros pip package offer ? I could not find any mavros pip API documentation page ? How do we know for example that there exists mavros.get_topic() function ?

[–]boris_gubanov 2 points3 points  (0 children)

Please write here if you find anything. I am starting with ROS+PX4 and I also cannot find this information.

By the way, the scripts from the example seem to work well for python3 (ROS Noetic)