Navigation component
This is the Navigation component from the GenoM3 OSMOSIS show case.
It navigates in a graph
of predefined positions read from a file.
Given a Position
to reach, it produces successive intermediate positions taken from a navigation Graph
,
and write them in the Target (out) port, as it reaches them one after another.
-
port Target (out) contains the next position to reach, in this experiment, it is used by PotentialField as an intermediate goal.
-
port Pose (in) contains the current position of the robot.
Note that when we use GotoPosition (activity), it looks for the closest nodes to the starting position, navigates to it, then navigates between nodes, and finally from the node closest to the goal, to the goal. When using GotoNode (activity), it navigates from nodes to nodes. |
Ports
Pose (in)
Data structure
|
The current position
of the robot.
Services
GetIDS (attribute)
Outputs
|
Get the whole IDS (mostly useful for debuging).
SetTarget (attribute)
Inputs
|
Set directly the IDS target.
SetThreshold (attribute)
Inputs
|
Set the threshold
distance at which one has reached the target and should move to the next one.
Stop (function)
Context
|
Stop the robot.
SetTargetToCurrentPose (activity)
Throws
|
Context
|
Reset the target to the current position. This is useful when you want to stop the robot
ReadMapGraph (activity)
Inputs
|
Throws
|
Context
|
Read the map graph structure from file
.
GotoTarget (activity)
Inputs
|
Throws
|
Context
|
Goto the target directly, no graph search, and export the port.
GotoPosition (activity)
Inputs
|
Throws
|
Context
|
Produce and execute a plan to reach a final position according to the current graph map.
GotoNode (activity)
Inputs
|
Throws
|
Context
|
Produce a plan to reach the named node in the current graph map. Share some codels with GotoPosition (activity).