diff --git a/versions/main/_component_8hpp_source.html b/versions/main/_component_8hpp_source.html index 281510df..43d004f5 100644 --- a/versions/main/_component_8hpp_source.html +++ b/versions/main/_component_8hpp_source.html @@ -189,7 +189,7 @@
modulo_core::communication::MessagePair< EncodedState, state_representation::State >::MessagePair | +modulo_core::communication::MessagePair< EncodedState, state_representation::State >::MessagePair | ( | std::shared_ptr< state_representation::State > | data, | @@ -429,9 +429,9 @@
void modulo_core::communication::MessagePair< EncodedState, state_representation::State >::read_message | +void modulo_core::communication::MessagePair< EncodedState, state_representation::State >::read_message | ( | -const EncodedState & | +const EncodedState & | message | ) |
EncodedState modulo_core::communication::MessagePair< EncodedState, state_representation::State >::write_message | +EncodedState modulo_core::communication::MessagePair< EncodedState, state_representation::State >::write_message | ( | ) | const | diff --git a/versions/main/classmodulo__core_1_1communication_1_1_subscription_handler.html b/versions/main/classmodulo__core_1_1communication_1_1_subscription_handler.html index 97419309..2758ec78 100644 --- a/versions/main/classmodulo__core_1_1communication_1_1_subscription_handler.html +++ b/versions/main/classmodulo__core_1_1communication_1_1_subscription_handler.html @@ -143,7 +143,7 @@||||||||||||||||
std::function< void(const std::shared_ptr< std_msgs::msg::String >)> | get_callback () | |||||||||||||||||||
std::function< void(const std::shared_ptr< EncodedState >)> | get_callback () | |||||||||||||||||||
std::function< void(const std::shared_ptr< EncodedState >)> | get_callback () | |||||||||||||||||||
Public Member Functions inherited from modulo_core::communication::SubscriptionInterface | ||||||||||||||||||||
SubscriptionInterface (std::shared_ptr< MessagePairInterface > message_pair=nullptr) |
modulo_core::communication::SubscriptionHandler< EncodedState >::SubscriptionHandler | +modulo_core::communication::SubscriptionHandler< EncodedState >::SubscriptionHandler | ( | std::shared_ptr< MessagePairInterface > | message_pair | ) | @@ -502,7 +502,7 @@
std::function< void(const std::shared_ptr< EncodedState >)> modulo_core::communication::SubscriptionHandler< EncodedState >::get_callback | +std::function< void(const std::shared_ptr< EncodedState >)> modulo_core::communication::SubscriptionHandler< EncodedState >::get_callback | ( | ) | diff --git a/versions/main/md__2github_2workspace_2source_2modulo__core_2_r_e_a_d_m_e.html b/versions/main/md__2github_2workspace_2source_2modulo__core_2_r_e_a_d_m_e.html index b0101a50..66551822 100644 --- a/versions/main/md__2github_2workspace_2source_2modulo__core_2_r_e_a_d_m_e.html +++ b/versions/main/md__2github_2workspace_2source_2modulo__core_2_r_e_a_d_m_e.html @@ -95,10 +95,10 @@ | |
STRING | std::string | std_msgs::msgs::String | |||
ENCODED_STATE | state_representation::State | modulo_core::EncodedState | ENCODED_STATE | state_representation::State | modulo_interfaces::msg::EncodedState |
The ENCODED_STATE
type supports all classes in the family of state_representation::State
. It uses the clproto
serialization library from control_libraries to encode State
type messages to and from a binary format. The message type modulo_core::EncodedState
is equivalent to the ROS std_msgs::msg::UInt8MultiArray
.
The ENCODED_STATE
type supports all classes in the family of state_representation::State
. It uses the clproto
serialization library from control_libraries to encode State
type messages to and from a binary format.
The helper function state_representation::make_shared_state(state_instance)
can be used to inject any State
-derived instance in a std::shared_ptr<state_representation::State>
pointer for the MessagePair.
As MessagePair
instances need to be templated by the data type and message type, they can be somewhat verbose to manage directly. For example, storing multiple MessagePair
instances in a container or passing them as function arguments would require additional templating.
The translation module provides functions to convert between ROS2 and state_representation data types.
This package defines custom standard interfaces for modulo classes.
Modulo classes broadcast predicates to a global channel in a predicate message.
+The encoded state message contains state_representation::State
classes as binary format after serialization with clproto
.
The predicate message contains the predicate name and the current value (true or false) of the predicate.
Typedefs | |
typedef std_msgs::msg::UInt8MultiArray | EncodedState |
Define the EncodedState as UInt8MultiArray message type. | |
typedef modulo_interfaces::msg::EncodedState | EncodedState |
modulo_core::EncodedState | +modulo_core::EncodedState |
Define the EncodedState as UInt8MultiArray message type.
- -Definition at line 15 of file EncodedState.hpp.
+Definition at line 14 of file EncodedState.hpp.