Commit feb3418
authored
[mppi] fix division by zero, clean raw pointers code (#5636)
* [mppi] fix division by zero
leading to cost values being NaNs, which then propagate through all the critics and results in NaN control_sequence. These NaNs were removed by the hard applyControlSequenceConstraints(), but replaced with ax_max & wz_max. These lead to high steering at the start of a run
Signed-off-by: Adi Vardi <adi.vardi@enway.ai>
* [mppi] clean ackermann constraints
Signed-off-by: Adi Vardi <adi.vardi@enway.ai>
* fix long line
Signed-off-by: Adi Vardi <adi.vardi@enway.ai>
---------
Signed-off-by: Adi Vardi <adi.vardi@enway.ai>1 parent 2a73560 commit feb3418
File tree
2 files changed
+10
-10
lines changed2 files changed
+10
-10
lines changedLines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
174 | 170 | | |
175 | 171 | | |
176 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
0 commit comments