Difference between revisions of "GET CLOSEST CAR NODE WITH HEADING"
Jump to navigation
Jump to search
(Added page) |
(Added return type) |
||
| Line 15: | Line 15: | ||
|p7t = pointer to float | |p7t = pointer to float | ||
|p7d = Heading of closest node | |p7d = Heading of closest node | ||
| − | |r = | + | |r = 1 |
| + | |rt = bool | ||
| + | |rd = success? | ||
}} | }} | ||
Gets the car node closest to the specified position, and stores the position and heading of the node in the variables pointed to by P4, P5, P6 and P7. | Gets the car node closest to the specified position, and stores the position and heading of the node in the variables pointed to by P4, P5, P6 and P7. | ||
Latest revision as of 11:08, 25 June 2012
| Number of parameters: 7 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | float | X coordinate |
| 2. | float | Y coordinate |
| 3. | float | Z coordinate |
| 4. | pointer to float | X coordinate of closest node |
| 5. | pointer to float | Y coordinate of closest node |
| 6. | pointer to float | Z coordinate of closest node |
| 7. | pointer to float | Heading of closest node |
| Return value: | ||
| Type | Description | |
| bool | success? | |
Gets the car node closest to the specified position, and stores the position and heading of the node in the variables pointed to by P4, P5, P6 and P7.