|
libstp
Robotics library for Botball
|
#include <WorldMap.hpp>
Public Attributes | |
| std::string | id |
| std::string | name |
| std::string | fromLayer |
| std::string | toLayer |
| TransitionEdge | from |
| TransitionEdge | to |
| bool | bidirectional {true} |
| float | widthCm {0.0f} |
A transition (ramp/portal) connecting two layers along a seam line on each. Crossing the from edge moves the robot onto toLayer (and back, when bidirectional). The parameter t along the edge maps 1:1 between layers; when the two edges are geometrically identical (a ramp drawn in the same table coordinates as the floor it rises from) the crossing is a pure layer switch with no position remap.
Definition at line 48 of file WorldMap.hpp.
| bool libstp::map::MapTransition::bidirectional {true} |
Definition at line 56 of file WorldMap.hpp.
| TransitionEdge libstp::map::MapTransition::from |
Definition at line 54 of file WorldMap.hpp.
| std::string libstp::map::MapTransition::fromLayer |
Definition at line 52 of file WorldMap.hpp.
| std::string libstp::map::MapTransition::id |
Definition at line 50 of file WorldMap.hpp.
| std::string libstp::map::MapTransition::name |
Definition at line 51 of file WorldMap.hpp.
| TransitionEdge libstp::map::MapTransition::to |
Definition at line 55 of file WorldMap.hpp.
| std::string libstp::map::MapTransition::toLayer |
Definition at line 53 of file WorldMap.hpp.
| float libstp::map::MapTransition::widthCm {0.0f} |
Definition at line 57 of file WorldMap.hpp.