Quadrotor control with Error-State LQR method
M. Farrell, J. Jackson, J. Nielsen, C. Bidstrup and T. McLain, "Error-State LQR Control of a Multirotor UAV," 2019 International Conference on Unmanned Aircraft Systems (ICUAS), Atlanta, GA, USA, 2019, pp. 704-711, doi: 10.1109/ICUAS.2019.8798359. (https://ieeexplore.ieee.org/document/8798359)
Follow the instructions as shown in the ROS with Gazebo Simulation PX4 Documentation To check if the necessary environment is setup correctly, you can run the gazebo SITL using the following command
cd PX4-Autopilot
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo
cd launch
roslaunch mavros_posix_sitl.launch
roslaunch traj_server.launch
The scale factor does not have a negative sign.(I don't know which piece of code is written incorrectly):sob: