#include <updater.h>
|
void | configure (tue::Configuration &config) |
| Configure updater. More...
|
|
void | configureLaserModel (uint num_beams, double angle_min, double angle_max, double range_min, double range_max) |
| configure the LRF model based on a laserscan message More...
|
|
unsigned int | getNumBeams () |
| get the number of beams of the model More...
|
|
void | renderWorld (const geo::Pose3D &sensor_pose, const ed::WorldModel &world, std::vector< double > &model_ranges) |
| render the worldmodel as would be seen by the lrf. More...
|
|
void | setLaserFrame (const std::string &frame_id) |
| set the frame of the laser model More...
|
|
void | update (const ed::WorldModel &world, std::vector< double > &sensor_ranges, const geo::Pose3D &sensor_pose, const double timestamp, ed::UpdateRequest &req) |
| update update the worldmodel based on a novel laserscan message. More...
|
|
Definition at line 17 of file laser/updater.h.
◆ associate()
void LaserUpdater::associate |
( |
std::vector< double > & |
sensor_ranges, |
|
|
const std::vector< double > & |
model_ranges |
|
) |
| |
|
private |
associate: filter sensor information and remove ranges that can be associated with the worldmodel. Leaving only novel data.
- Parameters
-
[in] | sensor_ranges | distances measured by the lrf |
[in,out] | model_ranges | distances as predicted by the worldmodel. Will be filtered. (associated ranges have value 0.0) |
Definition at line 471 of file laser/updater.cpp.
◆ configure()
Configure updater.
- Parameters
-
[in] | config | Configuration which may contain the following fields: world_association_distance min_segment_size_pixels segment_depth_threshold min_cluster_size max_cluster_size max_gap_size fit_entities Whether or not to fit an entity (0 or 1) |
Definition at line 258 of file laser/updater.cpp.
◆ configureLaserModel()
void LaserUpdater::configureLaserModel |
( |
uint |
num_beams, |
|
|
double |
angle_min, |
|
|
double |
angle_max, |
|
|
double |
range_min, |
|
|
double |
range_max |
|
) |
| |
|
inline |
configure the LRF model based on a laserscan message
- Parameters
-
num_beams | number of beams in the lrf model |
angle_min | angle corresponding to the first beam in radians |
angle_max | angle corresponding to the final beam in radians |
range_min | minimum distance that can be detected with the lrf in meters |
range_max | maximum distance that can be detected with the lrf in meters |
Definition at line 56 of file laser/updater.h.
◆ getNumBeams()
unsigned int LaserUpdater::getNumBeams |
( |
| ) |
|
|
inline |
◆ renderWorld()
render the worldmodel as would be seen by the lrf.
- Parameters
-
[in] | sensor_pose | pose of the lrf to be modeled in the world frame. |
[in] | world | worldmodel |
[out] | model_ranges | ranges of distances as would be seen by an lrf |
Definition at line 451 of file laser/updater.cpp.
◆ segment()
◆ segmentToConvexHull()
◆ setLaserFrame()
void LaserUpdater::setLaserFrame |
( |
const std::string & |
frame_id | ) |
|
|
inline |
set the frame of the laser model
- Parameters
-
frame_id | frame id of the laser |
Definition at line 68 of file laser/updater.h.
◆ update()
update update the worldmodel based on a novel laserscan message.
- Parameters
-
[in] | world | worldmodel to be updated |
[in] | sensor_ranges | distances measured by the lrf |
[in] | sensor_pose | pose of the lrf sensor at the time of the measurement |
[in] | timestamp | timestamp of the lrf measurment |
[out] | req | update request |
Definition at line 278 of file laser/updater.cpp.
◆ fit_entities_
bool LaserUpdater::fit_entities_ |
◆ lrf_frame_
◆ lrf_model_
◆ max_cluster_size_
double LaserUpdater::max_cluster_size_ |
◆ max_gap_size_
uint LaserUpdater::max_gap_size_ |
◆ min_cluster_size_
double LaserUpdater::min_cluster_size_ |
◆ min_segment_size_pixels_
uint LaserUpdater::min_segment_size_pixels_ |
◆ pose_cache
◆ segment_depth_threshold_
double LaserUpdater::segment_depth_threshold_ |
◆ world_association_distance_
double LaserUpdater::world_association_distance_ |
The documentation for this class was generated from the following files: