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

RSDK-5813 RSDK-5788 Fix code samples and add sensors #183

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

benjirewis
Copy link
Member

@benjirewis benjirewis requested a review from stuqdog November 27, 2023 20:06
},
"motion": {
"client": "MotionClient",
"func": "get_pose",
"args": ["{{\"rdk\", \"component\", \"fake\"}, \"\", \"component\"}", "<destination-frame>", "{}", "nullptr"]
"args": ["{{\"rdk\", \"component\", \"fake\"}, \"\", \"component\"}", "<destination-frame>", "{}", "nullptr"],
Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks to @mcous who quickly spotted that this line was just missing a comma and that's why resource-specific code was not being generated 🙏🏻 .

},
"movement_sensor": {
"client": "MovementSensorClient",
"func": "get_linear_velocity",
Copy link
Member Author

Choose a reason for hiding this comment

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

I chose the example functions for these sort of arbitrarily; happy to change them if desired.

@benjirewis benjirewis marked this pull request as ready for review November 27, 2023 20:07
Copy link
Member

@stuqdog stuqdog left a comment

Choose a reason for hiding this comment

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

lgtm!

@benjirewis benjirewis requested a review from a team as a code owner November 27, 2023 20:17
@benjirewis benjirewis requested review from dgottlieb and removed request for a team November 27, 2023 20:17
@benjirewis benjirewis merged commit 46ba29f into viamrobotics:main Nov 27, 2023
2 checks passed
@benjirewis benjirewis deleted the code-samples branch November 27, 2023 21:04
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.

2 participants