17#include <creos/client_global.hpp>
18#include <creos/messages/gnss.hpp>
19#include <creos/messages/state.hpp>
20#include <creos/messages/user_event.hpp>
21#include <creos/subscription.hpp>
30 static constexpr char name[] =
"diagnostics";
31 static constexpr unsigned version = 1;
The interface for retrieving diagnostic information from an Avular robot.
Definition diagnostics_interface.hpp:28
virtual creos_messages::State getState(int timeout_ms=1500)=0
Get the state of the robot.
virtual SubscriptionId subscribeToUserEvents(const std::function< void(const creos_messages::UserEvent &)> &callback)=0
Subscribe to user events generated by the robot.
virtual SubscriptionId subscribeToState(const std::function< void(const creos_messages::State &)> &callback)=0
Subscribe to state information of the robot.
This type holds an subscription ID.
Definition subscription.hpp:22
The main namespace for the CreOS client library.
The state of the robot.
Definition state.hpp:28
An event meant for a robot user.
Definition user_event.hpp:28