Auterion / px4-jsbsim-bridge

JSBSim bridge for PX4 SITL/HITL simulations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSBSim Bridge

Build Tests

JSBSim bridge is a integration of the PX4 mavlink HIL interface to communicate with jsbsim

Installation (JSBSim)

JSBSim rolling releases is available in the release page of JSBSim

To have the visualization available, install flightgear.

apt install flightgear

Running the bridge

When run from the Firmware, an example can be run with the following

make px4_sitl jsbsim

To run without the flightgear visualization,

HEADLESS=1 make px4_sitl jsbsim

Running the bridge with ROS

Clone the px4-jsbsim-bridge package into your catkin workspace:

cd <path_to_catkin_ws>/src
git clone https://github.com/Auterion/px4-jsbsim-bridge.git

Build the jsbsim_bridge catkin package:

catkin build jsbsim_bridge

:::note You must have already set MAVROS in your workspace (if not, follow the instructions in the MAVROS installation guide). ::: To start JSBSim through ROS using the launch file as shown:

roslaunch jsbsim_bridge px4_jsbsim_bridge.launch

About

JSBSim bridge for PX4 SITL/HITL simulations

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 92.2%Language:CMake 5.8%Language:C 1.3%Language:Shell 0.7%