Skip to content

Commit f4b9c03

Browse files
committed
change control
1 parent b194f4d commit f4b9c03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modelec_com/src/pcb_odo_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ namespace Modelec
7474
[this](const sensor_msgs::msg::Joy::SharedPtr msg)
7575
{
7676
double left_axis = msg->axes[1];
77-
double right_axis = msg->axes[2];
77+
double right_axis = msg->axes[3];
7878

7979
if (fabs(left_axis) < 0.05) left_axis = 0.0;
8080
if (fabs(right_axis) < 0.05) right_axis = 0.0;

0 commit comments

Comments
 (0)