-
Notifications
You must be signed in to change notification settings - Fork 95
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 Joint DOM API to access joint sensors #517
Conversation
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
TEST(DOMJoint, Sensors) | ||
{ | ||
const std::string testFile = | ||
sdf::testing::TestFile("sdf", "joint_sensors.sdf"); |
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 think this file is missing
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 always forget to add the sdf file 🤦🏾♂️ . Added in 8d50882
Signed-off-by: Addisu Z. Taddese <addisu@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! One minor suggestion
Signed-off-by: Jenn Nguyen <jenn@openrobotics.org>
Signed-off-by: Jenn Nguyen <jenn@openrobotics.org>
* Add Joint DOM API to access joint sensors Signed-off-by: Jenn Nguyen <jenn@openrobotics.org> Co-authored-by: Jenn Nguyen <jenn@openrobotics.org>
* Add Joint DOM API to access joint sensors Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> * Add missing file Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> * modified Joint::SensorNameExists Signed-off-by: Jenn Nguyen <jenn@openrobotics.org> Co-authored-by: Jenn Nguyen <jenn@openrobotics.org>
* Add Joint DOM API to access joint sensors Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> * Add missing file Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> * modified Joint::SensorNameExists Signed-off-by: Jenn Nguyen <jenn@openrobotics.org> Co-authored-by: Jenn Nguyen <jenn@openrobotics.org>
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1 |
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-03-25-fortress-edifice-citadel/1343/1 |
🎉 New feature
Summary
This adds
sdf::Joint::SensorCount
,sdf::Joint::SensorByIndex
,sdf::Joint::SensorNameExists
,sdf::Joint::SensorByName
.Test it
Run tests
Checklist
sh tools/code_check.sh
)another open pull request
to support the maintainers
Note to maintainers: Remember to use Squash-Merge