Open mzahana opened 2 years ago
Greetings!
There is a bug in
bldc_controller.cpp
that prevents this driver from being used with multiple drivers, even under different namespaces using the<group>
tag. The/bldc_driver_node/Command
needs to change tobldc_driver_node/Command
. Otherwise, multiple drivers will always receive the same motor command.
workaround 1) make a rosparam "topic_name ", set parameter value from launch file, and then make a ros::subscriber to the value of that parameter. 2) make another class within the same namespace and attach another motor to that.
2nd workaround is in my fork of the chip_bldc_driver.
Greetings!
There is a bug in
bldc_controller.cpp
that prevents this driver from being used with multiple drivers, even under different namespaces using the<group>
tag. The/bldc_driver_node/Command
needs to change tobldc_driver_node/Command
. Otherwise, multiple drivers will always receive the same motor command.