kompass.components.ros#

Module Contents#

Functions#

update_topics

Get a new dictionary of topics updated with the given keyword arguments

API#

kompass.components.ros.update_topics(topics_dict: Dict[kompass.components.defaults.TopicsKeys, Union[ros_sugar.io.Topic, List[ros_sugar.io.Topic], None]], **kwargs) Dict[kompass.components.defaults.TopicsKeys, Union[ros_sugar.io.Topic, List[ros_sugar.io.Topic], None]]#

Get a new dictionary of topics updated with the given keyword arguments

The given dictionary is left unchanged

Parameters:

topics_dict (Dict[str, Topic]) – Topic dictionary {topic_key_name: Topic}

Returns:

Updated topics

Return type:

Dict[str, Topic]