{"id":71646,"date":"2026-11-13T13:21:17","date_gmt":"2026-11-13T12:21:17","guid":{"rendered":"https:\/\/www.inovex.de\/?p=71646"},"modified":"2026-11-13T13:21:17","modified_gmt":"2026-11-13T12:21:17","slug":"drone-simulation-with-px4-flying-without-crashing","status":"publish","type":"post","link":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/","title":{"rendered":"Drone simulation with PX4: Flying without crashing"},"content":{"rendered":"<p>A drone intended to fly autonomously in an indoor space without GPS reception must determine its own location. A drone simulation using PX4 addresses precisely this challenge: a hexacopter navigates through a virtual warehouse, mapping the environment using LiDAR\u2014all without the need for any physical hardware to take flight.<\/p>\n<p>Outdoors, satellite signals handle localization. Indoors, however, these signals are unavailable, forcing the drone to orient itself solely based on its surroundings. Developing such systems using actual hardware is both costly and risky, as every crash incurs expenses and consumes time. In a simulation, by contrast, the same experiment can be repeated as often as necessary under identical conditions\u2014and the entire system can run on a standard laptop.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">Ein Hexacopter navigiert per LiDAR-SLAM durch die simulierte Lagerhalle \u201eJetty World&quot; (Gazebo Harmonic).<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#The-Simulation-Environment\" >The Simulation Environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#How-the-drone-is-constructed\" >How the drone is constructed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#Point-Clouds-and-the-Map\" >Point Clouds and the Map<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#What-the-drone-simulation-with-PX4-achieves\" >What the drone simulation with PX4 achieves<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#Code-and-Tools\" >Code and Tools<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"The-Simulation-Environment\"><\/span>The Simulation Environment<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The environment consists of three programs working in tandem:<\/p>\n<p>PX4 serves as the autopilot. It keeps the drone stable in the air and controls its six motors. Crucially, it runs the exact same software that will later be used on a real drone; the system cannot distinguish whether its sensor data originates from the simulation or from actual hardware. This allows for a seamless transition of the system onto a physical drone.<\/p>\n<p>Gazebo represents the simulated world. It calculates the physics\u2014determining how the drone responds to thrust and gravity\u2014and generates sensor data from the LiDAR, orientation sensors, and cameras. This data is intentionally imperfect: Gazebo introduces realistic noise into the measurements, ensuring that the test yields meaningful results rather than relying on idealized, unrealistic data.<\/p>\n<p>ROS 2 acts as the connective tissue. It executes custom programs and ensures that sensor data is delivered exactly where it is needed.<\/p>\n<p>&nbsp;<\/p>\n<div>\n<dl id=\"attachment_68224\">\n<dt>\n<p><figure style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/IMG-20260630-WA0007-300x223.jpg\" alt=\"Jetty World warehouse in the Gazebo drone simulation, featuring shelving units and containers\" width=\"300\" height=\"223\" \/><figcaption class=\"wp-caption-text\">The &#8220;Jetty World&#8221; warehouse in Gazebo. Walls, shelves, and containers provide the LiDAR with enough structure for mapping.<\/figcaption><\/figure><\/dt>\n<\/dl>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"How-the-drone-is-constructed\"><\/span>How the drone is constructed<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The simulated drone is a hexacopter\u2014a multicopter with six rotors. It weighs two kilograms and is modeled after an actual drone from Offenburg University of Applied Sciences.<\/p>\n<p>The six rotors are arranged in a star pattern around the center. Three rotate clockwise, while the other three rotate in the opposite direction. This is no coincidence: every rotating rotor generates a counter-torque, and only when these torques cancel each other out can the drone avoid spinning uncontrollably on its own axis. The PX4 system knows the position and direction of rotation for each motor and distributes the required thrust across all six accordingly.<\/p>\n<p>Two sensors are essential for mapping. A LiDAR system scans the surroundings using 16 stacked laser planes, generating a point cloud ten times per second. An inertial measurement unit (IMU) records acceleration and rotational rates 250 times per second. There is also an onboard camera, though it is not used for the mapping process.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/IMG-20260630-WA0008-300x229.jpg\" alt=\"Reale Hexacopter-Drohne der Hochschule Offenburg neben dem Simulationsmodell mit LiDAR\" width=\"300\" height=\"229\" \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/IMG-20260630-WA0005-300x231.jpg\" alt=\"Reale Hexacopter-Drohne der Hochschule Offenburg neben dem Simulationsmodell mit LiDAR\" width=\"300\" height=\"231\" \/><\/p>\n<p>The actual reference drone from Offenburg University of Applied Sciences (left) and the replicated simulation model (right). The main difference is the LiDAR sensor, which is already mounted on the simulation model.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Point-Clouds-and-the-Map\"><\/span>Point Clouds and the Map<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A point cloud is a collection of measured points in space. With each rotation, the LiDAR sensor emits laser beams in all directions, measuring the distance to the nearest surface. By combining 16 planes with 360 measurements each, the system generates approximately 5,760 points per scan, which outline walls, shelves, and containers.<\/p>\n<p>The drone uses these scans to construct its map. This process is known as SLAM (Simultaneous Localization and Mapping), as the drone localizes itself while simultaneously mapping its environment. Relying solely on an inertial measurement unit (IMU) or position sensor would cause the drone\u2019s estimated position to drift over time, as small measurement errors accumulate. To counter this, the drone compares each new LiDAR scan against the data already collected, continuously correcting its position. In this way, a coherent point-cloud map of the hall is built piece by piece as the drone flies.<\/p>\n<p>Specifically, the system employs RKO-LIO\u2014an open-source method developed by the University of Bonn\u2019s Photogrammetry &amp; Robotics Lab. It functions effectively across a wide variety of vehicles using a single set of parameters, requiring no complex fine-tuning. This aligns with the ultimate goal: to deploy the system on actual hardware later with minimal effort.<\/p>\n<p>&nbsp;<\/p>\n<div>\n<dl id=\"attachment_68228\">\n<dt>\n<p><figure style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/IMG-20260630-WA0006-300x179.jpg\" alt=\"LiDAR-Punktwolke der Lagerhalle aus der Drohnensimulation mit PX4\" width=\"300\" height=\"179\" \/><figcaption class=\"wp-caption-text\">Die Punktwolkenkarte, die w\u00e4hrend des Flugs entsteht. Die Drohne ist als Zylinder mit Spitze in Blickrichtung dargestellt.<\/figcaption><\/figure><\/dt>\n<\/dl>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"What-the-drone-simulation-with-PX4-achieves\"><\/span>What the drone simulation with PX4 achieves<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>During the test, the entire system chain functioned as intended. The drone could be steered in any direction, all sensor data was received reliably, and the map was generated accurately in sync with the drone&#8217;s movement. This demonstrates that getting started with autonomous drones does not require expensive hardware. A laptop and a few open-source software components are sufficient to fly a drone through a hall while observing the mapping process in real time.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Code-and-Tools\"><\/span>Code and Tools<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The complete project code is available as open source on GitHub: <a href=\"https:\/\/github.com\/TheKnightOfLuck\/drohne-px4\">khttps:\/\/github.com\/TheKnightOfLuck\/drohne-px4<\/a><\/p>\n<p>Open-source components used: PX4 (<a href=\"https:\/\/px4.io\">https:\/\/px4.io<\/a>), Gazebo (<a href=\"https:\/\/gazebosim.org\">https:\/\/gazebosim.org<\/a>), ROS 2 (<a href=\"https:\/\/docs.ros.org\">https:\/\/docs.ros.org<\/a>), and RKO-LIO from the Photogrammetry &amp; Robotics Lab at the University of Bonn (<a href=\"https:\/\/github.com\/PRBonn\/rko_lio\">https:\/\/github.com\/PRBonn\/rko_lio<\/a>).<\/p>\n<p>&nbsp;<\/p>\n<p><em>This blog post was created as part of an academic project.<\/em><\/p>\n<p><em>Offenburg University of Applied Sciences<\/em><\/p>\n<p><em>Thesis title: &#8220;Evaluation and Implementation of Flight Control Software for Fully Autonomous Drones&#8221;<\/em><\/p>\n<p><em>Timeframe: October 1, 2025 \u2013 June 1, 2026<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A drone intended to fly autonomously in an indoor space without GPS reception must determine its own location. A drone simulation using PX4 addresses precisely this challenge: a hexacopter navigates through a virtual warehouse, mapping the environment using LiDAR\u2014all without the need for any physical hardware to take flight. Outdoors, satellite signals handle localization. Indoors, [&hellip;]<\/p>\n","protected":false},"author":455,"featured_media":71653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"ep_exclude_from_search":false,"footnotes":""},"tags":[],"service":[473,490,477,527,1332,926],"level":[],"coauthors":[{"id":455,"display_name":"Joshua Ruf","user_nicename":"jruf"}],"class_list":["post-71646","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","service-artificial-intelligence-en","service-computer-vision-en","service-data-science-en","service-embedded-systems-en","service-robotics","service-software-craftsmanship-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Drone Simulation with PX4, Gazebo, and ROS 2: Indoor SLAM Explained<\/title>\n<meta name=\"description\" content=\"Autonomous drone flight without GPS: How a hexacopter maps a virtual warehouse in a PX4 simulation using Gazebo, ROS 2, and LiDAR-SLAM (RKO-LIO).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Drone Simulation with PX4, Gazebo, and ROS 2: Indoor SLAM Explained\" \/>\n<meta property=\"og:description\" content=\"Autonomous drone flight without GPS: How a hexacopter maps a virtual warehouse in a PX4 simulation using Gazebo, ROS 2, and LiDAR-SLAM (RKO-LIO).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/\" \/>\n<meta property=\"og:site_name\" content=\"inovex GmbH\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inovexde\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-13T12:21:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"880\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joshua Ruf\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4-1024x601.png\" \/>\n<meta name=\"twitter:creator\" content=\"@inovexgmbh\" \/>\n<meta name=\"twitter:site\" content=\"@inovexgmbh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joshua Ruf\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/\"},\"author\":{\"name\":\"Joshua Ruf\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#\\\/schema\\\/person\\\/b1121c65e5c2bc2b0107dd1730e8b2a1\"},\"headline\":\"Drone simulation with PX4: Flying without crashing\",\"datePublished\":\"2026-11-13T12:21:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/\"},\"wordCount\":893,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Drohnensimulation_PX4.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/\",\"name\":\"Drone Simulation with PX4, Gazebo, and ROS 2: Indoor SLAM Explained\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Drohnensimulation_PX4.png\",\"datePublished\":\"2026-11-13T12:21:17+00:00\",\"description\":\"Autonomous drone flight without GPS: How a hexacopter maps a virtual warehouse in a PX4 simulation using Gazebo, ROS 2, and LiDAR-SLAM (RKO-LIO).\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Drohnensimulation_PX4.png\",\"contentUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Drohnensimulation_PX4.png\",\"width\":1500,\"height\":880},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/drone-simulation-with-px4-flying-without-crashing\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Drone simulation with PX4: Flying without crashing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/\",\"name\":\"inovex GmbH\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#organization\",\"name\":\"inovex GmbH\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/inovex-logo-16-9-1.png\",\"contentUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/inovex-logo-16-9-1.png\",\"width\":1921,\"height\":1081,\"caption\":\"inovex GmbH\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inovexde\",\"https:\\\/\\\/x.com\\\/inovexgmbh\",\"https:\\\/\\\/www.instagram.com\\\/inovexlife\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inovex\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC7r66GT14hROB_RQsQBAQUQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/#\\\/schema\\\/person\\\/b1121c65e5c2bc2b0107dd1730e8b2a1\",\"name\":\"Joshua Ruf\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/cropped-avatar-1-96x96.png3f688d459935df4741bb5a457272422e\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/cropped-avatar-1-96x96.png\",\"contentUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/cropped-avatar-1-96x96.png\",\"caption\":\"Joshua Ruf\"},\"url\":\"https:\\\/\\\/www.inovex.de\\\/en\\\/blog\\\/author\\\/jruf\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Drone Simulation with PX4, Gazebo, and ROS 2: Indoor SLAM Explained","description":"Autonomous drone flight without GPS: How a hexacopter maps a virtual warehouse in a PX4 simulation using Gazebo, ROS 2, and LiDAR-SLAM (RKO-LIO).","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/","og_locale":"en_US","og_type":"article","og_title":"Drone Simulation with PX4, Gazebo, and ROS 2: Indoor SLAM Explained","og_description":"Autonomous drone flight without GPS: How a hexacopter maps a virtual warehouse in a PX4 simulation using Gazebo, ROS 2, and LiDAR-SLAM (RKO-LIO).","og_url":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/","og_site_name":"inovex GmbH","article_publisher":"https:\/\/www.facebook.com\/inovexde","article_published_time":"2026-11-13T12:21:17+00:00","og_image":[{"width":1500,"height":880,"url":"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4.png","type":"image\/png"}],"author":"Joshua Ruf","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4-1024x601.png","twitter_creator":"@inovexgmbh","twitter_site":"@inovexgmbh","twitter_misc":{"Written by":"Joshua Ruf","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#article","isPartOf":{"@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/"},"author":{"name":"Joshua Ruf","@id":"https:\/\/www.inovex.de\/en\/#\/schema\/person\/b1121c65e5c2bc2b0107dd1730e8b2a1"},"headline":"Drone simulation with PX4: Flying without crashing","datePublished":"2026-11-13T12:21:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/"},"wordCount":893,"commentCount":0,"publisher":{"@id":"https:\/\/www.inovex.de\/en\/#organization"},"image":{"@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/","url":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/","name":"Drone Simulation with PX4, Gazebo, and ROS 2: Indoor SLAM Explained","isPartOf":{"@id":"https:\/\/www.inovex.de\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#primaryimage"},"image":{"@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4.png","datePublished":"2026-11-13T12:21:17+00:00","description":"Autonomous drone flight without GPS: How a hexacopter maps a virtual warehouse in a PX4 simulation using Gazebo, ROS 2, and LiDAR-SLAM (RKO-LIO).","breadcrumb":{"@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#primaryimage","url":"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4.png","contentUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/Drohnensimulation_PX4.png","width":1500,"height":880},{"@type":"BreadcrumbList","@id":"https:\/\/www.inovex.de\/en\/blog\/drone-simulation-with-px4-flying-without-crashing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inovex.de\/en\/"},{"@type":"ListItem","position":2,"name":"Drone simulation with PX4: Flying without crashing"}]},{"@type":"WebSite","@id":"https:\/\/www.inovex.de\/en\/#website","url":"https:\/\/www.inovex.de\/en\/","name":"inovex GmbH","description":"","publisher":{"@id":"https:\/\/www.inovex.de\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inovex.de\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inovex.de\/en\/#organization","name":"inovex GmbH","url":"https:\/\/www.inovex.de\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inovex.de\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.inovex.de\/wp-content\/uploads\/2021\/03\/inovex-logo-16-9-1.png","contentUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/2021\/03\/inovex-logo-16-9-1.png","width":1921,"height":1081,"caption":"inovex GmbH"},"image":{"@id":"https:\/\/www.inovex.de\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inovexde","https:\/\/x.com\/inovexgmbh","https:\/\/www.instagram.com\/inovexlife\/","https:\/\/www.linkedin.com\/company\/inovex","https:\/\/www.youtube.com\/channel\/UC7r66GT14hROB_RQsQBAQUQ"]},{"@type":"Person","@id":"https:\/\/www.inovex.de\/en\/#\/schema\/person\/b1121c65e5c2bc2b0107dd1730e8b2a1","name":"Joshua Ruf","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inovex.de\/wp-content\/uploads\/cropped-avatar-1-96x96.png3f688d459935df4741bb5a457272422e","url":"https:\/\/www.inovex.de\/wp-content\/uploads\/cropped-avatar-1-96x96.png","contentUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/cropped-avatar-1-96x96.png","caption":"Joshua Ruf"},"url":"https:\/\/www.inovex.de\/en\/blog\/author\/jruf\/"}]}},"_links":{"self":[{"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/posts\/71646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/users\/455"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/comments?post=71646"}],"version-history":[{"count":4,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/posts\/71646\/revisions"}],"predecessor-version":[{"id":71654,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/posts\/71646\/revisions\/71654"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/media\/71653"}],"wp:attachment":[{"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/media?parent=71646"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/tags?post=71646"},{"taxonomy":"service","embeddable":true,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/service?post=71646"},{"taxonomy":"level","embeddable":true,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/level?post=71646"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.inovex.de\/en\/wp-json\/wp\/v2\/coauthors?post=71646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}