26 #include <blackboard/remote.h>
27 #include <interfaces/SwitchInterface.h>
28 #include <utils/system/argparser.h>
35 main(
int argc,
char **argv)
42 if (argp.has_arg(
"1")) {
44 }
else if (argp.has_arg(
"0")) {
46 }
else if (argp.has_arg(
"d")) {
47 if (!argp.has_arg(
"f")) {
48 printf(
"Argument -d requires to have -f as well\n");
50 float d = argp.parse_float(
"d");
51 float f = argp.parse_float(
"f");
54 }
else if (argp.has_arg(
"f")) {
55 float f = argp.parse_float(
"f");
Parse command line arguments.
The BlackBoard abstract class.
virtual Interface * open_for_reading(const char *interface_type, const char *identifier, const char *owner=NULL)=0
Open interface for reading.
virtual void close(Interface *interface)=0
Close interface.
unsigned int msgq_enqueue(Message *message, bool proxy=false)
Enqueue message at end of queue.
DisableSwitchMessage Fawkes BlackBoard Interface Message.
EnableDurationMessage Fawkes BlackBoard Interface Message.
EnableSwitchMessage Fawkes BlackBoard Interface Message.
SetMessage Fawkes BlackBoard Interface Message.
SwitchInterface Fawkes BlackBoard Interface.
Fawkes library namespace.