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

HITL fixedwing and VTOL in fixedwing mode not working #13595

Open
julianoes opened this issue Nov 26, 2019 · 6 comments
Open

HITL fixedwing and VTOL in fixedwing mode not working #13595

julianoes opened this issue Nov 26, 2019 · 6 comments
Labels
bug Sim: HITL hardware in the loop simulation

Comments

@julianoes
Copy link
Contributor

Describe the bug
It seems like HITL with fixedwing or VTOL in fixedwing is not working. Presumably, the actuator setpoints are not set/connected correctly.

To Reproduce
Steps to reproduce the behavior with fixedwing:

  1. Connect Pixhawk over USB.
  2. Set SYS_AUTOSTART to 2100 for fixedwing, reboot Pixhawk.
  3. Edit Tools/sitl_gazebo/models/plane/plane.sdf and set serialEnabled and hil_mode to true.
  4. Start Gazebo:
    source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default
    gazebo --verbose Tools/sitl_gazebo/worlds/plane.world
    
  5. Try flying using joysticks in QGC.

Expected behavior
I expect that I can fly the plane in Stabilized, and not crash.

@julianoes julianoes added bug Sim: HITL hardware in the loop simulation labels Nov 26, 2019
@julianoes
Copy link
Contributor Author

For fixedwing I found that it is a mixer issue. We'll need a specific mixer for the Gazebo HITL case.

@stale
Copy link

stale bot commented Feb 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Feb 24, 2020
@rahuldeo2047
Copy link

bump

@stale stale bot removed the stale label Mar 6, 2023
@julianoes
Copy link
Contributor Author

@rahuldeo2047 can you confirm this is still an issue? It might have been solved in the meantime with the mixer purge and control allocation introduction.

@rahuldeo2047
Copy link

Fixed wing.

Running via the documented make command for version v1.14.alpha.1 . That works for mission mode perfectly.

issue was
I was working with v1.12.3 (for Xplan, I guess have to shift to other sims) and running gazebo with v1.14.alpha.1 plane world. I did some temporary changes in the mixed files for my RC to work. The mission mode works, and manual mode doesn’t work. In the mission mode after launch and takeoff the plan behaves lost control and falls.

(Unrelated to the issue: My RC did not work with both the versions. Debugging)

@rahuldeo2047
Copy link

rahuldeo2047 commented Mar 7, 2023

However, the gazebo and plane world did not work. Still debugging. I will confirm. v1.14.alpha.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Sim: HITL hardware in the loop simulation
Projects
None yet
Development

No branches or pull requests

2 participants