![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
INavigation interface for robot navigation algorithms. This component of the robot is responsible for calculating a direction along a path to a specified location. More...
Public Member Functions | |
| IEnumerator | SearchForPath () |
| Start the search algorithm to find a path from origin to destination. More... | |
| IEnumerator | SearchForPath (Vector3 start, Vector3 end) |
| Start the search algorithm to find a path from start to end. More... | |
| Vector3 | PathDirection (Vector3 myLocation) |
| Gives a direction to follow the path given your location. More... | |
| void | Proximity (Vector3 from, Vector3 to, bool obstructed) |
| Proximity sensor data. More... | |
| void | DrawGizmos () |
| Called by Unity OnDrawGizmos() event to draw 3D world space debug information. More... | |
| void | DrawDebugInfo () |
Properties | |
| Bounds | searchBounds [get, set] |
| Gets or sets the search space bounds. More... | |
| Vector3 | origin [get, set] |
| Gets or sets the origin. More... | |
| Vector3 | destination [get, set] |
| Gets or sets the destination. More... | |
| bool | pathFound [get] |
| Gets a value indicating whether this INavigation found a path between origin and destination. More... | |
| Space | spaceRelativeTo [get] |
| Indicates the frame of reference World space is data relative to (0,0,0) Self space is data relative to robot position and rotation More... | |
INavigation interface for robot navigation algorithms. This component of the robot is responsible for calculating a direction along a path to a specified location.
Definition at line 9 of file INavigation.cs.
| void INavigation.DrawDebugInfo | ( | ) |

| void INavigation.DrawGizmos | ( | ) |
Called by Unity OnDrawGizmos() event to draw 3D world space debug information.

| Vector3 INavigation.PathDirection | ( | Vector3 | myLocation | ) |
Gives a direction to follow the path given your location.
| myLocation | My location. |

| void INavigation.Proximity | ( | Vector3 | from, |
| Vector3 | to, | ||
| bool | obstructed | ||
| ) |
| IEnumerator INavigation.SearchForPath | ( | ) |
Start the search algorithm to find a path from origin to destination.

| IEnumerator INavigation.SearchForPath | ( | Vector3 | start, |
| Vector3 | end | ||
| ) |
Start the search algorithm to find a path from start to end.
|
getset |
Gets or sets the destination.
The destination is where the path leads to.
Definition at line 29 of file INavigation.cs.
|
getset |
Gets or sets the origin.
The origin is the start of the path to the destination.
Definition at line 23 of file INavigation.cs.
|
get |
Gets a value indicating whether this INavigation found a path between origin and destination.
true if path found; otherwise, false.
Definition at line 49 of file INavigation.cs.
|
getset |
Gets or sets the search space bounds.
Defines the search space boundaries in simulation world coordinates.
Definition at line 17 of file INavigation.cs.
|
get |
Indicates the frame of reference World space is data relative to (0,0,0) Self space is data relative to robot position and rotation
Definition at line 73 of file INavigation.cs.