#include <HapticFieldSensor.h>
|
| HapticFieldSensor (interfaces::ControlCenter *control, HapticFieldConfig config) |
|
| ~HapticFieldSensor () |
|
virtual int | getAsciiData (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 | produceData (const data_broker::DataInfo &info, data_broker::DataPackage *package, int callbackParam) |
|
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...
|
|
| 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 |
|
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) |
|
| ProducerInterface () |
|
virtual | ~ProducerInterface () |
|
| ReceiverInterface () |
|
virtual | ~ReceiverInterface () |
|
virtual | ~DrawInterface () |
|
Definition at line 81 of file HapticFieldSensor.h.
◆ HapticFieldSensor()
◆ ~HapticFieldSensor()
mars::sim::HapticFieldSensor::~HapticFieldSensor |
( |
void |
| ) |
|
◆ computeForces()
void mars::sim::HapticFieldSensor::computeForces |
( |
| ) |
|
|
private |
◆ getAsciiData()
int mars::sim::HapticFieldSensor::getAsciiData |
( |
char * |
data | ) |
const |
|
virtual |
◆ getSensorData()
◆ instanciate()
◆ parseConfig()
◆ produceData()
◆ 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 169 of file HapticFieldSensor.cpp.
◆ update()
◆ config
◆ contact
bool mars::sim::HapticFieldSensor::contact |
|
private |
◆ contactForce
double mars::sim::HapticFieldSensor::contactForce |
|
private |
◆ contactForceIndex
int mars::sim::HapticFieldSensor::contactForceIndex |
|
private |
◆ contactIndex
int mars::sim::HapticFieldSensor::contactIndex |
|
private |
◆ dbPackage
◆ dbPushId
unsigned long mars::sim::HapticFieldSensor::dbPushId |
|
private |
◆ draw
◆ fieldheight
double mars::sim::HapticFieldSensor::fieldheight |
|
private |
◆ fieldwidth
double mars::sim::HapticFieldSensor::fieldwidth |
|
private |
◆ forces
std::vector<double> mars::sim::HapticFieldSensor::forces |
|
private |
◆ haveUpdate
bool mars::sim::HapticFieldSensor::haveUpdate |
|
private |
◆ positionIndices
long mars::sim::HapticFieldSensor::positionIndices[3] |
|
private |
◆ ray
◆ rotationIndices
long mars::sim::HapticFieldSensor::rotationIndices[4] |
|
private |
◆ sensorpoints
std::vector<utils::Vector> mars::sim::HapticFieldSensor::sensorpoints |
|
private |
◆ weights
std::vector<double> mars::sim::HapticFieldSensor::weights |
|
private |
The documentation for this class was generated from the following files: