Class LiveviewModule
- Defined in File liveview.hpp 
Inheritance Relationships
Base Type
- public rclcpp_lifecycle::LifecycleNode
Class Documentation
- 
class LiveviewModule : public rclcpp_lifecycle::LifecycleNode
- Public Types - 
using CameraSetupStreaming = psdk_interfaces::srv::CameraSetupStreaming
 - Public Functions - 
explicit LiveviewModule(const std::string &name)
- Construct a new LiveviewModule object. - Parameters:
- node_name – Name of the node 
 
 - 
~LiveviewModule()
- Destroy the LiveviewModule object. 
 - 
CallbackReturn on_configure(const rclcpp_lifecycle::State &state)
- Configures the LiveviewModule. Creates the ROS 2 subscribers and services. - Parameters:
- state – rclcpp_lifecycle::State. Current state of the node. 
- Returns:
- CallbackReturn SUCCESS or FAILURE 
 
 - 
CallbackReturn on_activate(const rclcpp_lifecycle::State &state)
- Activates the LiveviewModule. - Parameters:
- state – rclcpp_lifecycle::State. Current state of the node. 
- Returns:
- CallbackReturn SUCCESS or FAILURE 
 
 - 
CallbackReturn on_cleanup(const rclcpp_lifecycle::State &state)
- Cleans the LiveviewModule. Resets the ROS 2 subscribers and services. - Parameters:
- state – rclcpp_lifecycle::State. Current state of the node. 
- Returns:
- CallbackReturn SUCCESS or FAILURE 
 
 - 
CallbackReturn on_deactivate(const rclcpp_lifecycle::State &state)
- Deactivates the LiveviewModule. - Parameters:
- state – rclcpp_lifecycle::State. Current state of the node. 
- Returns:
- CallbackReturn SUCCESS or FAILURE 
 
 - 
CallbackReturn on_shutdown(const rclcpp_lifecycle::State &state)
- Shuts down the LiveviewModule. - Parameters:
- state – rclcpp_lifecycle::State. Current state of the node. 
- Returns:
- CallbackReturn SUCCESS or FAILURE 
 
 - 
bool init()
- Initialize the LiveviewModule. - Returns:
- true/false 
 
 - 
bool deinit()
- Deinitialize the LiveviewModule. - Returns:
- true/false 
 
 
- 
using CameraSetupStreaming = psdk_interfaces::srv::CameraSetupStreaming