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

Test and fix all services #37

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

nikhil-sethi
Copy link

@nikhil-sethi nikhil-sethi commented Oct 1, 2024

This branch/PR will test and fix all services.

This is pretty much same as #36 but made separately to align with Jira tickets.
Depends on: #36

Services to test:

  • set_resolution
  • get_resolution
  • invert_x
  • invert_z
  • set_feature
  • get_feature
  • get_available_resolutions

- service architecture works now
- used resolution argument instead of config
- fix response error code logic
@nikhil-sethi
Copy link
Author

All services work, but set and get feature need different encodings for each specific feature. People can see the docs and add whatever they like.

@nikhil-sethi
Copy link
Author

Fixed: #38 (comment)

@nikhil-sethi nikhil-sethi added bug Something isn't working need for sprint This needs to be closed to complete the active sprint labels Oct 14, 2024
@nikhil-sethi nikhil-sethi removed the request for review from aashish-tud October 15, 2024 07:20
@@ -16,8 +16,8 @@ namespace scancontrol_driver
this->get_parameter_or("resolution", config_.resolution, -1);

// Multiple device parameters
this->declare_parameter<std::string>("serial", std::string("MICRO-EPSILON Optronic GmbH-scanCONTROL 3060-25 -519080050"));
this->get_parameter_or("serial", config_.serial, std::string("MICRO-EPSILON Optronic GmbH-scanCONTROL 3060-25 -519080050"));
this->declare_parameter<std::string>("serial", std::string(""));
Copy link

Choose a reason for hiding this comment

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

@aashish-tud aashish-tud merged commit f17b836 into sam-xl:ros2-devel Oct 16, 2024
1 check passed
@nikhil-sethi nikhil-sethi deleted the service_testing branch October 16, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need for sprint This needs to be closed to complete the active sprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants