![]() |
An open-source, flexible 3D physical simulation framework
|
#include <MultiLevelLaserRangeFinder.h>
Classes | |
struct | Lookup |
struct | RaySubSensor |
Public Member Functions | |
MultiLevelLaserRangeFinder (interfaces::ControlCenter *control, MultiLevelLaserRangeFinderConfig config) | |
~MultiLevelLaserRangeFinder (void) | |
virtual void | preGraphicsUpdate (void) |
const std::vector< double > & | getSensorData () const |
std::vector< double > | getPointCloud () |
virtual int | getSensorData (double **data) const |
virtual void | receiveData (const data_broker::DataInfo &info, const data_broker::DataPackage &package, int callbackParam) |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur. More... | |
virtual void | update (std::vector< interfaces::draw_item > *drawItems) |
This is the update function that updates the position of the vertices of all draw_item structs contained in drawItems. More... | |
virtual configmaps::ConfigMap | createConfig () const |
const MultiLevelLaserRangeFinderConfig & | getConfig () const |
![]() | |
BaseNodeSensor (unsigned long id, std::string name) | |
virtual | ~BaseNodeSensor () |
utils::Quaternion | getOrientation () const |
unsigned long | getAttachedNode () |
![]() | |
BaseSensor () | |
virtual | ~BaseSensor () |
BaseSensor (unsigned long id, std::string name) | |
unsigned long | getID () const |
const std::string | getName () const |
virtual int | getAsciiData (char *data) const |
void | getCoreExchange (core_objects_exchange *obj) const |
![]() | |
SensorInterface (ControlCenter *center) | |
virtual | ~SensorInterface () |
![]() | |
ReceiverInterface () | |
virtual | ~ReceiverInterface () |
![]() | |
virtual | ~DrawInterface () |
![]() | |
GraphicsUpdateInterface (void) | |
virtual | ~GraphicsUpdateInterface (void) |
virtual void | postGraphicsUpdate (void) |
Static Public Member Functions | |
static interfaces::BaseSensor * | instanciate (interfaces::ControlCenter *control, interfaces::BaseConfig *config) |
static interfaces::BaseConfig * | parseConfig (interfaces::ControlCenter *control, configmaps::ConfigMap *config) |
![]() | |
static BaseConfig * | parseConfig (ControlCenter *control, configmaps::ConfigMap *config) |
Private Member Functions | |
void | calculateSamplingPixels () |
Private Attributes | |
MultiLevelLaserRangeFinderConfig | config |
std::vector< Lookup > | lookups |
std::vector< RaySubSensor > | subSensors |
utils::Vector | position |
utils::Quaternion | orientation |
std::vector< double > | rayValues |
std::vector< utils::Vector > | directions |
long | positionIndices [3] |
long | rotationIndices [4] |
Additional Inherited Members | |
![]() | |
unsigned long | id |
std::string | name |
unsigned long | updateRate |
![]() | |
unsigned long | attached_node |
bool | calcAcceletaion |
bool | calcSpeed |
bool | calcPosition |
bool | calcRotationSpeed |
bool | calcOrientation |
utils::Vector | acceleration |
utils::Vector | speed |
utils::Vector | position |
utils::Vector | rotationSpeed |
utils::Quaternion | orientation |
![]() | |
ControlCenter * | control |
Definition at line 45 of file MultiLevelLaserRangeFinder.h.
mars::sim::MultiLevelLaserRangeFinder::MultiLevelLaserRangeFinder | ( | interfaces::ControlCenter * | control, |
MultiLevelLaserRangeFinderConfig | config | ||
) |
Definition at line 28 of file MultiLevelLaserRangeFinder.cpp.
mars::sim::MultiLevelLaserRangeFinder::~MultiLevelLaserRangeFinder | ( | void | ) |
Definition at line 147 of file MultiLevelLaserRangeFinder.cpp.
|
private |
Definition at line 203 of file MultiLevelLaserRangeFinder.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Definition at line 353 of file MultiLevelLaserRangeFinder.cpp.
const MultiLevelLaserRangeFinderConfig & mars::sim::MultiLevelLaserRangeFinder::getConfig | ( | ) | const |
Definition at line 371 of file MultiLevelLaserRangeFinder.cpp.
std::vector<double> mars::sim::MultiLevelLaserRangeFinder::getPointCloud | ( | ) |
const std::vector< double > & mars::sim::MultiLevelLaserRangeFinder::getSensorData | ( | ) | const |
Definition at line 165 of file MultiLevelLaserRangeFinder.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Definition at line 169 of file MultiLevelLaserRangeFinder.cpp.
|
static |
Definition at line 22 of file MultiLevelLaserRangeFinder.cpp.
|
static |
Definition at line 321 of file MultiLevelLaserRangeFinder.cpp.
|
virtual |
Reimplemented from mars::interfaces::GraphicsUpdateInterface.
Definition at line 153 of file MultiLevelLaserRangeFinder.cpp.
|
virtual |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.
info | Information about the DataPackage. |
dataPackage | The DataPackage containing all the data. |
callbackParam | The int the receiver passed during registration. The default (the receiver didn't provide a callbackParam) is 0. This can be used to easily distinguish different registrations. |
Implements mars::data_broker::ReceiverInterface.
Definition at line 176 of file MultiLevelLaserRangeFinder.cpp.
|
virtual |
This is the update function that updates the position of the vertices of all draw_item structs contained in drawItems.
Implements mars::interfaces::DrawInterface.
Definition at line 276 of file MultiLevelLaserRangeFinder.cpp.
|
private |
Definition at line 79 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 109 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 101 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 105 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 104 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 110 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 107 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 111 of file MultiLevelLaserRangeFinder.h.
|
private |
Definition at line 103 of file MultiLevelLaserRangeFinder.h.