-
Notifications
You must be signed in to change notification settings - Fork 98
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Jenn Nguyen <[email protected]>
* Add Joint DOM API to access joint sensors Signed-off-by: Jenn Nguyen <[email protected]> Co-authored-by: Jenn Nguyen <[email protected]>
* Add Joint DOM API to access joint sensors Signed-off-by: Addisu Z. Taddese <[email protected]> * Add missing file Signed-off-by: Addisu Z. Taddese <[email protected]> * modified Joint::SensorNameExists Signed-off-by: Jenn Nguyen <[email protected]> Co-authored-by: Jenn Nguyen <[email protected]>
* Add Joint DOM API to access joint sensors Signed-off-by: Addisu Z. Taddese <[email protected]> * Add missing file Signed-off-by: Addisu Z. Taddese <[email protected]> * modified Joint::SensorNameExists Signed-off-by: Jenn Nguyen <[email protected]> Co-authored-by: Jenn Nguyen <[email protected]>
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