-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
[rc.simulator] fix PX4_HOME_ALT and cleanup #22562
Conversation
fi | ||
|
||
else | ||
if ! gz_bridge start -p "${model_pose}" -m "${PX4_SIM_MODEL#*gz_}" -w "${PX4_GZ_WORLD}" -i "${px4_instance}"; then | ||
echo "ERROR [init] gz_bridge failed to start" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we maybe make these errors a bit more verbose by providing a reason why gz-bridge failed to start? Otherwise there is the same error message in two different if-statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frede791 , at the rc.simulator
scope, there is no way to know what caused the bridge to fail to start. Nevertheless I distiguished the two cases: starting and spawning VS starting and attaching to existing vehicle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>
ced3063
to
e3e6c87
Compare
Co-authored-by: Daniel Agar <daniel@agar.ca>
Co-authored-by: Daniel Agar <daniel@agar.ca>
Solved Problem
SIM_GZ_HOME_ALT
was uncorrectly set.Additional feature
Increase documentation of Gazebo simulation startup