Swapped AMC0 and AMC1
This commit is contained in:
@@ -46,7 +46,7 @@ def generate_launch_description():
|
||||
condition=UnlessCondition(LaunchConfiguration('local_test')),
|
||||
parameters=[{
|
||||
'odom': "odom",
|
||||
'serial_path': "/dev/ttyACM0",
|
||||
'serial_path': "/dev/ttyACM1",
|
||||
}],
|
||||
|
||||
emulate_tty=True,
|
||||
|
||||
@@ -33,7 +33,7 @@ def generate_launch_description():
|
||||
condition=UnlessCondition(LaunchConfiguration('local_test')),
|
||||
parameters=[{
|
||||
'odom': "odom",
|
||||
'serial_path': "/dev/ttyACM0",
|
||||
'serial_path': "/dev/ttyACM1",
|
||||
}],
|
||||
|
||||
emulate_tty=True,
|
||||
|
||||
@@ -11,7 +11,7 @@ CallbackReturn mg::MgStepperInterface::on_init(const hardware_interface::Hardwar
|
||||
if (info_.hardware_parameters.find("device_path") != info.hardware_parameters.end()) {
|
||||
serial_port_name = info_.hardware_parameters["device_path"];
|
||||
} else {
|
||||
serial_port_name = "/dev/ttyACM1";
|
||||
serial_port_name = "/dev/ttyACM0";
|
||||
}
|
||||
|
||||
left_wheel_pos_state = 0;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#define TIMEOUT 10u
|
||||
|
||||
constexpr const char* ENCODER_SERIAL_PATH_DEFAULT = "/dev/ttyACM0";
|
||||
constexpr const char* ENCODER_SERIAL_PATH_DEFAULT = "/dev/ttyACM1";
|
||||
|
||||
using SendDoubleSrv = mg_msgs::srv::SendDouble;
|
||||
using ZeroSrv = std_srvs::srv::Empty;
|
||||
|
||||
Reference in New Issue
Block a user