-
Notifications
You must be signed in to change notification settings - Fork 268
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
Adds a tool for environment data visualization #1748
Conversation
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.
First pass. Haven't tested locally just yet.
src/gui/plugins/environment_visualization/EnvironmentVisualization.cc
Outdated
Show resolved
Hide resolved
src/gui/plugins/environment_visualization/EnvironmentVisualization.cc
Outdated
Show resolved
Hide resolved
src/gui/plugins/environment_visualization/EnvironmentVisualization.cc
Outdated
Show resolved
Hide resolved
src/systems/environmental_sensor_system/EnvironmentalSensorSystem.cc
Outdated
Show resolved
Hide resolved
src/systems/environmental_sensor_system/EnvironmentalSensorSystem.cc
Outdated
Show resolved
Hide resolved
* Added acoustic comms plugin Signed-off-by: Aditya <aditya050995@gmail.com> Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
- Resolve paths relative to SDF parent path - Avoid template instantiation in plugins Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Adds basic environmental sensors with code and example. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
TODO: Add tests and rebase on @hidmic's changes. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
…inates. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Depends on: * gazebosim/gz-math#508 * gazebosim/gz-common#446 Work in progress. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
195a060
to
1c6f50c
Compare
…/feat/environment_visuals
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.
Last pass. Pretty solid.
src/gui/plugins/environment_visualization/EnvironmentVisualization.cc
Outdated
Show resolved
Hide resolved
src/gui/plugins/environment_visualization/EnvironmentVisualization.cc
Outdated
Show resolved
Hide resolved
src/gui/plugins/environment_visualization/EnvironmentVisualization.cc
Outdated
Show resolved
Hide resolved
src/systems/environmental_sensor_system/EnvironmentalSensorSystem.hh
Outdated
Show resolved
Hide resolved
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
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 with (mostly) green CI
src/systems/environmental_sensor_system/EnvironmentalSensorSystem.cc
Outdated
Show resolved
Hide resolved
// If the reference frame is spherical, we must have some world reference | ||
// coordinates. | ||
gzerr << "World has no spherical coordinates," | ||
<< " but data was loaded with spherical reference plane" | ||
<< std::endl; | ||
return std::nullopt; | ||
} | ||
else | ||
{ | ||
// No need to transform | ||
return _worldPosition; | ||
} |
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.
@arjo129 we could still use default constructed spherical coordinates, sitting at the null island, if none are found.
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.
I don't know. Personally, I'd rather an error be thrown so that we don't end up with a user trying to figure out "where has my data gone?".
Thanks to @nkoenig, |
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Is |
Yep! I'm cherry picking and back porting. It was an intermediary branch created during the freeze so we could continue our rapid development. We will be moving back to gz-sim7 now that the freeze is over. |
…stom environmental sensors This PR adds a tool to visualize Scalar Environmental Data. It also adds custom sensors. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
…stom environmental sensors (#1798) This PR adds a tool to visualize Scalar Environmental Data. It also adds custom sensors. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
🎉 New feature
Depends on:
* Implement environmental lookup sensors. #1691Summary
This PR adds a tool to visualize Scalar Environmental Data.
Test it
To use it is currently a bit cumbersome, but the following steps apply. I'll probably add a tutorial for this soon:
Environment Loader
plugin. Load the environment in.Environment Visuallization panel to enable visuallization
Pointcloud Plugin
to see the actual data.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.