All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Member Functions | Private Attributes
observers::NearestForward Class Reference

Nearest forward observer class. More...

#include <nearest_forward.h>

Inheritance diagram for observers::NearestForward:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 NearestForward (art_observers::ObserversConfig &config)
virtual art_msgs::Observation update (const art_msgs::ArtLanes &local_map, const art_msgs::ArtLanes &obstacles, const MapPose pose_)
 ~NearestForward ()

Private Attributes

std::vector< float > distance_
MedianFilter distance_filter_
ros::Time prev_update_
MeanFilter velocity_filter_

Detailed Description

Nearest forward observer class.

Definition at line 27 of file nearest_forward.h.


Constructor & Destructor Documentation

Definition at line 24 of file nearest_forward.cc.

Definition at line 33 of file nearest_forward.cc.


Member Function Documentation

art_msgs::Observation observers::NearestForward::update ( const art_msgs::ArtLanes local_map,
const art_msgs::ArtLanes obstacles,
const MapPose  pose 
) [virtual]

Generic observer update function.

Called whenever there are new obstacle data, assuming the local_map is also available.

Parameters:
robot_quadquadrilateral containing the robot
local_maproad map lanes within range of the robot
obstacleslocal map quads currently containing obstacles
posecurrent pose of robot
Todo:
Make pure virtual once deprecated version is deleted.

Implements observers::Observer.

Definition at line 39 of file nearest_forward.cc.


Member Data Documentation

std::vector<float> observers::NearestForward::distance_ [private]

Definition at line 39 of file nearest_forward.h.

Definition at line 41 of file nearest_forward.h.

Definition at line 44 of file nearest_forward.h.

Definition at line 42 of file nearest_forward.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


art_observers
Author(s): Michael Quinlan, Jack O'Quin, Corbyn Salisbury
autogenerated on Tue Sep 24 2013 10:43:43