ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

wheel_vel/data equal 0 one in three

asked 2020-03-18 09:00:09 -0500

Spacegoat gravatar image

Hello, I'm trying to use http://wiki.ros.org/differential_drive for my little robot.

But PID is not working and I think it's due to wheel_vel/data witch is equal to 0 one in three data.

Has anyone already been faced to this ?

My launch file parameters are :

Kp = 25 Ki = 10 Kd = 0.001 outmin and max -255 / 255 rate = 30 timeout_ticks = 4 rolling_pts = 2

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-03-18 09:43:46 -0500

Spacegoat gravatar image

I have my answer :

By changing rolling_pts to 20 have no more 0 data. Futhermore, I changed rate parameter to 20 it's seems better like this, at least it's easier to read the values ​​on the cmd.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2020-03-18 09:00:09 -0500

Seen: 62 times

Last updated: Mar 18 '20