#include <ScanningSonar.h>
|
| ScanningSonar (interfaces::ControlCenter *control, ScanningSonarConfig _config) |
|
| ~ScanningSonar (void) |
|
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 | preGraphicsUpdate (void) |
|
virtual configmaps::ConfigMap | createConfig () |
|
void | setPingPongConfig (bool ping_pong_mode, float left_limit, float right_limit) |
|
| BaseCameraSensor (unsigned long id, std::string name, int cols, int rows, int nChannels, bool depthImage) |
|
virtual | ~BaseCameraSensor () |
|
bool | isDepthImage () |
|
| 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) |
|
| 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 |
|
| SensorInterface (ControlCenter *center) |
|
virtual | ~SensorInterface () |
|
| ReceiverInterface () |
|
virtual | ~ReceiverInterface () |
|
| GraphicsUpdateInterface (void) |
|
virtual | ~GraphicsUpdateInterface (void) |
|
virtual void | postGraphicsUpdate (void) |
|
Definition at line 90 of file ScanningSonar.h.
◆ ScanningSonar()
◆ ~ScanningSonar()
mars::sim::ScanningSonar::~ScanningSonar |
( |
void |
| ) |
|
◆ createConfig()
ConfigMap mars::sim::ScanningSonar::createConfig |
( |
| ) |
|
|
virtual |
◆ getSensorData()
int mars::sim::ScanningSonar::getSensorData |
( |
double ** |
data | ) |
const |
|
virtual |
◆ instanciate()
◆ parseConfig()
◆ preGraphicsUpdate()
void mars::sim::ScanningSonar::preGraphicsUpdate |
( |
void |
| ) |
|
|
virtual |
◆ 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 244 of file ScanningSonar.cpp.
◆ setPingPongConfig()
void mars::sim::ScanningSonar::setPingPongConfig |
( |
bool |
ping_pong_mode, |
|
|
float |
left_limit, |
|
|
float |
right_limit |
|
) |
| |
◆ attached_motor
unsigned int mars::sim::ScanningSonar::attached_motor |
|
private |
◆ cam_window_id
unsigned long mars::sim::ScanningSonar::cam_window_id |
|
private |
◆ config
◆ dbPosIndices
long mars::sim::ScanningSonar::dbPosIndices[3] |
|
private |
◆ dbRotIndices
long mars::sim::ScanningSonar::dbRotIndices[4] |
|
private |
◆ gc
◆ gw
◆ head_orientation
◆ head_position
◆ jointID
unsigned long mars::sim::ScanningSonar::jointID[2] |
|
private |
◆ motorID
unsigned long mars::sim::ScanningSonar::motorID |
|
private |
◆ nodeID
unsigned long mars::sim::ScanningSonar::nodeID[2] |
|
private |
◆ rayID
unsigned long mars::sim::ScanningSonar::rayID |
|
private |
◆ raySensor
RaySensor* mars::sim::ScanningSonar::raySensor |
|
private |
◆ switch_motor_direction
bool mars::sim::ScanningSonar::switch_motor_direction |
|
private |
The documentation for this class was generated from the following files: