Skip to content

Commit 3c2c63a

Browse files
committed
feat(pid_longitudinal_controller): update readme
Signed-off-by: Berkay Karaman <brkay54@gmail.com>
1 parent 14a3420 commit 3c2c63a

File tree

2 files changed

+355
-306
lines changed

2 files changed

+355
-306
lines changed

control/pid_longitudinal_controller/README.md

+4-19
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,16 @@ For reliable stopping, the target acceleration calculated by the FeedForward sys
5555

5656
Based on the slope information, a compensation term is added to the target acceleration.
5757

58-
There are two sources of the slope information, which can be switched by a parameter.
58+
There are two sources of the slope information, both sources are used in controller with respect to state of the node.
5959

60-
- Pitch of the estimated ego-pose (default)
60+
- Pitch of the estimated ego-pose
6161
- Calculates the current slope from the pitch angle of the estimated ego-pose
62+
- It is used only for vehicle in stopped state because of delay compensation.
6263
- Pros: Easily available
6364
- Cons: Cannot extract accurate slope information due to the influence of vehicle vibration.
6465
- Z coordinate on the trajectory
6566
- Calculates the road slope from the difference of z-coordinates between the front and rear wheel positions in the target trajectory
67+
- It is used when the vehicle in drive state because we can get the target slope value from the trajectory.
6668
- Pros: More accurate than pitch information, if the z-coordinates of the route are properly maintained
6769
- Pros: Can be used in combination with delay compensation (not yet implemented)
6870
- Cons: z-coordinates of high-precision map is needed.
@@ -99,23 +101,6 @@ Depending on the actuating principle of the vehicle, the mechanism that physical
99101

100102
In this controller, the predicted ego-velocity and the target velocity after the delay time are calculated and used for the feedback to address the time delay problem.
101103

102-
### Slope compensation
103-
104-
Based on the slope information, a compensation term is added to the target acceleration.
105-
106-
There are two sources of the slope information, which can be switched by a parameter.
107-
108-
- Pitch of the estimated ego-pose (default)
109-
- Calculates the current slope from the pitch angle of the estimated ego-pose
110-
- Pros: Easily available
111-
- Cons: Cannot extract accurate slope information due to the influence of vehicle vibration.
112-
- Z coordinate on the trajectory
113-
- Calculates the road slope from the difference of z-coordinates between the front and rear wheel positions in the target trajectory
114-
- Pros: More accurate than pitch information, if the z-coordinates of the route are properly maintained
115-
- Pros: Can be used in combination with delay compensation (not yet implemented)
116-
- Cons: z-coordinates of high-precision map is needed.
117-
- Cons: Does not support free space planning (for now)
118-
119104
## Assumptions / Known limits
120105

121106
1. Smoothed target velocity and its acceleration shall be set in the trajectory

0 commit comments

Comments
 (0)