We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b194f4d commit f4b9c03Copy full SHA for f4b9c03
1 file changed
src/modelec_com/src/pcb_odo_interface.cpp
@@ -74,7 +74,7 @@ namespace Modelec
74
[this](const sensor_msgs::msg::Joy::SharedPtr msg)
75
{
76
double left_axis = msg->axes[1];
77
- double right_axis = msg->axes[2];
+ double right_axis = msg->axes[3];
78
79
if (fabs(left_axis) < 0.05) left_axis = 0.0;
80
if (fabs(right_axis) < 0.05) right_axis = 0.0;
0 commit comments