$search

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

observers::NearestForward::NearestForward ( art_observers::ObserversConfig config  ) 

Definition at line 24 of file nearest_forward.cc.

observers::NearestForward::~NearestForward (  ) 

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_quad quadrilateral containing the robot
local_map road map lanes within range of the robot
obstacles local map quads currently containing obstacles
pose current 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 Fri Mar 1 14:13:59 2013