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

PX4 SITL failing to connect to gazebo for boat model/world #20374

Closed
altmattr opened this issue Oct 7, 2022 · 4 comments
Closed

PX4 SITL failing to connect to gazebo for boat model/world #20374

altmattr opened this issue Oct 7, 2022 · 4 comments

Comments

@altmattr
Copy link

altmattr commented Oct 7, 2022

Describe the bug

make px4_sitl gazebo is working for most possible worlds and models that I try. However, for make px4_sitl gazebo_boat it hangs at

INFO  [dataman] data manager file './dataman' size is 7866640 bytes
PX4 SIM HOST: localhost
INFO  [simulator_mavlink] Waiting for simulator to accept connection on TCP port 4560

I'm running in WSL on windows 10

To Reproduce

Steps to reproduce the behavior - in WSL command prompt:

  1. > git clone https://github.com/PX4/PX4-Autopilot.git --recursive
  2. > ./PX4-Autopilot/Tools/setup/ubuntu.sh
  3. > HEADLESS=1 make px4_sitl gazebo_boat
  4. See error

Expected behavior

Expected PX4 SITL start up to continue.

Additional context

I've tried verbose logging of gzserver but no clues. I've tried all other gazebo worlds and models and they all work, including uuv_hippocampus.

@altmattr
Copy link
Author

I have tested on ubuntu running direct on hardware as well - same behaviour

@altmattr
Copy link
Author

Bug does not exist in v1.13.0. If I checkout that branch and follow the same steps, the boat simulation works.

@altmattr
Copy link
Author

bug does occur on tag pr-rover-ratesp

@Jaeyoung-Lim
Copy link
Member

@altmattr This was fixed in PX4/PX4-SITL_gazebo-classic#917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants