Core component that filters incoming image messages by modifying their headers and republishing them.
More...
|
| bool | activate () override |
| | Activates the ImageFilterCB component.
|
| |
| bool | configure () override |
| | Configures the ImageFilterCB component.
|
| |
| bool | deactivate () override |
| | Deactivates the ImageFilterCB component.
|
| |
| | ImageFilterCB (rclcpp_lifecycle::LifecycleNode::SharedPtr parent) |
| | Constructs an ImageFilterCB object and initializes the parent lifecycle node.
|
| |
| void | process_in_image (std::unique_ptr< rclcpp::SerializedMessage > msg) |
| | Processes incoming serialized image messages, applies a simple transformation, and republishes them.
|
| |
| | Core (rclcpp_lifecycle::LifecycleNode::SharedPtr parent) |
| | Constructs a Core object associated with a parent lifecycle node.
|
| |
| void | set_afferent (cs4home_core::Afferent::SharedPtr afferent) |
| | Sets the Afferent component associated with this Core.
|
| |
| void | set_efferent (cs4home_core::Efferent::SharedPtr efferent) |
| | Sets the Efferent component associated with this Core.
|
| |
Core component that filters incoming image messages by modifying their headers and republishing them.
Uses ROS 2 lifecycle and callback functions for message processing.
| void process_in_image |
( |
std::unique_ptr< rclcpp::SerializedMessage > | msg | ) |
|
Processes incoming serialized image messages, applies a simple transformation, and republishes them.
The frame_id in the image header is converted to an integer, doubled, and set as the new frame_id. The modified message is then sent to the efferent component.
- Parameters
-
| msg | Unique pointer to the serialized incoming image message. |