Revision 43811241
ID | 43811241b4b22dba6e0abbbbb16af2e6ef041c0d |
Added services to set individual control for visualization tools.
However, there is a bug in the sonar viz for multiple scouts, looking into it now.
scout/scoutsim/src/ghost_scout.h | ||
---|---|---|
84 | 84 |
void paint(wxDC& dc); |
85 | 85 |
|
86 | 86 |
void setPosition(const ::messages::ScoutPosition& msg); |
87 |
std::string get_name(); |
|
88 |
void set_visible(bool vis); |
|
87 | 89 |
|
88 | 90 |
private: |
89 | 91 |
unsigned int rgb_to_grey(unsigned char r, |
... | ... | |
104 | 106 |
|
105 | 107 |
ros::Subscriber position; |
106 | 108 |
|
109 |
bool is_visible; |
|
107 | 110 |
}; |
108 | 111 |
} |
109 | 112 |
|
Also available in: Unified diff