ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hello, You can use this to publish the odometry. But you have to change these lines:
double x = 0.0;
double y = 0.0;
double th = 0.0;
double vx = 0.1;
double vy = -0.1;
double vth = 0.1;
These values must be taken from your robot hardware (maybe through serial connection).
2 | No.2 Revision |
Hello, This answer is for Q2.
You can use this to publish the odometry. But you have to change these lines:
double x = 0.0;
double y = 0.0;
double th = 0.0;
double vx = 0.1;
double vy = -0.1;
double vth = 0.1;
These values must be taken from your robot hardware (maybe through serial connection).connection).
This link could be helpful for you if you get wheel encoders.