mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
change control
This commit is contained in:
@@ -74,7 +74,7 @@ namespace Modelec
|
||||
[this](const sensor_msgs::msg::Joy::SharedPtr msg)
|
||||
{
|
||||
double left_axis = msg->axes[1];
|
||||
double right_axis = msg->axes[2];
|
||||
double right_axis = msg->axes[3];
|
||||
|
||||
if (fabs(left_axis) < 0.05) left_axis = 0.0;
|
||||
if (fabs(right_axis) < 0.05) right_axis = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user