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

simple state machine with an action client and a topic subscriber #543

Merged

Conversation

sukhrajklair
Copy link
Contributor

@sukhrajklair sukhrajklair commented Jun 5, 2024

  • state machine has two states
  • one state transitions to another state based on the data received on a topic
  • one of the states contains an action client which sends a goal to /fibonacci action server. The implementation of action server is provided as part of ROS2 tutorials.

┆Issue is synchronized with this Jira Task by Unito

@brettpac
Copy link
Collaborator

Hi Sukhraj, I had a look to the build, and I have two requests...

  1. Can we add the standard apache2 license for these files...
    smacc2_sm_reference_library/simple_action_client_example/include/simple_action_client_example/mode_selection_client/cl_mode_select.hpp: could not find copyright notice
    smacc2_sm_reference_library/simple_action_client_example/include/simple_action_client_example/orthogonals/or_mode_select.hpp: could not find copyright notice
    2 errors, checked 377 files
    smacc2_sm_reference_library/simple_action_client_example/include/simple_action_client_example/orthogonals/or_fibonacci.hpp: could not find copyright notice
    1 errors, checked 341 files
    smacc2_sm_reference_library/simple_action_client_example/include/simple_action_client_example/mode_selection_client/client_behaviors/cb_mode_select.hpp: could not find copyright notice

  2. And can you rename the state machine to sm_simple_action_client (for files) /SmSimpleActionClient (for class) to keep with the naming convention of the reference library please?

I'm tempted to just squash the PR and just do it myself, but I'm trying to follow the CI process here;)

Thank you, I really appreciate it. I'm excited to get this PR merged.

@brettpac
Copy link
Collaborator

brettpac commented Jun 12, 2024

// Copyright 2021 RobosoftAI Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/*****************************************************************************************************************
*

  • Author: Sukhraj Klair

******************************************************************************************************************/

@brettpac
Copy link
Collaborator

Hi @sukhrajklair, lets try running the pre-commit run -a command on your local machine please and then pushing. I think it will pass the format check after that.

@sukhrajklair
Copy link
Contributor Author

Hi @brettpac
Looks like all of the formatting errors are fixed

@brettpac brettpac merged commit 344ff3c into robosoft-ai:humble Jun 19, 2024
8 checks passed
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.

None yet

3 participants