Difference between revisions of "Day 1"

From Bambi
Jump to: navigation, search
(Guide for PX4 SITL + Gazebo)
 
Line 10: Line 10:
 
# <code>make posix_sitl_default gazebo</code> executed in <code>~/src/Firmware</code> launches gazebo and px4 sitl with the default iris model
 
# <code>make posix_sitl_default gazebo</code> executed in <code>~/src/Firmware</code> launches gazebo and px4 sitl with the default iris model
 
# Init script for px4 console which configures also mavlink, is found under <code>%Firmware%/posix-configs/SITL/init/ekf2/iris</code>
 
# Init script for px4 console which configures also mavlink, is found under <code>%Firmware%/posix-configs/SITL/init/ekf2/iris</code>
 +
 +
== Gazebo World ==
 +
 +
Followed the following tutorial to get a simple gazebo world with 2D ground plane image. [http://gazebosim.org/tutorials?tut=static_map_plugin&cat=build_world http://gazebosim.org/tutorials?tut=static_map_plugin&cat=build_world]

Latest revision as of 19:03, 4 August 2018

Focus: Simulation Setup

Installation of ROS Kinetic + Gazebo was already done (apt **-full**)


Guide for PX4 SITL + Gazebo

  1. We used this script https://dev.px4.io/en/setup/dev_env_linux.html#gazebo-with-ros, paying attention on not redoing stuff already done and changing the catkin workspace to our project directory.
  2. QtCreator: we used https://dev.px4.io/en/setup/building_px4.html#qt-creator-on-linux that checkout needed gazebo sitl files
  3. make posix_sitl_default gazebo executed in ~/src/Firmware launches gazebo and px4 sitl with the default iris model
  4. Init script for px4 console which configures also mavlink, is found under %Firmware%/posix-configs/SITL/init/ekf2/iris

Gazebo World

Followed the following tutorial to get a simple gazebo world with 2D ground plane image. http://gazebosim.org/tutorials?tut=static_map_plugin&cat=build_world