https://github.com/auterion/px4-jsbsim-bridge
JSBSim bridge for PX4 SITL/HITL simulations
https://github.com/auterion/px4-jsbsim-bridge
drone flight-controller flightgear hacktoberfest hardware-in-the-loop jsbsim jsbsim-bridge px4 robotics simulation software-in-the-loop visualization
Last synced: 12 days ago
JSON representation
JSBSim bridge for PX4 SITL/HITL simulations
- Host: GitHub
- URL: https://github.com/auterion/px4-jsbsim-bridge
- Owner: Auterion
- License: bsd-3-clause
- Created: 2020-09-07T20:37:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-19T07:22:39.000Z (over 3 years ago)
- Last Synced: 2024-01-29T20:53:52.049Z (about 2 years ago)
- Topics: drone, flight-controller, flightgear, hacktoberfest, hardware-in-the-loop, jsbsim, jsbsim-bridge, px4, robotics, simulation, software-in-the-loop, visualization
- Language: C++
- Homepage:
- Size: 271 KB
- Stars: 21
- Watchers: 17
- Forks: 34
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# JSBSim Bridge
[](https://github.com/Auterion/px4-jsbsim-bridge/actions?query=workflow%3A%22Build+Tests%22)
JSBSim bridge is a integration of the PX4 mavlink HIL interface to communicate with [jsbsim](https://github.com/JSBSim-Team/jsbsim)
## Installation (JSBSim)
JSBSim rolling releases is available in the [release page](https://github.com/JSBSim-Team/jsbsim/releases) 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 /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](../ros/mavros_installation.md)).
:::
To start JSBSim through ROS using the launch file as shown:
```
roslaunch jsbsim_bridge px4_jsbsim_bridge.launch
```