Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ROS support for JSBSim Bridge #20

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Add ROS support for JSBSim Bridge #20

merged 1 commit into from
Nov 2, 2020

Conversation

Jaeyoung-Lim
Copy link
Contributor

@Jaeyoung-Lim Jaeyoung-Lim commented Oct 13, 2020

Problem Description
Previously, when using PX4 in the ROS environment, the only way to simulate PX4 was through Gazebo. However, since Gazebo has limited dynamics modeled in the simulation, it was hard for users to evaluate flight control related applications in Gazebo.

Supporting JSBSim will enable developers using ROS to be able to evaluate their software with more accurate flight dynamics.

Solution
This PR adds ROS support for the JSBSim bridge. This enables users using ROS/MAVROS to be able to run JSBSim as a SITL simulation environment. A ros node jsbsimbridge_ros is responsible for initializing and running the simulation.

The configurations can be done through the launchfile

          <param name="config" value="config/rascal.xml" />
          <param name="script" value="scene/LSZH.xml" />
          <param name="dt" value="0.004" />

A launchfile is is added to automate running mavros / jsbsim togethe. The ROS node can be run through

roslaunch jsbsim_bridge px4_jsbsim_bridge.launch

The launchfile runs PX4 SITL, MAVROS and a jsbsim_bridge to expose jsbsim to PX4 SITL, and mavros to expose PX4 mavlink messages to ROS.

Additional Context

@Jaeyoung-Lim Jaeyoung-Lim requested a review from TSC21 October 13, 2020 08:52
@Jaeyoung-Lim Jaeyoung-Lim requested a review from jkflying October 13, 2020 08:54
@Jaeyoung-Lim Jaeyoung-Lim requested a review from bkueng October 13, 2020 10:38
@Jaeyoung-Lim Jaeyoung-Lim changed the title Add ROS1 support for JSBSim Bridge Add ROS support for JSBSim Bridge Oct 14, 2020
@Jaeyoung-Lim Jaeyoung-Lim force-pushed the pr-ros-support branch 3 times, most recently from 394352d to 26c9ebb Compare October 17, 2020 17:12
@Jaeyoung-Lim Jaeyoung-Lim marked this pull request as ready for review October 17, 2020 17:12
@Jaeyoung-Lim Jaeyoung-Lim force-pushed the pr-ros-support branch 2 times, most recently from 8c75d31 to 7bc49a5 Compare November 2, 2020 15:42
This PR adds ROS1 support to the px4-jsbsim-bridge and adds build tests in the catkin workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant