Go to the documentation of this file.
17 #ifndef SR_HAND_DETECTOR_SR_HAND_AUTODETECT_H
18 #define SR_HAND_DETECTOR_SR_HAND_AUTODETECT_H
25 #include "yaml-cpp/yaml.h"
35 explicit SrHandAutodetect(std::string detected_hands_file =
"/tmp/sr_hand_detector.yaml",
36 std::string hand_config_path =
"",
66 #endif // SR_HAND_DETECTOR_SR_HAND_AUTODETECT_H
std::string map_to_xacro_string(const std::map< std::string, std::string > &map)
std::string get_command_suffix()
std::map< int, std::string > hand_serial_and_port_map_
std::vector< std::string > yaml_node_list_to_std_vector(const YAML::Node &node)
ForcedHandSide forced_hand_side_
std::string command_suffix_bimanual_per_hand(const YAML::Node &hand_info)
std::string hand_side_to_prefix(const std::string &side)
void compose_command_suffix_unimanual()
std::map< std::string, std::string > yaml_node_map_to_std_map(const YAML::Node &node_map)
std::string command_suffix_
void compose_command_suffix()
void get_path_to_sr_hand_config()
void compose_command_suffix_bimanual()
std::string detected_hands_file_
SrHandAutodetect(std::string detected_hands_file="/tmp/sr_hand_detector.yaml", std::string hand_config_path="", ForcedHandSide forced_hand_side=ForcedHandSide::none)
std::string vector_to_xacro_string(const std::vector< std::string > &vec)
int number_of_detected_hands_
std::string sr_hand_config_path_
void filter_hands_if_side_forced()
YAML::Node get_hand_general_info(int serial)