ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I think you only need a single PID controller. A linear model of the system might be:
x1= position x2= speed u= motor current
x1_dot = x2 (derivative of position = speed) x2_dot = K*u (motor speed controlled by current)
So you can control position by controlling the motor current.
Now if you want to track a path, you need to discretize it and feed in a series of position setpoints to be tracked.
2 | No.2 Revision |
I think you only need a single PID controller. A linear model of the system might be:
x1= position position, x2= speed speed, u= motor current
x1_dot = x2 (derivative of position = speed) x2_dot = K*u (motor speed controlled by current)
So you can control position by controlling the motor current.
Now if you want to track a path, you need to discretize it and feed in a series of position setpoints to be tracked.
3 | No.3 Revision |
I think you only need a single PID controller. A linear model of the system might be:
x1= position, x2= speed, u= motor current
x1_dot = x2 (derivative of position = speed) x2_dot = K*u (motor speed controlled by current)
So you can control position by controlling the motor current.current (through integration).
Now if you want to track a path, you need to discretize it and feed in a series of position setpoints to be tracked.
4 | No.4 Revision |
I think you only need a single PID controller. A linear model of the system might be:
x1= position, x2= speed, u= motor current
x1_dot = x2 (derivative of position = speed)
speed)
x2_dot = K*u (motor speed controlled by current)
So you can control position by controlling the motor current (through integration).
Now if you want to track a path, you need to discretize it and feed in a series of position setpoints to be tracked.