Add support for HIL#64
Open
tayyabkhalil-313 wants to merge 1 commit into
Open
Conversation
|
Hello, I really need your help. I tried to run your modified code, but an error message will be reported as follows: `Opened serial device/dev/ttyACM0 In file/home/lh/Code/autopilot HITL/Tools/jsbsim_ Bridge/models/Rapid/Rapid 110 JSBSim.xml: line 104 Engine location ignored, only thrust location is used In file/home/lh/Code/autopilot HITL/Tools/jsbsim_ Bridge/models/Rapid/Rapid 110 JSBSim.xml: line 109 Engine orientation ignored, only thrust orientation is used Send: Connection reused Send: Connection reused Send: Connection reused Send: Connection reused If you take the time out of your busy schedule to help me take a look, I would greatly appreciate it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe problem solved by this pull request
With reference to PR # 28 for enabling HITL with JSBSim bridge, this uses the modifications from that PR and further builds on it to successfully run HITL for Rascal with JSBSim Bridge. Using that PR directly resulted in takeoff issues which have now been resolved.
Steps for HITL
1000_rc_fw_easystar.hiltoplane_sitl.main.mixrequired by rascal.make px4_sitl jsbsim.PX4-Autopilot/build/px4_sitl_default/build_jsbsim_bridge.HEADLESS=1 ./jsbsim_bridge rascal -d /dev/ttyACM0 -s ~/13.2/PX4-Autopilot/Tools/jsbsim_bridge/scene/LSZH.xmlWhere:
rascal_hitl.zip
Testing
The method has been successfully tested on Pixhawk 4 with PX4 v1.13.2. A screenshot of the vehicle in mission mode is shown below:

The log file is here.