Skip to content

Conversation

jhanca-robotecai
Copy link
Collaborator

  • add support for worlds in q_simulation_interfaces
  • add all missing features to the list, so it can parse the output from simulator
image

Signed-off-by: Jan Hanca <[email protected]>
Signed-off-by: Jan Hanca <[email protected]>
Signed-off-by: Jan Hanca <[email protected]>
Copy link
Contributor

@arturkamieniecki arturkamieniecki left a comment

Choose a reason for hiding this comment

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

Only minor nits. Looks great overall.

Comment on lines +337 to +340
if (!getCurrentWorldService_)
{
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

All other service handlers produce a warning if the service is not present.

const QString worldStr = useUriForWorlds_
? QString::fromStdString(response->world.world_resource.uri)
: QString::fromStdString(response->world.world_resource.resource_string);
ui_->currentWorldLabel->setText("Current world: " + worldStr);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit (UX/UI): Won't this produce a "Current world:" when no world is selected? Maybe consider a special case for no world loaded.

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.

3 participants