#include <RayGridSensor.h>
|
| RayGridSensor (interfaces::ControlCenter *control, const unsigned long id, const std::string &name) |
|
| ~RayGridSensor (void) |
|
virtual int | getMonsterData (char *data) const |
|
virtual int | getSensorData (interfaces::sReal **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 void | setMatrixSpacing (interfaces::sReal rowSpacing, interfaces::sReal columnSpacing) |
|
virtual void | setMatrixDimensions (int numRows, int numCols) |
|
virtual void | setLaserDistanceRange (interfaces::sReal min, interfaces::sReal max) |
|
virtual unsigned long | getNodeID () const |
|
virtual const utils::Quaternion | getRotation () const |
|
virtual const utils::Vector | getPosition () const |
|
| SensorInterface (ControlCenter *center) |
|
virtual | ~SensorInterface () |
|
| BaseGridIntersectionSensor (unsigned long id, std::string name, int cols, int rows, double stepX, double stepY, double maxDistance=std::numeric_limits< double >::infinity()) |
|
virtual | ~BaseGridIntersectionSensor () |
|
| 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 |
|
virtual configmaps::ConfigMap | createConfig () const |
|
| BaseArraySensor (int cols, int rows, int channels=1) |
|
virtual | ~BaseArraySensor () |
|
const std::vector< double > | getData () const |
|
const int & | getCols () const |
|
const int & | getRows () const |
|
const int & | getChannels () const |
|
double & | operator[] (const int &index) |
|
virtual void | resize (int cols, int rows, int channels=1) |
|
| ReceiverInterface () |
|
virtual | ~ReceiverInterface () |
|
virtual | ~DrawInterface () |
|
Definition at line 44 of file RayGridSensor.h.
◆ RayGridSensor()
mars::sim::RayGridSensor::RayGridSensor |
( |
interfaces::ControlCenter * |
control, |
|
|
const unsigned long |
id, |
|
|
const std::string & |
name |
|
) |
| |
◆ ~RayGridSensor()
mars::sim::RayGridSensor::~RayGridSensor |
( |
void |
| ) |
|
◆ getMonsterData()
int mars::sim::RayGridSensor::getMonsterData |
( |
char * |
data | ) |
const |
|
virtual |
◆ getNodeID()
unsigned long mars::sim::RayGridSensor::getNodeID |
( |
void |
| ) |
const |
|
virtual |
◆ getPosition()
const Vector mars::sim::RayGridSensor::getPosition |
( |
void |
| ) |
const |
|
virtual |
◆ getRotation()
const Quaternion mars::sim::RayGridSensor::getRotation |
( |
void |
| ) |
const |
|
virtual |
◆ getSensorData()
◆ receiveData()
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.
- Parameters
-
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 131 of file RayGridSensor.cpp.
◆ setLaserDistanceRange()
◆ setMatrixDimensions()
void mars::sim::RayGridSensor::setMatrixDimensions |
( |
int |
numRows, |
|
|
int |
numCols |
|
) |
| |
|
virtual |
◆ setMatrixSpacing()
◆ update()
◆ updateDrawItems()
void mars::sim::RayGridSensor::updateDrawItems |
( |
| ) |
|
|
private |
◆ updateSensorPositions()
void mars::sim::RayGridSensor::updateSensorPositions |
( |
| ) |
|
|
private |
◆ draw
◆ node_id
unsigned long mars::sim::RayGridSensor::node_id |
|
private |
◆ pos
◆ positionIndices
long mars::sim::RayGridSensor::positionIndices[3] |
|
private |
◆ rot
◆ rotationIndices
long mars::sim::RayGridSensor::rotationIndices[4] |
|
private |
The documentation for this class was generated from the following files: