Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tutorials:intermediate:costmaps [2022/04/27 13:55] – [Setup] schimpf | tutorials:intermediate:costmaps [2022/04/27 14:02] (current) – [Creating your own cost function] schimpf | ||
|---|---|---|---|
| Line 103: | Line 103: | ||
| (if (and (< (cl-transforms: | (if (and (< (cl-transforms: | ||
| (> (abs (/ (cl-transforms: | (> (abs (/ (cl-transforms: | ||
| - | (abs (/ (cl-transforms: | + | 1 | 
| - | 0.0d0))))) | + |  | 
| - | </ | + | </ | 
| + | To summerize, we can see that the individual value in the costmap generator is set to 1 if it is behind the reference point and else it's set to 0. | ||
| * define order for your costmap function and give it a name: | * define order for your costmap function and give it a name: | ||

 
 
 

 
