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 or fix missing service docs #213

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Add or fix missing service docs #213

merged 2 commits into from
Jun 4, 2024

Conversation

ivalaginja
Copy link
Collaborator

I found a bunch of typos and missing services in this list, this PR fixes them.

@ivalaginja ivalaginja requested a review from erinpougheon June 4, 2024 12:12
@ivalaginja ivalaginja self-assigned this Jun 4, 2024
@ivalaginja ivalaginja enabled auto-merge June 4, 2024 12:14
Copy link
Collaborator

@erinpougheon erinpougheon left a comment

Choose a reason for hiding this comment

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

Everything seems ok!
I found some missing services yet (but I don't know if it is done on purpose or not), and the simulated services are not included too (same remark, on purpose or not?)

@@ -19,11 +19,13 @@ Catkit2
:maxdepth: 1
:caption: Built-In Services

service/aimtti_plp
services/aimtti_plp
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the name of the service is aimtti_plp_device

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right! However, the file that contains the service documentation is just called aimtti_plp (see here for all existing files containing service docs), and this is what we want to link to from the index.rst.

@@ -19,11 +19,13 @@ Catkit2
:maxdepth: 1
:caption: Built-In Services

service/aimtti_plp
services/aimtti_plp
services/allied_vision_camera
services/bmc_dm
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't know if we have to add them, but every simulated service is not added, even though the camera_sim is included in the list

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Also true! We were initially not entirely sure whether we should include docs for the the simulated services here or not. Since a simulated service is supposed to have exactly the same behavior like a hardware service, minus all the setup that is required for a hardware service, I recently deleted all docs for simulated services in this list.

The reason the documentation for the simulated service camera_sim is still there because that one is somewhat special: it is a very general simulated service that can be used as the simulated service for any camera. So it seemed a good idea to give it its own doc page.

I admit these choices are somewhat arbitrary, but they are leaning on how we are currently using catkit2 and all its services. This might well be adjusted in the future

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok perfect !

@@ -19,11 +19,13 @@ Catkit2
:maxdepth: 1
:caption: Built-In Services

service/aimtti_plp
services/aimtti_plp
services/allied_vision_camera
services/bmc_dm
services/camera_sim
Copy link
Collaborator

Choose a reason for hiding this comment

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

The dummy_camera service is missing here too, I don't know is this is wanted or not

Copy link
Collaborator

Choose a reason for hiding this comment

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

Later the safety_manual_check is missing too

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

True again! I have to admit I forgot what the dummy camera service is - it looks like a stand-in service for a camera that is simpler than camera_sim. Since I don't know of any active usage anywhere, or even a reason for it, I think it's ok to not add it for now. What are your thoughts?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, I think that if it is not used at all, it's okay not including it!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As for the Safety Manual Check, good catch! I didn't find it because it doesn't even have a doc page yet. I added an empty one now and added it to the list of doc pages that need to be filled in, which we're treating in issue #190.

@ivalaginja ivalaginja requested a review from erinpougheon June 4, 2024 13:05
@ivalaginja ivalaginja disabled auto-merge June 4, 2024 13:08
@ivalaginja ivalaginja enabled auto-merge June 4, 2024 13:09
@ivalaginja ivalaginja merged commit f3d3437 into develop Jun 4, 2024
6 checks passed
@ivalaginja ivalaginja deleted the feature/doclist branch June 4, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants