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

Fix crash when using world_frame_id enu #4336

Merged
merged 3 commits into from
Feb 23, 2022

Conversation

MinnDevelopment
Copy link
Contributor

Fixes: #4195

About

The error described in the issue was caused by this logic error, which did not account for the previous check and tried to perform a coordinate transformation on an uninitialized vector. The crash is fixed by moving the ENU conversion into the correct location.

How Has This Been Tested?

Same environment as used in the bug report.

Screenshots (if appropriate):

@ghost
Copy link

ghost commented Feb 2, 2022

CLA assistant check
All CLA requirements met.

@MinnDevelopment
Copy link
Contributor Author

I also applied the fix to the ros2 implementation, but I do not have a testing environment setup for this.

@zimmy87
Copy link
Contributor

zimmy87 commented Feb 23, 2022

Tested this with ROS1 and ROS2 wrapper; can confirm #4195 is fixed in ROS2 with this PR applied. I was not able to repro #4195 with or without this fix, but I did not notice any regression, so this looks safe to merge.

@zimmy87 zimmy87 merged commit fcbfdc3 into microsoft:master Feb 23, 2022
@MinnDevelopment MinnDevelopment deleted the patch-enu branch February 23, 2022 18:05
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.

ROS Airsim Node crashes when world_frame_id set to world_enu
2 participants