Based on tips for tuning PX4 PID parameters written in my previous post [1] or even using the default values directly, you will be able to fly your vehicle freely in manual or stabilized flight mode. However, if you are using an unique vehicle (usually assembly by yourself and only equipped with sensors you desire) and struggling for finding the best PID parameters for your applications. I think following 8 tips will help you to get ideal PID parameters. This is the vehicle I made based on LHI QAV250 fiber frame, with TX2, high-speed camera, etc.[2] Tip1: Tuning order: Rate controller -> attitude controller -> position controller The PX4 controllers are layered [3], which means a higher-level controller passes its results to a lower-level controller. Thus the PID tuning needs to be done from lowest-level controller to highest-level controller. Tip2: Check if PWM_MIN is set correctly. Remove propellers Arm the vehic...
1. Download the pixhawk support package [1] 2. Open MATLAB R2017b and navigate to the file location. 3. Click "PX4PSP_v3_0_4_351_R2017b" and install it 4. Create a folder for firmware download path (ex: D/PX4) 5. Setting bash environment for windows 10 [2] (1) Active "Windows subsystem for linux" (2) Download and install Ubuntu (3) Using the terminal like in Ubuntu environment ex: 6. Install all necessary toolchain with " windows_bash_nuttx.sh " [3] or using Cygwin Toolchian [4] or [5] (python27 would show in following folder) 7. Key in command " PixhawkPSP(' D:\PX4 ') " in the Matlab 8. Make sure windows 10 bash and python path are correct => Validate paths 9. Download firmware to the folder we specify before and then validate firmware. 10. Selecting cmake configuration [6] 11. Build firmware *Error: make command not found Solution: [7] T...
Basic Architecture and Concepts Feature ROS1 ROS2 Communication Middleware Custom TCPROS/UDPROS DDS (Data Distribution Service) Master Node Required ( roscore ) No master needed (distributed discovery) Operating Systems Primary: Ubuntu Linux Limited: Windows, macOS Full support for Linux, Windows, macOS Real-time Support Limited Improved with DDS and QoS policies Multi-robot Systems Requires network configuration Native multi-domain support Security Limited Built-in security with DDS (authentication, encryption) Scalability Limited by single master Improved with distributed architecture Package Management and Creation Feature ROS1 ROS2 Package Creation Command catkin_create_pkg <pkg_name> [dependencies] ros2 pkg create --build-type ament_cmake/ament_python <pkg_nam...
留言
張貼留言