Commit bcb1b07
mppi: return NO_INFORMATION when the checked point is outside the costmap (ros-navigation#3816) (ros-navigation#3818)
otherwise the controller crashes at ObstaclesCritic::costAtPose
because x_i and y_i isn't initialized.
(cherry picked from commit 6b250a7)
Co-authored-by: Chuanhong Guo <gch981213@gmail.com>1 parent 08c4c80 commit bcb1b07
File tree
1 file changed
+4
-1
lines changed1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| |||
0 commit comments