#include <TerrainConfiguration.hpp>
- Parameters
-
| time | - the time at the end of the step where the slip was detected |
| wheel_idx | - the wheel index where the terrain was classified |
| terrain | - the terrain type with the probability |
| static TerrainClassification terrain_estimator::TerrainClassification::fromRGB |
( |
const base::Vector3d & |
color | ) |
|
|
inlinestatic |
convert an RGB color value into a terrain classification object
This is simple for the currently available three classes. Once we extend these classes, more elaborate encoding can be used.
- Parameters
-
| color | rgb color information that represents the likelihood of terrain |
calculate joint Probability of visual and proprioceptive terrain estimation
This function will calculate the joint probability of visual and proprioceptive terrain estimation
| const base::Vector3d terrain_estimator::TerrainClassification::toRGB |
( |
| ) |
const |
|
inline |
convert TerrainProbability to rgb value
This function will encode a terrain probability as an rgb value. This is mainly so that it can be processed in maps more easiliy.
| base::Time terrain_estimator::TerrainClassification::time |
| int terrain_estimator::TerrainClassification::wheel_idx |
The documentation for this struct was generated from the following file: