#include <Ultrasonic.h>
Public Member Functions | |
virtual void | deviceAck (const DeviceAck *ack) |
Ultrasonic (byte id, TransportLayer *transportLayer, byte pin, std::string topicName, std::string frameId, std::string sonarName) | |
virtual void | update (const DeviceMessage *deviceMessage) |
virtual void | write () |
Protected Member Functions | |
virtual void | buildDevice () |
Private Attributes | |
double | _analog2Range |
std::string | _frameId |
byte | _pin |
std::string | _topicName |
ros::Publisher | _ultrasonicRead |
Definition at line 25 of file Ultrasonic.h.
robotican_hardware::Ultrasonic::Ultrasonic | ( | byte | id, |
TransportLayer * | transportLayer, | ||
byte | pin, | ||
std::string | topicName, | ||
std::string | frameId, | ||
std::string | sonarName | ||
) |
Definition at line 6 of file Ultrasonic.cpp.
void robotican_hardware::Ultrasonic::buildDevice | ( | ) | [protected, virtual] |
Implements robotican_hardware::Device.
Definition at line 49 of file Ultrasonic.cpp.
void robotican_hardware::Ultrasonic::deviceAck | ( | const DeviceAck * | ack | ) | [virtual] |
Reimplemented from robotican_hardware::Device.
Definition at line 61 of file Ultrasonic.cpp.
void robotican_hardware::Ultrasonic::update | ( | const DeviceMessage * | deviceMessage | ) | [virtual] |
Implements robotican_hardware::Device.
Definition at line 24 of file Ultrasonic.cpp.
void robotican_hardware::Ultrasonic::write | ( | ) | [virtual] |
Implements robotican_hardware::Device.
Definition at line 45 of file Ultrasonic.cpp.
double robotican_hardware::Ultrasonic::_analog2Range [private] |
Definition at line 30 of file Ultrasonic.h.
Definition at line 29 of file Ultrasonic.h.
byte robotican_hardware::Ultrasonic::_pin [private] |
Definition at line 27 of file Ultrasonic.h.
Definition at line 28 of file Ultrasonic.h.
Definition at line 31 of file Ultrasonic.h.