34 void UpdateValue(
const swarmio::data::Variant& value);
56 virtual void Set(
const std::string& path,
const swarmio::data::Variant& value)
override;
ParameterPublisher(ros::NodeHandle &nodeHandle, const std::string &suffix, const std::string &message, swarmio::services::keyvalue::Service &keyvalueService, const std::string &name, const std::string ¶meter, bool isWritable)
Construct a new ParameterPublisher object.
The Key-Value Service is responsible for getting and setting named values.
A Target implementation that uses the ROS parameter server.
Serializer for full-fledged message types.
ros::Publisher _publisher
Publisher.
const introspection::MessageSerializer * _serializer
Serializer.
virtual void Set(const std::string &path, const swarmio::data::Variant &value) override
Set the current value of the target.
void UpdateValue(const swarmio::data::Variant &value)
Update the currently latched value.
An extension of ParameterTarget that publishes updates as custom messages.