|
alt_imagenex
|
#include <Driver.hpp>
Public Member Functions | |
| Driver (int max_packet_size=ALT_REPLY_LEN_ECHO, bool extract_last=false) | |
| void | open (std::string const &uri) |
| void | collectData () |
Public Member Functions inherited from alt_imagenex::AltHandler | |
| AltHandler (int max_packet_size, bool extract_last=false) | |
| AltData | getData () const |
| AltStatus | getStatus () const |
| base::samples::SonarBeam | getEchoData () const |
| void | setGain (const int &gain) |
| void | setRange (const int &range) |
| void | setEcho (bool echoOn) |
| void | setSoundVelocity (double soundVelocity) |
Protected Member Functions | |
| virtual void | read (int timeout) |
| virtual int | extractPacket (uint8_t const *buffer, size_t buffer_size) const |
Protected Member Functions inherited from alt_imagenex::AltHandler | |
| void | sendSwitchCmd () |
| virtual void | parseReply (const std::vector< uint8_t > *buffer) |
Additional Inherited Members | |
Protected Attributes inherited from alt_imagenex::AltHandler | |
| AltData | mData |
| AltStatus | mStatus |
| base::samples::SonarBeam | mEchoData |
| raw::AltSwitchCmd | mSwitchCmd |
| Driver::Driver | ( | int | max_packet_size = ALT_REPLY_LEN_ECHO, |
| bool | extract_last = false |
||
| ) |
| void Driver::collectData | ( | ) |
|
protectedvirtual |
Extract a valid response from incoming Data
| void Driver::open | ( | std::string const & | uri | ) |
Tries to access the device at the provided URI
|
protectedvirtual |
reading reply
1.8.6