gusimplewhiteboard
TeleoperationControlStatus.hpp
Go to the documentation of this file.
1/*
2 * File: TeleoperationControlStatus.h
3 * Author: eugene
4 *
5 * Created on 10 February 2014, 1:44 PM
6 */
7
8#ifndef TeleoperationControlStatus_DEFINED
9#define TeleoperationControlStatus_DEFINED
10
11#include "MOTION_Interface.h"
12#include "VisionControlStatus.h"
13#include "wb_teleoperation.h"
14#include <gu_util.h>
15namespace guWhiteboard
16{
33public:
36 VERSION_PROPERTY_INITIALIZATION(action)
37 VERSION_PROPERTY_INITIALIZATION(stance)
38 }
39
42 reset_action_version();
43 reset_stance_version();
44 }
45
46 std::string description(){
47 std::stringstream desc;
48 desc << controlRobot();
49 desc << controlNum();
50 return desc.str();
51 }
52
53 void from_string(const std::string &/*str*/) {
54 printf("NYI!\n");
55 }
56
57private:
59 VERSIONED_PROPERTY(guWhiteboard::Motions::action, action)
61 VERSIONED_PROPERTY(guWhiteboard::Motions::stance, stance)
63 PROPERTY(StreamingType, streamType)
65 PROPERTY(VisionCamera, selectedCamera)
66};
67}
68#endif /* TeleoperationControlStatus_DEFINED */
69
Class to teleoperate a robot remotely.
void resetVersions()
Reset the version numbers of the action and stance properties.
action
enum values for all actions that can be done
stance
enum values for all stances
/file APM_Interface.h
struct for the teleoperation class
PROPERTY(int, fowardWalkSpeed) PROPERTY(float
The forward speed.
StreamingType
Streaming modes available in vision.
VisionCamera
Enum of available camera's that can be used by vision.