Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix temperature gradient default value in Atmosphere DOM #482

Merged
merged 5 commits into from
Feb 2, 2021

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Jan 30, 2021

The default value in the Atmosphere SDF DOM was off by a factor of 10, see default value in atmosphere.sdf spec. I believe the one in the spec is correct according to wikipedia: Temperatures in the atmosphere decrease with height at an average rate of 6.5°C/km.

This could be a behavior change so I could retarget to master if needed

Signed-off-by: Ian Chen ichen@osrfoundation.org

Signed-off-by: Ian Chen <ichen@osrfoundation.org>
@github-actions github-actions bot added the 🔮 dome Ignition Dome label Jan 30, 2021
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters
Copy link
Member

scpeters commented Feb 1, 2021

I fixed the unit test in 8aa6e13

Copy link
Member

@scpeters scpeters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would characterize this as a bug, since it deviates from the spec. We can note it in the migration guide

Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
@iche033
Copy link
Contributor Author

iche033 commented Feb 1, 2021

We can note it in the migration guide

yep done.

@scpeters scpeters merged commit d33b4ae into sdf10 Feb 2, 2021
@scpeters scpeters deleted the temp_grad_default branch February 2, 2021 06:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants