Skip to content

Partial sim no Gaz

terrytaylorbonn edited this page Feb 3, 2024 · 1 revision

PART B Sim partial. For almost 2 months I have been working on (among other things) creating a proof-of-concept demo of a simulated AI drone with an onboard companion computer (CC) (and camera) that performs AI and takes over drone control mission control in the event of object recognition (in this example a human face). On 24.0131 I finally got the basic demo working. For (draft) details see

PS: Why do this? A quadcopter (drone with 4 rotors) can only be flown with the help of a flight controller (FC) that controls drone flight by (amazingly) only modifying rotor speeds. The pilot (RC, ground control station, etc.) only sends "simple" protocol commands (Mavlink) to the FC. Therefore, to test the flight commands the CC AI script sends to the FC (to ensure nothing crazy will happen in real flight), simulation is totally sufficient. The only real thing you need is the camera (the CC should also be real, but (for reasons explained in the docs) for now I am using an Ubuntu PC). The diagram below is my own.

image

PS: Why am I doing this? Because I could never find a simple demo that shows how to. And I spent a lot of time looking. Its possible that this has limited value, because the camera is not moving with the simulated drone and landscape. But I think it has value because you can test the real CC/camera early on. Note that PART A Sim all shows a demo using a sim camera on the sim drone, but I would think that this method has some big limitations (not least of which would be the sim camera/CC, which are crude approximations to the real camera/CC). In any case, this exercise is a good way to learn Mavlink (the low level communication protocol the FC uses) and how the MP (Mission Planner) / SITL work.

The following shows my home office setup (note how the tea cup is usually strategically positioned where it can do maximum damage in the event of a spill).

image

PART A Sim all. Completed in Dec 2023.

Home

Getting into the air ASAP

(0) Reference


EPIC 1 - Ziptie'd FPVs

(1) FPV simulators (inav notes 0608)

(2) SBeeF405/INAV (1a)

(3) SBeeF405/BF (1b)

(4) SBeeF405/AP (1c)


EPIC 2 - Ziptie'd Pixhawks

(5) Pix6c/PX4 (2a)

(6) Pix6c/AP (2b)


EPIC 3 - AI basic

(7) AI JNano (7.2)

(8) AI PI5 (7.1) (TODO)


EPIC 4 – AI advanced

(9) FC HITL (3)

(10) SITL (total sim) (1)

(11) FC firmware APIs (5.3)

(12) ROS ecosystem

(13) CC AI (2)


EPIC 5 – Advanced platforms

(14) Firmware dev (5)

(15) Mission platforms (6b)

(16) Special projects (5.6,5.5)



Clone this wiki locally