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

Add SDF topic validity check #632

Merged
merged 2 commits into from
Feb 15, 2021
Merged

Add SDF topic validity check #632

merged 2 commits into from
Feb 15, 2021

Conversation

atharva-18
Copy link
Contributor

Signed-off-by: Atharva Pusalkar [email protected]

Summary

Fixes issue #624
The user-defined topics for joint controllers are checked for validity using AsValidTopic as suggested in #623

Signed-off-by: Atharva Pusalkar <[email protected]>
@github-actions github-actions bot added the 🔮 dome Ignition Dome label Feb 14, 2021
Comment on lines 150 to 152
ignerr << "Failed to create topic for joint ["
<< _sdf->Get<std::string>("topic")
<< "]" << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

The error message looks wrong

Suggested change
ignerr << "Failed to create topic for joint ["
<< _sdf->Get<std::string>("topic")
<< "]" << std::endl;
ignerr << "Failed to create topic [" << this->dataPtr->jointName
<< "]" << for joint [" << _sdf->Get<std::string>("topic")
<< "]" << std::endl;

Signed-off-by: Atharva Pusalkar <[email protected]>
@ahcorde ahcorde merged commit 0f6c2b7 into gazebosim:ign-gazebo4 Feb 15, 2021
@atharva-18 atharva-18 deleted the sdf_valid_topic branch February 19, 2021 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants