56 const std::string m_device_classname = {
"CanBusHico"};
57 const std::string m_device_name = {
"CanBusHico"};
58 bool m_parser_is_strict =
false;
66 const std::string m_port_defaultValue = {
"/dev/can0"};
67 const std::string m_bitrate_defaultValue = {
"1000000"};
68 const std::string m_blockingMode_defaultValue = {
"true"};
69 const std::string m_allowPermissive_defaultValue = {
"false"};
70 const std::string m_rxTimeoutMs_defaultValue = {
"1"};
71 const std::string m_txTimeoutMs_defaultValue = {
"0"};
72 const std::string m_filterConfiguration_defaultValue = {
"disabled"};
73 const std::string m_preserveFilters_defaultValue = {
"true"};
74 const std::string m_filteredIds_defaultValue = {
""};
76 std::string m_port = {
"/dev/can0"};
77 int m_bitrate = {1000000};
78 bool m_blockingMode = {
true};
79 bool m_allowPermissive = {
false};
80 int m_rxTimeoutMs = {1};
81 int m_txTimeoutMs = {0};
82 std::string m_filterConfiguration = {
"disabled"};
83 bool m_preserveFilters = {
true};
84 std::vector<int> m_filteredIds = {};
86 bool parseParams(
const yarp::os::Searchable & config)
override;
87 std::string getDeviceClassName()
const override {
return m_device_classname; }
88 std::string getDeviceName()
const override {
return m_device_name; }
89 std::string getDocumentationOfDeviceParams()
const override;
90 std::vector<std::string> getListOfParams()
const override;