25 #ifndef GOBY_MOOS_MOOS_UFIELD_SIM_DRIVER_H
26 #define GOBY_MOOS_MOOS_UFIELD_SIM_DRIVER_H
28 #include <MOOS/libMOOS/Comms/MOOSCommClient.h>
41 class ModemTransmission;
54 void startup(
const goby::acomms::protobuf::DriverConfig& cfg)
override;
60 void send_message(
const goby::acomms::protobuf::ModemTransmission&
msg);
61 void receive_message(
const goby::acomms::protobuf::ModemTransmission&
msg);
64 void ccmpc(
const goby::acomms::protobuf::ModemTransmission&
msg);
69 DEFAULT_PACKET_SIZE = 64
73 NOMINAL_SPEED_OF_SOUND = 1500
75 CMOOSCommClient moos_client_;
76 goby::acomms::protobuf::DriverConfig driver_cfg_;
77 goby::moos::ufld::protobuf::Config ufld_driver_cfg_;
82 int last_ccmpc_dest_{-1};
provides an abstract base class for acoustic modem drivers. This is subclassed by the various drivers...
provides an simulator driver to the uFldNodeComms MOOS module: http://oceanai.mit....
void startup(const goby::acomms::protobuf::DriverConfig &cfg) override
void do_work() override
Allows the modem driver to do its work.
void shutdown() override
Shuts down the modem driver.
void handle_initiate_transmission(const goby::acomms::protobuf::ModemTransmission &m) override
The global namespace for the Goby project.
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyMessageOptions >, 11, false > msg