3.1 How to Use This Chapter

The position of RflySim3D within the RflySim simulation platform is shown in the figure below:

image-20231023084821098

CopterSim calculates the current state of the drone (primarily position and attitude data) based on motor control data received from Pixhawk (or PX4 SITL), then sends these data to RflySim3D for visualization. RflySim3D applies this data to the corresponding drone in the scene, providing an intuitive view of the drone's state.

RflySim3D uses UDP communication and accepts external commands such as switching scenes, creating UAVs, and enabling UE's built-in physics collision. Detailed command descriptions can be found in the RflySim3D interface and usage documentation. RflySim3D can receive UDP commands from CopterSim, Python, and Simulink. It also supports XML-based configuration for defining UAV types (quadrotor, hexarotor, fixed-wing, etc.), model priority in the list, aircraft names, initial position and attitude of the aircraft, and initial position and attitude of each actuator (typically rotors). Users can also define camera positions and obstacle components (such as pillars and rings) via XML.

Chapter Introduction Document

The introduction document for this chapter is located at: 🔗[Installation Directory]\RflySimAPIs\3.RflySim3DUE\Intro.pdf🔗

API Reference

The development API reference for this chapter is located at: 🔗[Installation Directory]\RflySimAPIs\3.RflySim3DUE\API.pdf🔗

PPT Courseware

The PPT courseware for this chapter is located at: 🔗[Installation Directory]\RflySimAPIs\3.RflySim3DUE\PPT.pdf🔗

All Example Files

For all examples in this chapter, see the Readme documentation located at: 🔗[Installation Directory]\RflySimAPIs\3.RflySim3DUE\Readme.pdf🔗

results matching ""

    No results matching ""