Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.42 KB

gps_simu.md

File metadata and controls

51 lines (34 loc) · 1.42 KB

GPS Simulation

Parameters selection

To perform the simulation with GPS you need first to setup the PX4 parameters in QGroundControl. You can load the parameters for the GPS simulation by opening QGroundControl and loading the parameters present in the folder QGround_parameters. In particular, you can load:

Simulations

Depending of the type of simulation that you want to perform, you need to setup the enviromnet following in different ways:

C++ simulation

Start the simulation, you can choose two different control strategy:

  • point target:

    cd ~/PX4-mini-drone
    ./gps/gps_cpp/run_point.sh
  • velocity target:

    cd ~/PX4-mini-drone
    ./gps/gps_cpp/run_vel.sh

Python simulation

  • point target:

    cd ~/PX4-mini-drone
    ./gps/gps_cpp/run_point.sh
  • velocity target:

    cd ~/PX4-mini-drone
    ./gps/gps_cpp/run_vel.sh