Skip to content

Support Triggered Calibration as ROS2 Action - #3138

Merged
SamerKhshiboun merged 1 commit into
realsenseai:ros2-developmentfrom
SamerKhshiboun:tc_v1
Jun 23, 2024
Merged

SamerKhshiboun merged 1 commit into
realsenseai:ros2-developmentfrom
SamerKhshiboun:tc_v1

Conversation

@SamerKhshiboun

@SamerKhshiboun SamerKhshiboun commented Jun 22, 2024 •

Copy link
Copy Markdown
Contributor

Tracked on RSDEV-2204

Based on:
https://design.ros2.org/articles/actions.html
https://docs.ros.org/en/jazzy/Tutorials/Intermediate/Writing-an-Action-Server-Client/Cpp.html#writing-an-action-server

  • Added new action TriggeredCalibration
  • Updated README
  • Created new actions.cpp file and implemented the action in it
  • Added documentation.
  • Testing will be done in RSDEV-2298

@SamerKhshiboun
SamerKhshiboun force-pushed the tc_v1 branch 3 times, most recently from 453ada5 to b8b2308 Compare June 22, 2024 23:52
@SamerKhshiboun
SamerKhshiboun requested a review from Nir-Az June 23, 2024 10:09
@SamerKhshiboun
SamerKhshiboun marked this pull request as ready for review June 23, 2024 10:11
@@ -0,0 +1,121 @@
// Copyright 2024 Intel Corporation. All Rights Reserved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

actions.cpp is a generic name.
Do we want a calibration action dedicated name instead ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think we will add all actions in the future inside it (we can add FW-update action for example, etc..)
(In the same way, I will create a "services.cpp" file for all services - we can redesign this in a separate task)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

On next action/service please consider creating a service/action folder and implement a file for each serve/action
With time it may grow..

Comment thread realsense2_camera/src/actions.cpp Resolved
@Nir-Az

Nir-Az commented Jun 23, 2024

Copy link
Copy Markdown
Collaborator

Looks great overall :)

@SamerKhshiboun
SamerKhshiboun merged commit 598756b into realsenseai:ros2-development Jun 23, 2024
yohatad pushed a commit to yohatad/realsense-ros that referenced this pull request Jun 24, 2026
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