Public Member Functions | Private Types | Private Attributes
naoqi::converter::LaserConverter Class Reference

#include <laser.hpp>

Inheritance diagram for naoqi::converter::LaserConverter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void callAll (const std::vector< message_actions::MessageAction > &actions)
 LaserConverter (const std::string &name, const float &frequency, const qi::SessionPtr &session)
void registerCallback (message_actions::MessageAction action, Callback_t cb)
void reset ()

Private Types

typedef boost::function< void(sensor_msgs::LaserScan &)> Callback_t

Private Attributes

std::map
< message_actions::MessageAction,
Callback_t
callbacks_
sensor_msgs::LaserScan msg_
qi::AnyObject p_memory_

Detailed Description

Definition at line 37 of file laser.hpp.


Member Typedef Documentation

typedef boost::function<void(sensor_msgs::LaserScan&)> naoqi::converter::LaserConverter::Callback_t [private]

Definition at line 40 of file laser.hpp.


Constructor & Destructor Documentation

naoqi::converter::LaserConverter::LaserConverter ( const std::string &  name,
const float &  frequency,
const qi::SessionPtr &  session 
)

Definition at line 131 of file laser.cpp.


Member Function Documentation

there are two things done here: 1.) we have to reorder the array indices since there are ordered from left-to-right, ros laserscans are ordered from 2.) in order to combine all lasers into one message, we transform (statically) from laser frame into base_footprint

Definition at line 142 of file laser.cpp.

Definition at line 137 of file laser.cpp.

Definition at line 213 of file laser.cpp.


Member Data Documentation

Definition at line 55 of file laser.hpp.

sensor_msgs::LaserScan naoqi::converter::LaserConverter::msg_ [private]

Definition at line 56 of file laser.hpp.

Definition at line 53 of file laser.hpp.


The documentation for this class was generated from the following files:


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sun Sep 17 2017 02:57:14