Miscellaneous.h
Go to the documentation of this file.
1 #ifndef MISCELLANEOUS_H
2 #define MISCELLANEOUS_H
3 
5 #include <muse_v2_driver/Battery.h>
6 
7 namespace muse_v2_driver {
8 
10  {
11  public:
12 
13  struct CommandList
14  {
15  bool get_battery_charge = false;
16  bool get_battery_voltage = false;
17 
18  bool operator==(const CommandList& rhs) const {
19  return (
22  );
23  }
24 
26 
28 
29  Miscellaneous() = default;
30  ~Miscellaneous() = default;
31 
33  bool getBattery(Battery::Request& req, Battery::Response& res, MuseV2* muse_v2);
34 
35  };
36 }
37 
38 #endif
muse_v2_driver
Definition: Calibration.h:9
muse_v2_driver::Miscellaneous::~Miscellaneous
~Miscellaneous()=default
muse_v2_driver::Miscellaneous::Miscellaneous
Miscellaneous()=default
muse_v2_driver::Miscellaneous
Definition: Miscellaneous.h:9
muse_v2_driver::Miscellaneous::default_command_list
struct muse_v2_driver::Miscellaneous::CommandList default_command_list
muse_v2_driver::Miscellaneous::getBattery
bool getBattery(Battery::Request &req, Battery::Response &res, MuseV2 *muse_v2)
Definition: Miscellaneous.cpp:8
muse_v2_driver::Miscellaneous::CommandList::get_battery_charge
bool get_battery_charge
Definition: Miscellaneous.h:15
muse_v2_driver::Miscellaneous::received_command
CommandList received_command
Definition: Miscellaneous.h:27
MuseV2.h
muse_v2_driver::Miscellaneous::setupInputCommands
void setupInputCommands(ros::NodeHandle &node)
Definition: Miscellaneous.cpp:3
muse_v2_driver::Miscellaneous::input_command
CommandList input_command
Definition: Miscellaneous.h:27
muse_v2_driver::MuseV2
Definition: MuseV2.h:21
muse_v2_driver::Miscellaneous::CommandList::get_battery_voltage
bool get_battery_voltage
Definition: Miscellaneous.h:16
ros::NodeHandle
muse_v2_driver::Miscellaneous::CommandList
Definition: Miscellaneous.h:13
muse_v2_driver::Miscellaneous::CommandList::operator==
bool operator==(const CommandList &rhs) const
Definition: Miscellaneous.h:18


muse_v2_driver
Author(s): Elisa Tosello , Roberto Bortoletto
autogenerated on Thu Jan 20 2022 03:24:53