1. What is RflySim?
RflySim Automated Design and Development Toolchain for Intelligent Unmanned Cluster Systems (RflySim Toolchain, RflySim Toolchain). It is a professional, free and open development toolchain created by RflySim Labs in conjunction with Beihang+Central South team, which provides a full-process automation solution for unmanned systems from algorithm development, to hardware-in-the-loop simulation, and then to real-aircraft deployment experiments. The toolchain adopts the model-based (MBD) design concept and is based on software systems such as PX4, MATLAB/Simulink and ROS, as well as relevant intelligent hardware, and can carry out (not limited to) simulation and hands-on exercises in the fields of unmanned intelligence control, clustering, vision, and so on. When researching for the above problems, unmanned system modeling, controller design, software-in-the-loop simulation (SIL), and hardware-in-the-loop simulation (HIL) can be carried out, and through the automatic code generation technology of MATLAB/Simulink, the controller can be conveniently automatically downloaded into the hardware for HIL simulation and actual flight testing, realizing a seamless transition from simulation to real aircraft (Sim2Real)。 🔗See link for details 🔗
2.Supporting teaching materials
Textbook title | Purchase link | Video Course | Supporting Resources |
---|---|---|---|
《Design and Control of Multi-rotor Aircraft》 | Design and Control of Multi-rotor Aircraft | URL | |
《Multi-rotor aircraft design and control practices》 | Multi-rotor aircraft design and control practices | URL | |
《Multi-rotor aircraft: from principle to practices》 | Multi-rotor aircraft: from principle to practices | URL | |
《Remote Control Practice of Multi-rotor UAV》 | Remote Control Practice of Multi-rotor UAV | URL | |
《Micro-Small Fixed-Wing UAV Control: Design and Practice》 | None | None |
3.Video Replay of Fischer Labs RflySim-2024 Summer Public Training
4. Version division
The current public and free version of RflySim tool chain has been able to meet the vast majority of unmanned system development functions, for more complex customized functions (mainly distributed multi-machine simulation, UE5 engine support, the latest PX4 firmware, etc.) Feiss Lab also provides paid function packages and project customization services, please consult: service@rflysim.com
For more differences between versions, see: ○ Version differences ○
5. Teaching aid purchase
Phase One Labs official Taobao store has been officially launched! We will regularly put on shelves supporting software and hardware products or teaching aids developed around unmanned systems. The products that have been launched so far include: HIL Set、Unmanned system vehicle dynamic model package, unmanned system visual display asset package, etc., store link: https://rflysim.taobao.com/
6. Features
The advanced and customized versions of RflySim platform have the following features:
Unity。 The whole research framework is extended to all unmanned control systems, forming a standard automatic development, test and evaluation framework system;
High reduction degree of UAV physical characteristics simulation。 Its developers are all UAV research teams with rich experience in UAV research;
Ease of use。 One-key installation, one-key code generation, one-key firmware deployment, one-key software and hardware in the loop simulation and fast flight are carried out under the Windows platform, which is very convenient and easy to use. Users do not need to understand the underlying knowledge of flight control source code, Linux programming, C/C + + programming, network communication, aircraft assembly, etc. They only need to have basic Simulink (or Python) knowledge to quickly verify their algorithms and apply them to the real machine, which is helpful to focus more on the development and testing of algorithms.
Fully distributed architecture。 All application software can be opened on the same or multiple computers, and each application can send and receive messages to and from each other through the UDP network, so the distributed architecture is very suitable for large-scale UAV cluster simulation test with vision;
Support simulation of multiple models。 Support car, fixed-wing, vertical take-off and landing aircraft (VTOL) and other models. Users can build a rack model in Simulink according to the standard interface, and then automatically generate DLL files for HIL simulation. Further, the experimental platform can be extended to any unmanned system;
Support large-scale UAV cluster SIL/HIL simulation。 Under the same LAN, developers can use CopterSim to connect multiple Pixhawks for hardware or software in-loop simulation. At the same time, Simulink or C + + program can be used to control the aircraft, and the control commands will be sent to Pixhawk by Mavlink protocol through serial port (data transmission) or network (WIFI);
Provide highly realistic 3D view。 Provide source code and tutorials to help developers build highly realistic 3D scenes in Unreal Engine (UE) for indoor and outdoor environment simulation or development based on visual algorithms; Scenes support physical collision engine, global terrain and map, OSGB + Cesium oblique photography visual map import, custom GPS coordinates, arbitrary multi-window switching observation, RGB, depth, grayscale, IMU, lidar and other sensor data output, support shared memory or UDP image direct transmission to designated IP address. And can be use for hardware-in-the-loop SLAM simulation of an airborne computer.
Support for vision-based control。 The 3D scene platform based on UE also supports the view switching function, so that the image data of multiple views can be obtained conveniently. It also supports real-time acquisition and processing of image data in Simulink, Python, C/C + + and other code platforms through shared memory, and the processed visual data can be returned to CopterSim or Simulink control through UDP to form a hardware-in-the-loop simulation closed loop with vision.
Support multiple fault injection。 The fault types that can be realized include model fault, communication fault and environment fault.