-
Notifications
You must be signed in to change notification settings - Fork 64
RSDK-3379 - add modular resource docs #341
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-3379 - add modular resource docs #341
Conversation
Warning your change may break code samples. If your change modifies any of the following functions please contact @viamrobotics/fleet-management. Thanks!
|
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.
seems good, though I do think we should maybe move the new additions up, should naomi or matt d be a reviewer for this?
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 would suggest moving the module
section above the create custom components
section, since that's the most likely use case. And if you move it up above the custom components section, i would also move the Operations
section into the modular components section
@purplenicole730 can you also change the instance of |
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.
This is a lot better now!
Going to approve this because my outstanding comments will be adressed by https://viam.atlassian.net/browse/RSDK-3941 and https://viam.atlassian.net/browse/RSDK-3836
its in |
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.
Hi @purplenicole730 this is awesome! I've left a few tiny language suggestions, but otherwise LGTM. Thanks!
"source": [ | ||
"## Create custom remotes\n", | ||
"\n", | ||
"While the main RDK is written in golang, you can create custom components in python and connect them to a robot as a `remote` component. This allows you to extend the functionality of a robot, or even create an entire robot exclusively in python.\n", |
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.
and some hardware! 😂
Co-authored-by: andf-viam <132301587+andf-viam@users.noreply.github.com>
Co-authored-by: andf-viam <132301587+andf-viam@users.noreply.github.com>
Co-authored-by: andf-viam <132301587+andf-viam@users.noreply.github.com>
Co-authored-by: andf-viam <132301587+andf-viam@users.noreply.github.com>
Co-authored-by: andf-viam <132301587+andf-viam@users.noreply.github.com>
Co-authored-by: andf-viam <132301587+andf-viam@users.noreply.github.com>
Co-authored-by: andf-viam <132301587+andf-viam@users.noreply.github.com>
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 assume we're leaving out custom resource types in modules from this doc on purpose?
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.
NICE thanks for all the fixes
Apologies for the lack of input - this does look great! |
Ticket: RSDK-3379
This PR updates the docs to include directions on how to add a modular resource using the Python SDK.
Please note that there is another ticket RSDK-3836 that aims to make this doc to be more parallel to the one we have in our actual docs.