#include <SeaNetEchosounder.hpp>
| sea_net::Echosounder::Echosounder |
( |
| ) |
|
| sea_net::Echosounder::~Echosounder |
( |
| ) |
|
| int sea_net::Echosounder::extractPacket |
( |
uint8_t const * |
buffer, |
|
|
size_t |
buffer_size |
|
) |
| const |
|
protectedvirtual |
| bool sea_net::Echosounder::getDistance |
( |
base::samples::RigidBodyState & |
state, |
|
|
int |
timeout |
|
) |
| |
Reads one packat from the input buffer and returns its type. Use getAuxData, getVersion ... depending on the returned type to get the content of the package
| void sea_net::Echosounder::openSerial |
( |
std::string const & |
port, |
|
|
int |
baudrate = 115200 |
|
) |
| |
Opens a serial port and sets it up to a sane configuration.
Throws UnixError on error
| uint8_t sea_net::Echosounder::buffer[50] |
|
protected |
The documentation for this class was generated from the following files: