Browse Source

ajout de traceur pour la qualité d'image

Sébastien DI MERCURIO 5 years ago
parent
commit
5da49a7e59
81 changed files with 4949 additions and 694 deletions
  1. 25
    2
      software/monitor/monitor/Client.cs
  2. 35
    7
      software/monitor/monitor/CommandManager.cs
  3. 176
    39
      software/monitor/monitor/DestijlCommandManager.cs
  4. 2494
    0
      software/monitor/monitor/Doxyfile
  5. 192
    23
      software/monitor/monitor/MonitorUI.cs
  6. 22
    1
      software/monitor/monitor/Program.cs
  7. 3
    0
      software/monitor/monitor/afterBuild.sh
  8. 19
    19
      software/monitor/monitor/docs/html/_client_8cs_source.html
  9. 23
    23
      software/monitor/monitor/docs/html/_command_manager_8cs_source.html
  10. 3
    0
      software/monitor/monitor/docs/html/_destijl_command_manager_8cs.html
  11. 67
    68
      software/monitor/monitor/docs/html/_destijl_command_manager_8cs_source.html
  12. 1
    1
      software/monitor/monitor/docs/html/_monitor_u_i_8cs.html
  13. 49
    49
      software/monitor/monitor/docs/html/_monitor_u_i_8cs_source.html
  14. 5
    5
      software/monitor/monitor/docs/html/_program_8cs_source.html
  15. 4
    4
      software/monitor/monitor/docs/html/annotated.html
  16. 193
    27
      software/monitor/monitor/docs/html/class_main_window.html
  17. 1
    1
      software/monitor/monitor/docs/html/class_main_window__coll__graph.map
  18. 1
    1
      software/monitor/monitor/docs/html/class_main_window__coll__graph.md5
  19. 18
    18
      software/monitor/monitor/docs/html/classmonitor_1_1_client.html
  20. 16
    18
      software/monitor/monitor/docs/html/classmonitor_1_1_command_manager.html
  21. 26
    22
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_list.html
  22. 2
    3
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager-members.html
  23. 214
    80
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager.html
  24. 0
    1
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager.js
  25. 2
    2
      software/monitor/monitor/docs/html/classmonitor_1_1_main_class.html
  26. 16
    12
      software/monitor/monitor/docs/html/classmonitor_1_1_robot_command_list.html
  27. 3
    6
      software/monitor/monitor/docs/html/functions.html
  28. 0
    3
      software/monitor/monitor/docs/html/functions_func.html
  29. 4
    4
      software/monitor/monitor/docs/html/hierarchy.html
  30. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_0.map
  31. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_0.md5
  32. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_3.map
  33. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_3.md5
  34. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_4.map
  35. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_4.md5
  36. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_6.map
  37. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_6.md5
  38. 4
    4
      software/monitor/monitor/docs/html/inherits.html
  39. 3
    0
      software/monitor/monitor/docs/html/namespacemonitor.html
  40. 5
    6
      software/monitor/monitor/docs/html/navtreeindex0.js
  41. 1
    2
      software/monitor/monitor/docs/html/search/all_b.js
  42. 1
    1
      software/monitor/monitor/docs/html/search/all_c.js
  43. 1
    2
      software/monitor/monitor/docs/html/search/functions_6.js
  44. 3
    3
      software/monitor/monitor/docs/latex/_destijl_command_manager_8cs.tex
  45. 1
    1
      software/monitor/monitor/docs/latex/_monitor_u_i_8cs.tex
  46. 4
    4
      software/monitor/monitor/docs/latex/annotated.tex
  47. 238
    49
      software/monitor/monitor/docs/latex/class_main_window.tex
  48. 1
    1
      software/monitor/monitor/docs/latex/class_main_window__coll__graph.md5
  49. BIN
      software/monitor/monitor/docs/latex/class_main_window__coll__graph.pdf
  50. 18
    18
      software/monitor/monitor/docs/latex/classmonitor_1_1_client.tex
  51. 17
    18
      software/monitor/monitor/docs/latex/classmonitor_1_1_command_manager.tex
  52. 28
    21
      software/monitor/monitor/docs/latex/classmonitor_1_1_destijl_command_list.tex
  53. 316
    75
      software/monitor/monitor/docs/latex/classmonitor_1_1_destijl_command_manager.tex
  54. 2
    2
      software/monitor/monitor/docs/latex/classmonitor_1_1_main_class.tex
  55. 18
    11
      software/monitor/monitor/docs/latex/classmonitor_1_1_robot_command_list.tex
  56. 3
    3
      software/monitor/monitor/docs/latex/namespacemonitor.tex
  57. BIN
      software/monitor/monitor/monitor
  58. 13
    0
      software/monitor/monitor/monitor.csproj
  59. 1
    1
      software/raspberry/superviseur-robot/lib/src/image.cpp
  60. 119
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-Debug__RPI_.mk
  61. 1
    1
      software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-impl.mk
  62. 8
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-variables.mk
  63. 76
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/Package-Debug__RPI_.bash
  64. 37
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/configurations.xml
  65. 1
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/private/Makefile-variables.mk
  66. 33
    2
      software/raspberry/superviseur-robot/superviseur/nbproject/private/configurations.xml
  67. 1
    3
      software/raspberry/superviseur-robot/superviseur/nbproject/private/private.xml
  68. 4
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/project.xml
  69. 10
    9
      software/raspberry/testeur/testeur/main.cpp
  70. 107
    0
      software/raspberry/testeur/testeur/nbproject/Makefile-Debug-rpi.mk
  71. 5
    5
      software/raspberry/testeur/testeur/nbproject/Makefile-Debug.mk
  72. 1
    1
      software/raspberry/testeur/testeur/nbproject/Makefile-impl.mk
  73. 8
    0
      software/raspberry/testeur/testeur/nbproject/Makefile-variables.mk
  74. 76
    0
      software/raspberry/testeur/testeur/nbproject/Package-Debug-rpi.bash
  75. 95
    0
      software/raspberry/testeur/testeur/nbproject/configurations.xml
  76. 1
    0
      software/raspberry/testeur/testeur/nbproject/private/Makefile-variables.mk
  77. 35
    2
      software/raspberry/testeur/testeur/nbproject/private/configurations.xml
  78. 0
    0
      software/raspberry/testeur/testeur/nbproject/private/downloads-10.105.1.13-pi-22
  79. 1
    2
      software/raspberry/testeur/testeur/nbproject/private/private.xml
  80. 26
    0
      software/raspberry/testeur/testeur/nbproject/private/timestamps-10.105.1.13-pi-22
  81. 4
    0
      software/raspberry/testeur/testeur/nbproject/project.xml

+ 25
- 2
software/monitor/monitor/Client.cs View File

@@ -1,4 +1,25 @@
1
-using System;
1
+//
2
+//  Client.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System;
2 23
 using System.Net.Sockets;
3 24
 using System.Text;
4 25
 
@@ -17,7 +38,7 @@ namespace monitor
17 38
         /// <summary>
18 39
         /// Default server port number
19 40
         /// </summary>
20
-        public const int defaultPort = 4500;
41
+        public const int defaultPort = 5544;
21 42
 
22 43
         /// <summary>
23 44
         /// Tcp client object
@@ -186,6 +207,8 @@ namespace monitor
186 207
                 }
187 208
 
188 209
                 // Prepare for reading new data
210
+                if (newLength> BufferMaxSize) newLength = BufferMaxSize;
211
+                if (newLength <= 0) newLength = 1;
189 212
                 stream.BeginRead(buffer, 0, newLength, new AsyncCallback(ReadCallback), message);
190 213
             }
191 214
         }

+ 35
- 7
software/monitor/monitor/CommandManager.cs View File

@@ -1,4 +1,25 @@
1
-using System.Threading;
1
+//
2
+//  CommandManager.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System.Threading;
2 23
 
3 24
 namespace monitor
4 25
 {
@@ -158,24 +179,31 @@ namespace monitor
158 179
             {
159 180
                 isBusy = true;
160 181
 
182
+                // Send command to server
161 183
                 Client.Write(cmd);
162 184
 
163
-                if (timeout > 0) // la commande attend un acquitement
185
+                if (timeout > 0) // Command request an acknowledge
164 186
                 {
165
-                    waitForAcknowledge = true;
187
+                    
188
+                    waitForAcknowledge = true;  // Flag used in OnMessageReception callback to avoid
189
+                                                // sending acknowledge message to upper level
166 190
                     waitTimer.Interval = timeout;
167
-                    waitTimer.Start();
191
+                    waitTimer.Start();          // Start timeout timer
168 192
 
169
-                    waitEvent.WaitOne();
170
-                    waitEvent.Reset(); // remise à zero pour une prochaine commande
193
+                    waitEvent.WaitOne();        // Stop current thread, waiting for waitEvent semaphore 
194
+                                                // produced in OnMessageReception when either a message is received
195
+                                                // or a timeout occur
171 196
 
172
-                    if (this.messageReceived == null) // timeout: connection au serveur defectueuse
197
+                    waitEvent.Reset();          // reset semaphore for next message
198
+
199
+                    if (this.messageReceived == null) // timeout: server connection error
173 200
                     {
174 201
                         status = CommandManagerStatus.Timeout;
175 202
                     }
176 203
                 }
177 204
                 else isBusy = false;
178 205
 
206
+                // return received answer, null in case of timeout
179 207
                 answer = this.messageReceived;
180 208
                 this.messageReceived = null;
181 209
             }

+ 176
- 39
software/monitor/monitor/DestijlCommandManager.cs View File

@@ -1,8 +1,32 @@
1
-using System;
1
+//
2
+//  DestijlCommandManager.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System;
2 23
 
3 24
 namespace monitor
4 25
 {
5
-    public class DestijlCommandList
26
+    /// <summary>
27
+    /// Commands and options parameters used in Destijl project when communicating with server
28
+    /// </summary>
29
+    public static class DestijlCommandList
6 30
     {
7 31
         public const string HeaderMtsComDmb = "COM";
8 32
         public const string HeaderMtsDmbOrder = "DMB";
@@ -29,7 +53,10 @@ namespace monitor
29 53
         public const string HeaderStmBat = "BAT";
30 54
     }
31 55
 
32
-    public class RobotCommandList
56
+    /// <summary>
57
+    /// Commands used for robot messages
58
+    /// </summary>
59
+    public static class RobotCommandList
33 60
     {
34 61
         public const string RobotPing = "p";
35 62
         public const string RobotReset = "r";
@@ -43,18 +70,40 @@ namespace monitor
43 70
         public const string RobotPowerOff = "z";
44 71
     }
45 72
 
73
+    /// <summary>
74
+    /// Specialization class for command manager, which implemnent destijl protocol between monitor and server
75
+    /// </summary>
46 76
     public class DestijlCommandManager
47 77
     {
78
+        /// <summary>
79
+        /// Command Manager object
80
+        /// </summary>
48 81
         private CommandManager commandManager = null;
49 82
 
83
+        /// <summary>
84
+        /// Part of received message corresponding to command header
85
+        /// </summary>
50 86
         private string receivedHeader = null;
87
+
88
+        /// <summary>
89
+        /// Part of received message corresponding to command data
90
+        /// </summary>
51 91
         private string receivedData = null;
52 92
 
93
+        /// <summary>
94
+        /// Callback for sending received data to application level
95
+        /// </summary>
53 96
         public delegate void CommandReceivedEvent(string header, string data, byte[] buffer);
54 97
         public CommandReceivedEvent commandReceivedEvent = null;
55 98
 
56
-        public double timeout = 100; // timeout pour les commandes avec acquitement
99
+        /// <summary>
100
+        /// Timeout used for command with acknowledge
101
+        /// </summary>
102
+        public double timeout = 100; 
57 103
 
104
+        /// <summary>
105
+        /// List of available return status
106
+        /// </summary>
58 107
         public enum CommandStatus
59 108
         {
60 109
             Success,
@@ -65,74 +114,111 @@ namespace monitor
65 114
             CommunicationLostWithServer
66 115
         }
67 116
 
117
+        /// <summary>
118
+        /// Initializes a new instance of the <see cref="monitor.DestijlCommandManager"/> class.
119
+        /// </summary>
120
+        /// <param name="callback">Callback reference for reception of data</param>
68 121
         public DestijlCommandManager(CommandReceivedEvent callback)
69 122
         {
70 123
             commandManager = new CommandManager(OnCommandReceived);
71 124
             this.commandReceivedEvent += callback;
72 125
         }
73 126
 
127
+        /// <summary>
128
+        /// Releases unmanaged resources and performs other cleanup operations before the
129
+        /// <see cref="monitor.DestijlCommandManager"/> is reclaimed by garbage collection.
130
+        /// </summary>
74 131
         ~DestijlCommandManager()
75 132
         {
76 133
             if (commandManager != null) commandManager.Close();
77 134
         }
78 135
 
136
+        /// <summary>
137
+        /// Callback used for receiving data from lower layer (CommandManager class)
138
+        /// </summary>
139
+        /// <param name="msg">String containing received message</param>
140
+        /// <param name="buffer">Raw buffer to be used when data are not in ascii format (image for example)</param>
79 141
         private void OnCommandReceived(string msg, byte[] buffer)
80 142
         {
143
+            // Firstly, split message in (at least) two part : header, and data
81 144
             string[] msgs = msg.Split(':');
82 145
 
146
+            // If it exist at least on element in string array, it should be command header
83 147
             if (msgs.Length >= 1) receivedHeader = msgs[0];
84 148
             else receivedHeader = null;
85 149
 
150
+            // if msgs array contains at least two elements, second element is normally data
86 151
             if (msgs.Length >= 2) receivedData = msgs[1];
87 152
             else receivedData = null;
88 153
 
154
+            // when split is done, provide data to application
89 155
             this.commandReceivedEvent?.Invoke(receivedHeader, receivedData, buffer);
90 156
         }
91 157
 
158
+        /// <summary>
159
+        /// Open the specified hostname server, using default port number.
160
+        /// </summary>
161
+        /// <returns>true if connection succeded, false otherwise</returns>
162
+        /// <param name="hostname">Hostname to connect to</param>
92 163
         public bool Open(string hostname)
93 164
         {
94 165
             return this.Open(hostname, Client.defaultPort);
95 166
         }
96 167
 
168
+        /// <summary>
169
+        /// Open connection to server "host", with port number "port"
170
+        /// </summary>
171
+        /// <returns>true if connection succeded, false otherwise</returns>
172
+        /// <param name="hostname">Hostname to connect to</param>
173
+        /// <param name="port">Port number for connection</param>
97 174
         public bool Open(string hostname, int port)
98 175
         {
99 176
             if (commandManager != null) return commandManager.Open(hostname, port);
100 177
             else return false;
101 178
         }
102 179
 
180
+        /// <summary>
181
+        /// Close connection to server
182
+        /// </summary>
103 183
         public void Close()
104 184
         {
105 185
             if (commandManager != null) commandManager.Close();
106 186
         }
107 187
 
188
+        /// <summary>
189
+        /// Creates the command to send to server, based on header and data provided
190
+        /// </summary>
191
+        /// <returns>The command string</returns>
192
+        /// <param name="header">Header part of the command</param>
193
+        /// <param name="data">Data part of the command</param>
108 194
         private string CreateCommand(string header, string data)
109 195
         {
110 196
             return header + ":" + data;
111 197
         }
112 198
 
113
-        private void SplitCommand(string cmd, out string header, out string data)
114
-        {
115
-            string[] cmdParts = cmd.Split(':');
116
-
117
-            if (cmdParts.Length > 0) header = cmdParts[0];
118
-            else header = null;
119
-
120
-            if (cmdParts.Length > 1) data = cmdParts[1];
121
-            else data = null;
122
-        }
123
-
199
+        /// <summary>
200
+        /// Provide DestijlCommandManager.CommandStatus based on status received by CommandManager.SendCommand and answer string 
201
+        /// </summary>
202
+        /// <returns>Status compatible with DestijlCommandManager.CommandStatus type</returns>
203
+        /// <param name="localStatus">Status provided by CommandManager.SendCommand</param>
204
+        /// <param name="answer">Answer provided by CommandManager.SendCommand</param>
124 205
         private CommandStatus DecodeStatus(CommandManager.CommandManagerStatus localStatus, string answer)
125 206
         {
126 207
             CommandStatus status = CommandStatus.Success;
127 208
 
209
+            // if timeout occures, return CommandStatus.CommunicationLostWithServer
128 210
             if (localStatus == CommandManager.CommandManagerStatus.Timeout) status = CommandStatus.CommunicationLostWithServer;
211
+            // if a command is currently processed, return Busy
129 212
             else if (localStatus == CommandManager.CommandManagerStatus.Busy) status = CommandStatus.Busy;
130 213
             else
131 214
             {
132 215
                 if (answer != null)
133 216
                 {
217
+                    // if command is not acknowledged, return Rejected
134 218
                     if (answer.ToUpper().Contains(DestijlCommandList.HeaderStmNoAck)) status = CommandStatus.Rejected;
219
+                    // if communication is lost with robot, return CommunicationLostWithRobot
135 220
                     else if (answer.ToUpper().Contains(DestijlCommandList.HeaderStmLostDmb)) status = CommandStatus.CommunicationLostWithRobot;
221
+                    // if answer is empty, communication with robot is lost
136 222
                     else if (answer.Length == 0) status = CommandStatus.CommunicationLostWithServer;
137 223
                     //else status = CommandStatus.InvalidAnswer;
138 224
                 }
@@ -141,6 +227,10 @@ namespace monitor
141 227
             return status;
142 228
         }
143 229
 
230
+        /// <summary>
231
+        /// Open communication with robot and wait acknowledge
232
+        /// </summary>
233
+        /// <returns>Command status (see DecodeStatus)</returns>
144 234
         public CommandStatus RobotOpenCom()
145 235
         {
146 236
             CommandManager.CommandManagerStatus localStatus;
@@ -154,6 +244,10 @@ namespace monitor
154 244
             return DecodeStatus(localStatus, answer);
155 245
         }
156 246
 
247
+        /// <summary>
248
+        /// Close communication with robot and wait acknowledge
249
+        /// </summary>
250
+        /// <returns>Command status (see DecodeStatus)</returns>
157 251
         public CommandStatus RobotCloseCom()
158 252
         {
159 253
             CommandManager.CommandManagerStatus localStatus;
@@ -167,6 +261,10 @@ namespace monitor
167 261
             return DecodeStatus(localStatus, answer);
168 262
         }
169 263
 
264
+        /// <summary>
265
+        /// Ping the robot.
266
+        /// </summary>
267
+        /// <returns>Command status (see DecodeStatus)</returns>
170 268
         public CommandStatus RobotPing()
171 269
         {
172 270
             CommandManager.CommandManagerStatus localStatus;
@@ -180,6 +278,10 @@ namespace monitor
180 278
             return DecodeStatus(localStatus, answer);
181 279
         }
182 280
 
281
+        /// <summary>
282
+        /// Reset robot and let it in idle mode
283
+        /// </summary>
284
+        /// <returns>Command status (see DecodeStatus)</returns>
183 285
         public CommandStatus RobotReset()
184 286
         {
185 287
             CommandManager.CommandManagerStatus localStatus;
@@ -193,6 +295,10 @@ namespace monitor
193 295
             return DecodeStatus(localStatus, answer);
194 296
         }
195 297
 
298
+        /// <summary>
299
+        /// Start robot, enabling watchdog
300
+        /// </summary>
301
+        /// <returns>Command status (see DecodeStatus)</returns>
196 302
         public CommandStatus RobotStartWithWatchdog()
197 303
         {
198 304
             CommandManager.CommandManagerStatus localStatus;
@@ -206,6 +312,10 @@ namespace monitor
206 312
             return DecodeStatus(localStatus, answer);
207 313
         }
208 314
 
315
+        /// <summary>
316
+        /// Start robot, without enabling watchdog 
317
+        /// </summary>
318
+        /// <returns>Command status (see DecodeStatus)</returns>
209 319
         public CommandStatus RobotStartWithoutWatchdog()
210 320
         {
211 321
             CommandManager.CommandManagerStatus localStatus;
@@ -219,6 +329,11 @@ namespace monitor
219 329
             return DecodeStatus(localStatus, answer);
220 330
         }
221 331
 
332
+        /// <summary>
333
+        /// Move robot forward or backward, for a distance expressed in millimeter
334
+        /// </summary>
335
+        /// <returns>Command status (see DecodeStatus)</returns>
336
+        /// <param name="distance">Distance of mouvment, in millimeter</param>
222 337
         public CommandStatus RobotMove(int distance)
223 338
         {
224 339
             CommandManager.CommandManagerStatus localStatus;
@@ -232,6 +347,11 @@ namespace monitor
232 347
             return DecodeStatus(localStatus, answer);
233 348
         }
234 349
 
350
+        /// <summary>
351
+        /// Make robot turn left or right, for a given angle
352
+        /// </summary>
353
+        /// <returns>Command status (see DecodeStatus)</returns>
354
+        /// <param name="angle">Angle of turn, in degree (negative for left, positive for right)</param>
235 355
         public CommandStatus RobotTurn(int angle)
236 356
         {
237 357
             CommandManager.CommandManagerStatus localStatus;
@@ -245,14 +365,13 @@ namespace monitor
245 365
             return DecodeStatus(localStatus, answer);
246 366
         }
247 367
 
248
-        //public CommandStatus RobotGetBattery(out int battery)
368
+        /// <summary>
369
+        /// Request robot battery level
370
+        /// </summary>
371
+        /// <returns>Command status (see DecodeStatus)</returns>
249 372
         public CommandStatus RobotGetBattery()
250 373
         {
251 374
             CommandManager.CommandManagerStatus localStatus;
252
-            //CommandStatus status = CommandStatus.Success;
253
-
254
-            //battery = -1;
255
-
256 375
             string answer;
257 376
 
258 377
             localStatus = commandManager.SendCommand(
@@ -260,32 +379,18 @@ namespace monitor
260 379
                 out answer,
261 380
                 0);
262 381
 
263
-            //if (localStatus == CommandManager.CommandManagerStatus.AnswerReceived) {
264
-            //    string[] msg = answer.Split(':');
265
-
266
-            //    if (msg.Length > 1)
267
-            //    {
268
-            //        try
269
-            //        {
270
-            //            battery = Convert.ToInt32(msg[1]);
271
-            //        }
272
-            //        catch (Exception) { }
273
-            //    }
274
-            //}
275
-            //else if (localStatus == CommandManager.CommandManagerStatus.Timeout)
276
-            //{
277
-            //    status = CommandStatus.CommunicationLostWithServer;
278
-            //}
279
-
280
-            //return status;
281 382
             return DecodeStatus(localStatus, answer);
282 383
         }
283 384
 
385
+        /// <summary>
386
+        /// Request robot firmware version
387
+        /// </summary>
388
+        /// <returns>Command status (see DecodeStatus)</returns>
389
+        /// <param name="version">todo</param>
284 390
         public CommandStatus RobotGetVersion(out string version)
285 391
         {
286 392
             CommandManager.CommandManagerStatus localStatus;
287 393
             CommandStatus status = CommandStatus.Success;
288
-
289 394
             version = "";
290 395
 
291 396
             string answer;
@@ -312,6 +417,10 @@ namespace monitor
312 417
             return status;
313 418
         }
314 419
 
420
+        /// <summary>
421
+        /// Power off robot
422
+        /// </summary>
423
+        /// <returns>Command status (see DecodeStatus)</returns>
315 424
         public CommandStatus RobotPowerOff()
316 425
         {
317 426
             CommandManager.CommandManagerStatus localStatus;
@@ -325,6 +434,10 @@ namespace monitor
325 434
             return DecodeStatus(localStatus, answer);
326 435
         }
327 436
 
437
+        /// <summary>
438
+        /// Open camera on remote device
439
+        /// </summary>
440
+        /// <returns>Command status (see DecodeStatus)</returns>
328 441
         public CommandStatus CameraOpen()
329 442
         {
330 443
             CommandManager.CommandManagerStatus localStatus;
@@ -338,6 +451,10 @@ namespace monitor
338 451
             return DecodeStatus(localStatus, answer);
339 452
         }
340 453
 
454
+        /// <summary>
455
+        /// Close camera on remote device
456
+        /// </summary>
457
+        /// <returns>Command status (see DecodeStatus)</returns>
341 458
         public CommandStatus CameraClose()
342 459
         {
343 460
             CommandManager.CommandManagerStatus localStatus;
@@ -351,6 +468,10 @@ namespace monitor
351 468
             return DecodeStatus(localStatus, answer);
352 469
         }
353 470
 
471
+        /// <summary>
472
+        /// Request still image of detected arena
473
+        /// </summary>
474
+        /// <returns>Command status (see DecodeStatus)</returns>
354 475
         public CommandStatus CameraAskArena()
355 476
         {
356 477
             CommandManager.CommandManagerStatus localStatus;
@@ -364,6 +485,10 @@ namespace monitor
364 485
             return DecodeStatus(localStatus, answer);
365 486
         }
366 487
 
488
+        /// <summary>
489
+        /// Confirm arena detection (after requesting image of detected arena, using CameraAskArena
490
+        /// </summary>
491
+        /// <returns>Command status (see DecodeStatus)</returns>
367 492
         public CommandStatus CameraArenaConfirm()
368 493
         {
369 494
             CommandManager.CommandManagerStatus localStatus;
@@ -377,6 +502,10 @@ namespace monitor
377 502
             return DecodeStatus(localStatus, answer);
378 503
         }
379 504
 
505
+        /// <summary>
506
+        /// Reject arena detected (after requesting image of detected arena, using CameraAskArena
507
+        /// </summary>
508
+        /// <returns>Command status (see DecodeStatus)</returns>
380 509
         public CommandStatus CameraArenaInfirm()
381 510
         {
382 511
             CommandManager.CommandManagerStatus localStatus;
@@ -390,6 +519,10 @@ namespace monitor
390 519
             return DecodeStatus(localStatus, answer);
391 520
         }
392 521
 
522
+        /// <summary>
523
+        /// Request robot position computing
524
+        /// </summary>
525
+        /// <returns>Command status (see DecodeStatus)</returns>
393 526
         public CommandStatus CameraComputePosition()
394 527
         {
395 528
             CommandManager.CommandManagerStatus localStatus;
@@ -403,6 +536,10 @@ namespace monitor
403 536
             return DecodeStatus(localStatus, answer);
404 537
         }
405 538
 
539
+        /// <summary>
540
+        /// Stop robot position computing
541
+        /// </summary>
542
+        /// <returns>Command status (see DecodeStatus)</returns>
406 543
         public CommandStatus CameraStopComputePosition()
407 544
         {
408 545
             CommandManager.CommandManagerStatus localStatus;

+ 2494
- 0
software/monitor/monitor/Doxyfile
File diff suppressed because it is too large
View File


+ 192
- 23
software/monitor/monitor/MonitorUI.cs View File

@@ -1,17 +1,49 @@
1
-using System;
1
+//
2
+//  MonitorUI.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+
23
+using System;
2 24
 using Gtk;
3 25
 using Gdk;
4 26
 
5 27
 using monitor;
6 28
 
7 29
 /// <summary>
8
-/// Main window.
30
+/// Main part of the program, behavior of main window
9 31
 /// </summary>
10 32
 public partial class MainWindow : Gtk.Window
11 33
 {
34
+    /// <summary>
35
+    /// Destijl command manager reference
36
+    /// </summary>
12 37
     private DestijlCommandManager cmdManager;
38
+
39
+    /// <summary>
40
+    /// Pixbuffer used for displaying image
41
+    /// </summary>
13 42
     private Pixbuf drawingareaCameraPixbuf;
14 43
 
44
+    /// <summary>
45
+    /// List of availble state for the application
46
+    /// </summary>
15 47
     enum SystemState
16 48
     {
17 49
         NotConnected,
@@ -19,38 +51,57 @@ public partial class MainWindow : Gtk.Window
19 51
         RobotConnected
20 52
     };
21 53
 
54
+    /// <summary>
55
+    /// The state of the system. Can take a value from SystemState
56
+    /// </summary>
22 57
     private SystemState systemState = SystemState.NotConnected;
58
+
59
+    /// <summary>
60
+    /// Timer for battery request
61
+    /// </summary>
23 62
     private System.Timers.Timer batteryTimer;
24 63
 
64
+    private int imageReceivedCounter = 0;
65
+    private int badImageReceivedCounter = 0;
66
+
67
+    /// <summary>
68
+    /// Initializes a new instance of the <see cref="MainWindow"/> class.
69
+    /// </summary>
25 70
     public MainWindow() : base(Gtk.WindowType.Toplevel)
26 71
     {
27 72
         Build();
28 73
 
29 74
         cmdManager = new DestijlCommandManager(OnCommandReceivedEvent);
30 75
 
76
+        // create new timer for battery request, every 10s
31 77
         batteryTimer = new System.Timers.Timer(10000.0);
32 78
         batteryTimer.Elapsed += OnBatteryTimerElapsed;
33 79
 
80
+        // Customize controls
34 81
         AdjustControls();
35
-        PixbufFormat[] format = Gdk.Pixbuf.Formats;
36
-        foreach (PixbufFormat f in format)
37
-        {
38
-            Console.WriteLine("Format: " + f.Name);
39
-        }
40 82
     }
41 83
 
84
+    /// <summary>
85
+    /// Make some adjustement to controls, like disabling some controls
86
+    /// </summary>
42 87
     public void AdjustControls()
43 88
     {
89
+        // Change state of system, and grey every controls not needed
44 90
         ChangeState(SystemState.NotConnected);
45 91
 
46
-        drawingareaCameraPixbuf = new Pixbuf((string)null);
92
+        // Load "no picture" image from disque
47 93
         drawingareaCameraPixbuf = Pixbuf.LoadFromResource("monitor.ressources.missing_picture.png");
48 94
 
95
+        // setup server controls
49 96
         entryServerName.Text = Client.defaultIP;
50 97
         entryServerPort.Text = Client.defaultPort.ToString();
51
-        entryTimeout.Text = "10000";
98
+        entryTimeout.Text = "1000";
52 99
     }
53 100
 
101
+    /// <summary>
102
+    /// Method used to change controls visibility (greyed or not) depending on current state
103
+    /// </summary>
104
+    /// <param name="newState">New state</param>
54 105
     private void ChangeState(SystemState newState)
55 106
     {
56 107
         switch (newState)
@@ -117,6 +168,13 @@ public partial class MainWindow : Gtk.Window
117 168
         systemState = newState;
118 169
     }
119 170
 
171
+    /// <summary>
172
+    /// Display a popup message window
173
+    /// </summary>
174
+    /// <param name="type">Type of popup window (question, error, information,...)</param>
175
+    /// <param name="buttons">Buttons available on popup window</param>
176
+    /// <param name="title">Title of window</param>
177
+    /// <param name="message">Message</param>
120 178
     private void MessagePopup(MessageType type, ButtonsType buttons, string title, string message)
121 179
     {
122 180
         MessageDialog md = new MessageDialog(this, DialogFlags.DestroyWithParent, type, buttons, message)
@@ -128,6 +186,11 @@ public partial class MainWindow : Gtk.Window
128 186
         md.Destroy();
129 187
     }
130 188
 
189
+    /// <summary>
190
+    /// Callback called when delete event is sent by window
191
+    /// </summary>
192
+    /// <param name="sender">Sender object</param>
193
+    /// <param name="a">Not really sure of what it is...</param>
131 194
     protected void OnDeleteEvent(object sender, DeleteEventArgs a)
132 195
     {
133 196
         Console.WriteLine("Bye bye");
@@ -137,16 +200,27 @@ public partial class MainWindow : Gtk.Window
137 200
         a.RetVal = true;
138 201
     }
139 202
 
203
+    /// <summary>
204
+    /// Callback called when new message is received from server
205
+    /// </summary>
206
+    /// <param name="header">Header of message</param>
207
+    /// <param name="data">Data of message</param>
208
+    /// <param name="buffer">Raw buffer corresponding of received message</param>
140 209
     public void OnCommandReceivedEvent(string header, string data, byte[] buffer)
141 210
     {
211
+        // if we have received a valid message
142 212
         if (header != null)
143 213
         {
214
+#if DEBUG
215
+            // print message content
144 216
             Console.WriteLine("Received header (" + header.Length + "): " + header);
145 217
             if (header.ToUpper() != DestijlCommandList.HeaderStmImage)
146 218
             {
147 219
                 if (data != null) Console.WriteLine("Received data (" + data.Length + "): " + data);
148 220
             }
149
-
221
+#endif
222
+            // depending on message received (based on header)
223
+            // launch correponding action
150 224
             if (header.ToUpper() == DestijlCommandList.HeaderStmBat)
151 225
             {
152 226
                 switch (data[0])
@@ -167,15 +241,35 @@ public partial class MainWindow : Gtk.Window
167 241
             }
168 242
             else if (header.ToUpper() == DestijlCommandList.HeaderStmImage)
169 243
             {
244
+                // if message is an image, convert it to a pixbuf
245
+                // that can be displayed
170 246
                 byte[] image = new byte[buffer.Length - 4];
171 247
                 System.Buffer.BlockCopy(buffer, 4, image, 0, image.Length);
172 248
 
173
-                drawingareaCameraPixbuf = new Pixbuf(image);
174
-                drawingAreaCamera.QueueDraw();
249
+                imageReceivedCounter++;
250
+                try
251
+                {
252
+                    drawingareaCameraPixbuf = new Pixbuf(image);
253
+                    drawingAreaCamera.QueueDraw();
254
+                }
255
+                catch (GLib.GException)
256
+                {
257
+                    badImageReceivedCounter++;
258
+#if DEBUG
259
+                    Console.WriteLine("Bad Image: " + badImageReceivedCounter +
260
+                                      " / " + imageReceivedCounter +
261
+                                      " (" + badImageReceivedCounter * 100 / imageReceivedCounter + "%)");
262
+#endif                    
263
+                }
175 264
             }
176 265
         }
177 266
     }
178 267
 
268
+    /// <summary>
269
+    /// Callback called by "quit" menu
270
+    /// </summary>
271
+    /// <param name="sender">Sender object</param>
272
+    /// <param name="e">Event</param>
179 273
     protected void OnQuitActionActivated(object sender, EventArgs e)
180 274
     {
181 275
         Console.WriteLine("Bye bye 2");
@@ -184,6 +278,11 @@ public partial class MainWindow : Gtk.Window
184 278
         Application.Quit();
185 279
     }
186 280
 
281
+    /// <summary>
282
+    /// Callback called by "show log" menu
283
+    /// </summary>
284
+    /// <param name="sender">Sender object</param>
285
+    /// <param name="e">Event</param>
187 286
     protected void OnShowLogWindowActionActivated(object sender, EventArgs e)
188 287
     {
189 288
         MessagePopup(MessageType.Info,
@@ -191,16 +290,24 @@ public partial class MainWindow : Gtk.Window
191 290
                      "Logger not yet implemented");
192 291
     }
193 292
 
293
+    /// <summary>
294
+    /// Callback called by "buttonServerConnection" button
295
+    /// </summary>
296
+    /// <param name="sender">Sender object</param>
297
+    /// <param name="e">Event</param>
194 298
     protected void OnButtonServerConnectionClicked(object sender, EventArgs e)
195 299
     {
196 300
         DestijlCommandManager.CommandStatus statusCmd;
197 301
 
302
+        // if we are currently connected
198 303
         if (buttonServerConnection.Label == "Disconnect")
199 304
         {
305
+            // Change state to disconnect and close connection
200 306
             ChangeState(SystemState.NotConnected);
201 307
         }
202
-        else
308
+        else // we are not currently connected to server
203 309
         {
310
+            // if information about hostname or port are invalid, show a popup error
204 311
             if ((entryServerName.Text == "") || (entryServerPort.Text == ""))
205 312
             {
206 313
                 MessagePopup(MessageType.Error,
@@ -212,6 +319,7 @@ public partial class MainWindow : Gtk.Window
212 319
                 Console.WriteLine("Connecting to " + entryServerName.Text + ":" + entryServerPort.Text);
213 320
                 bool status = false;
214 321
 
322
+                // try to convert timout string value to double. If that failed, default to 100 ms
215 323
                 try
216 324
                 {
217 325
                     cmdManager.timeout = Convert.ToDouble(entryTimeout.Text);
@@ -222,6 +330,7 @@ public partial class MainWindow : Gtk.Window
222 330
                     entryTimeout.Text = cmdManager.timeout.ToString();
223 331
                 }
224 332
 
333
+                // try to connect to givn server. 
225 334
                 try
226 335
                 {
227 336
                     status = cmdManager.Open(entryServerName.Text, Convert.ToInt32(entryServerPort.Text));
@@ -232,13 +341,14 @@ public partial class MainWindow : Gtk.Window
232 341
                     return;
233 342
                 }
234 343
 
344
+                //if connection status is not ok, show an error popup
235 345
                 if (status != true)
236 346
                 {
237 347
                     MessagePopup(MessageType.Error,
238 348
                                  ButtonsType.Ok, "Error",
239 349
                                  "Unable to connect to server " + entryServerName.Text + ":" + Convert.ToInt32(entryServerPort.Text));
240 350
                 }
241
-                else
351
+                else // if we succed in connecting, open communication with robot
242 352
                 {
243 353
                     Console.Write("Send command RobotOpenCom: ");
244 354
                     statusCmd = cmdManager.RobotOpenCom();
@@ -248,7 +358,7 @@ public partial class MainWindow : Gtk.Window
248 358
                     {
249 359
                         ChangeState(SystemState.ServerConnected);
250 360
                     }
251
-                    else
361
+                    else // if communication with robot is not possible, show error
252 362
                     {
253 363
                         MessagePopup(MessageType.Error,
254 364
                                      ButtonsType.Ok, "Error",
@@ -261,26 +371,34 @@ public partial class MainWindow : Gtk.Window
261 371
         }
262 372
     }
263 373
 
374
+    /// <summary>
375
+    /// Callback called when "buttonRobotactivation" is clicked
376
+    /// </summary>
377
+    /// <param name="sender">Sender object</param>
378
+    /// <param name="e">Event</param>
264 379
     protected void OnButtonRobotActivationClicked(object sender, EventArgs e)
265 380
     {
266 381
         DestijlCommandManager.CommandStatus status;
267 382
 
268
-        if (buttonRobotActivation.Label == "Activate") // activation du robot
383
+        //if robot is not activated
384
+        if (buttonRobotActivation.Label == "Activate") 
269 385
         {
270
-            if (radioButtonWithWatchdog.Active) // Demarrage avec watchdog
386
+            // if a startup with watchdog is requested
387
+            if (radioButtonWithWatchdog.Active) 
271 388
             {
272 389
                 status = cmdManager.RobotStartWithWatchdog();
273 390
             }
274
-            else // Demarrage sans watchdog
391
+            else // startup without watchdog
275 392
             {
276 393
                 status = cmdManager.RobotStartWithoutWatchdog();
277 394
             }
278 395
 
396
+            // if status of command is ok, change state of system, enabling robot control
279 397
             if (status == DestijlCommandManager.CommandStatus.Success)
280 398
             {
281 399
                 ChangeState(SystemState.RobotConnected);
282 400
             }
283
-            else
401
+            else // if status is not ok, depending of error, show appropriate error
284 402
             {
285 403
                 if (status == DestijlCommandManager.CommandStatus.CommunicationLostWithServer)
286 404
                 {
@@ -293,15 +411,16 @@ public partial class MainWindow : Gtk.Window
293 411
                 }
294 412
             }
295 413
         }
296
-        else // Reset du robot
414
+        else // If robot is already activated, request reset of robot
297 415
         {
298 416
             status = cmdManager.RobotReset();
299 417
 
418
+            // if status of command is ok, change state of system, disabling robot control
300 419
             if (status == DestijlCommandManager.CommandStatus.Success)
301 420
             {
302 421
                 ChangeState(SystemState.ServerConnected);
303 422
             }
304
-            else
423
+            else // if status is not ok, depending of error, show appropriate error
305 424
             {
306 425
                 if (status == DestijlCommandManager.CommandStatus.CommunicationLostWithServer)
307 426
                 {
@@ -316,8 +435,14 @@ public partial class MainWindow : Gtk.Window
316 435
         }
317 436
     }
318 437
 
438
+    /// <summary>
439
+    /// Callback called when user click on direction button
440
+    /// </summary>
441
+    /// <param name="sender">Sender button</param>
442
+    /// <param name="e">Event</param>
319 443
     protected void OnButtonMouvClicked(object sender, EventArgs e)
320 444
     {
445
+        // depending on button clicked, launch appropriate action
321 446
         if (sender == buttonRight)
322 447
         {
323 448
             cmdManager.RobotTurn(90);
@@ -340,14 +465,22 @@ public partial class MainWindow : Gtk.Window
340 465
         }
341 466
     }
342 467
 
468
+    /// <summary>
469
+    /// Callback called when battery timer expired
470
+    /// </summary>
471
+    /// <param name="sender">Sender object</param>
472
+    /// <param name="e">Event</param>
343 473
     void OnBatteryTimerElapsed(object sender, System.Timers.ElapsedEventArgs e)
344 474
     {
345 475
         DestijlCommandManager.CommandStatus status;
346 476
         batteryTimer.Stop();
347 477
 
478
+        // if battery checkbox is checked, a request for battery level is done
348 479
         if (checkButtonGetBattery.Active)
349 480
         {
350 481
             status = cmdManager.RobotGetBattery();
482
+
483
+            // if status is not ok, show appropriate message and print "Unknown" for battery level
351 484
             switch (status)
352 485
             {
353 486
                 case DestijlCommandManager.CommandStatus.Success:
@@ -376,8 +509,14 @@ public partial class MainWindow : Gtk.Window
376 509
         else batteryTimer.Start();
377 510
     }
378 511
 
512
+    /// <summary>
513
+    /// Callback called when checkbutton for camera is clicked
514
+    /// </summary>
515
+    /// <param name="sender">Sender object</param>
516
+    /// <param name="e">Event</param>
379 517
     protected void OnCheckButtonCameraOnClicked(object sender, EventArgs e)
380 518
     {
519
+        // if camera is already active, switch it off
381 520
         if (!checkButtonCameraOn.Active)
382 521
         {
383 522
             if (cmdManager.CameraClose() != DestijlCommandManager.CommandStatus.Success)
@@ -387,8 +526,11 @@ public partial class MainWindow : Gtk.Window
387 526
                              "Error when closing camera: bad answer for supervisor or timeout");
388 527
             }
389 528
         }
390
-        else
529
+        else // camera is not active, switch it on
391 530
         {
531
+            badImageReceivedCounter = 0;
532
+            imageReceivedCounter = 0;
533
+
392 534
             if (cmdManager.CameraOpen() != DestijlCommandManager.CommandStatus.Success)
393 535
             {
394 536
                 MessagePopup(MessageType.Error,
@@ -399,8 +541,14 @@ public partial class MainWindow : Gtk.Window
399 541
         }
400 542
     }
401 543
 
544
+    /// <summary>
545
+    /// Callback called when checkbutton robot position is clicked
546
+    /// </summary>
547
+    /// <param name="sender">Sender object</param>
548
+    /// <param name="e">Event</param>
402 549
     protected void OnCheckButtonRobotPositionClicked(object sender, EventArgs e)
403 550
     {
551
+        // if server already send robot position, stop it
404 552
         if (!checkButtonRobotPosition.Active)
405 553
         {
406 554
             if (cmdManager.CameraStopComputePosition() != DestijlCommandManager.CommandStatus.Success)
@@ -410,7 +558,7 @@ public partial class MainWindow : Gtk.Window
410 558
                              "Error when stopping position reception: bad answer for supervisor or timeout");
411 559
             }
412 560
         }
413
-        else
561
+        else // start reception of robot position
414 562
         {
415 563
             if (cmdManager.CameraComputePosition() != DestijlCommandManager.CommandStatus.Success)
416 564
             {
@@ -423,6 +571,11 @@ public partial class MainWindow : Gtk.Window
423 571
         }
424 572
     }
425 573
 
574
+    /// <summary>
575
+    /// Callback called when drawingarea need refresh
576
+    /// </summary>
577
+    /// <param name="o">Sender object</param>
578
+    /// <param name="args">Expose arguments</param>
426 579
     protected void OnDrawingAreaCameraExposeEvent(object o, ExposeEventArgs args)
427 580
     {
428 581
         //Console.WriteLine("Event expose. Args = " + args.ToString());
@@ -431,19 +584,23 @@ public partial class MainWindow : Gtk.Window
431 584
         Gdk.Pixbuf displayPixbuf;
432 585
         int areaWidth, areaHeight;
433 586
 
587
+        // Get graphic context for background
434 588
         Gdk.GC gc = area.Style.BackgroundGC(Gtk.StateType.Normal);
435 589
 
590
+        // get size of drawingarea widget
436 591
         area.GdkWindow.GetSize(out areaWidth, out areaHeight);
437 592
         int width = drawingareaCameraPixbuf.Width;
438 593
         int height = drawingareaCameraPixbuf.Height;
439 594
         float ratio = (float)width / (float)height;
440 595
 
596
+        // if widget is smaller than image, reduce it
441 597
         if (areaWidth <= width)
442 598
         {
443 599
             width = areaWidth;
444 600
             height = (int)(width / ratio);
445 601
         }
446 602
 
603
+        // if image is smaller than widget, enlarge it
447 604
         if (width > areaWidth)
448 605
         {
449 606
             width = areaWidth;
@@ -454,8 +611,10 @@ public partial class MainWindow : Gtk.Window
454 611
             height = areaHeight;
455 612
         }
456 613
 
614
+        //scale original picture and copy result in local pixbuf
457 615
         displayPixbuf = drawingareaCameraPixbuf.ScaleSimple(width, height, InterpType.Bilinear);
458 616
 
617
+        // draw local pixbuff centered on drawingarea
459 618
         area.GdkWindow.DrawPixbuf(gc, displayPixbuf,
460 619
                                   0, 0,
461 620
                                   (areaWidth - displayPixbuf.Width) / 2,
@@ -464,6 +623,9 @@ public partial class MainWindow : Gtk.Window
464 623
                                   RgbDither.Normal, 0, 0);
465 624
     }
466 625
 
626
+    /// <summary>
627
+    /// Show a popup asking user to tell if arena is correct or not 
628
+    /// </summary>
467 629
     protected void DetectArena()
468 630
     {
469 631
         DestijlCommandManager.CommandStatus status;
@@ -493,8 +655,14 @@ public partial class MainWindow : Gtk.Window
493 655
         }
494 656
     }
495 657
 
658
+    /// <summary>
659
+    /// Callback called when "detect Arena " button is clicked
660
+    /// </summary>
661
+    /// <param name="sender">Sender object</param>
662
+    /// <param name="e">Event</param>
496 663
     protected void OnButtonAskArenaClicked(object sender, EventArgs e)
497 664
     {
665
+        // Send command to server for arean rendering
498 666
         if (cmdManager.CameraAskArena() != DestijlCommandManager.CommandStatus.Success)
499 667
         {
500 668
             MessagePopup(MessageType.Error,
@@ -503,6 +671,7 @@ public partial class MainWindow : Gtk.Window
503 671
             return;
504 672
         }
505 673
 
674
+        // show popup and wait for user to say if arena is ok or not 
506 675
         DetectArena();
507 676
     }
508 677
 }

+ 22
- 1
software/monitor/monitor/Program.cs View File

@@ -1,4 +1,25 @@
1
-using System;
1
+//
2
+//  Program.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System;
2 23
 using Gtk;
3 24
 
4 25
 namespace monitor

+ 3
- 0
software/monitor/monitor/afterBuild.sh View File

@@ -0,0 +1,3 @@
1
+echo $(pwd)
2
+cp $(pwd)/bin/Debug/monitor.exe $(pwd)/monitor
3
+chmod +x $(pwd)/monitor

+ 19
- 19
software/monitor/monitor/docs/html/_client_8cs_source.html
File diff suppressed because it is too large
View File


+ 23
- 23
software/monitor/monitor/docs/html/_command_manager_8cs_source.html
File diff suppressed because it is too large
View File


+ 3
- 0
software/monitor/monitor/docs/html/_destijl_command_manager_8cs.html View File

@@ -93,10 +93,13 @@ $(document).ready(function(){initNavTree('_destijl_command_manager_8cs.html','')
93 93
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
94 94
 Classes</h2></td></tr>
95 95
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_list.html">monitor.DestijlCommandList</a></td></tr>
96
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commands and options parameters used in Destijl project when communicating with server  <a href="classmonitor_1_1_destijl_command_list.html#details">More...</a><br /></td></tr>
96 97
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
97 98
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_robot_command_list.html">monitor.RobotCommandList</a></td></tr>
99
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commands used for robot messages  <a href="classmonitor_1_1_robot_command_list.html#details">More...</a><br /></td></tr>
98 100
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
99 101
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td></tr>
102
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specialization class for command manager, which implemnent destijl protocol between monitor and server  <a href="classmonitor_1_1_destijl_command_manager.html#details">More...</a><br /></td></tr>
100 103
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
101 104
 </table><table class="memberdecls">
102 105
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>

+ 67
- 68
software/monitor/monitor/docs/html/_destijl_command_manager_8cs_source.html
File diff suppressed because it is too large
View File


+ 1
- 1
software/monitor/monitor/docs/html/_monitor_u_i_8cs.html View File

@@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('_monitor_u_i_8cs.html','');});
92 92
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
93 93
 Classes</h2></td></tr>
94 94
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html">MainWindow</a></td></tr>
95
-<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main window.  <a href="class_main_window.html#details">More...</a><br /></td></tr>
95
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main part of the program, behavior of main window  <a href="class_main_window.html#details">More...</a><br /></td></tr>
96 96
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
97 97
 </table>
98 98
 </div><!-- contents -->

+ 49
- 49
software/monitor/monitor/docs/html/_monitor_u_i_8cs_source.html
File diff suppressed because it is too large
View File


+ 5
- 5
software/monitor/monitor/docs/html/_program_8cs_source.html
File diff suppressed because it is too large
View File


+ 4
- 4
software/monitor/monitor/docs/html/annotated.html View File

@@ -89,11 +89,11 @@ $(document).ready(function(){initNavTree('annotated.html','');});
89 89
 <tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacemonitor.html" target="_self">monitor</a></td><td class="desc"></td></tr>
90 90
 <tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_client.html" target="_self">Client</a></td><td class="desc">Static class for TCP client </td></tr>
91 91
 <tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_command_manager.html" target="_self">CommandManager</a></td><td class="desc">Command Manager. Use for timeout managment during reception of data Used as intermediate layer between TCP client class (<a class="el" href="classmonitor_1_1_client.html" title="Static class for TCP client ">Client</a>) and application level managment of command and answers </td></tr>
92
-<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_list.html" target="_self">DestijlCommandList</a></td><td class="desc"></td></tr>
93
-<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_manager.html" target="_self">DestijlCommandManager</a></td><td class="desc"></td></tr>
92
+<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_list.html" target="_self">DestijlCommandList</a></td><td class="desc">Commands and options parameters used in Destijl project when communicating with server </td></tr>
93
+<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_manager.html" target="_self">DestijlCommandManager</a></td><td class="desc">Specialization class for command manager, which implemnent destijl protocol between monitor and server </td></tr>
94 94
 <tr id="row_0_4_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_main_class.html" target="_self">MainClass</a></td><td class="desc"></td></tr>
95
-<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_robot_command_list.html" target="_self">RobotCommandList</a></td><td class="desc"></td></tr>
96
-<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main window. </td></tr>
95
+<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_robot_command_list.html" target="_self">RobotCommandList</a></td><td class="desc">Commands used for robot messages </td></tr>
96
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main part of the program, behavior of main window </td></tr>
97 97
 </table>
98 98
 </div><!-- directory -->
99 99
 </div><!-- contents -->

+ 193
- 27
software/monitor/monitor/docs/html/class_main_window.html View File

@@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('class_main_window.html','');});
92 92
 </div><!--header-->
93 93
 <div class="contents">
94 94
 
95
-<p>Main window.  
95
+<p>Main part of the program, behavior of main window  
96 96
  <a href="class_main_window.html#details">More...</a></p>
97 97
 <div class="dynheader">
98 98
 Inheritance diagram for MainWindow:</div>
@@ -104,7 +104,7 @@ Collaboration diagram for MainWindow:</div>
104 104
 <div class="dyncontent">
105 105
 <div class="center"><img src="class_main_window__coll__graph.png" border="0" usemap="#_main_window_coll__map" alt="Collaboration graph"/></div>
106 106
 <map name="_main_window_coll__map" id="_main_window_coll__map">
107
-<area shape="rect" id="node3" href="classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="179,184,395,211"/>
107
+<area shape="rect" id="node3" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="179,184,395,211"/>
108 108
 <area shape="rect" id="node4" href="classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee..." alt="" coords="188,95,367,121"/>
109 109
 </map>
110 110
 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
@@ -112,35 +112,49 @@ Collaboration diagram for MainWindow:</div>
112 112
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
113 113
 Public Member Functions</h2></td></tr>
114 114
 <tr class="memitem:af607d50e4d1b04d3c494661489283f45"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af607d50e4d1b04d3c494661489283f45">MainWindow</a> ()</td></tr>
115
+<tr class="memdesc:af607d50e4d1b04d3c494661489283f45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_main_window.html" title="Main part of the program, behavior of main window ">MainWindow</a> class.  <a href="#af607d50e4d1b04d3c494661489283f45">More...</a><br /></td></tr>
115 116
 <tr class="separator:af607d50e4d1b04d3c494661489283f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
116 117
 <tr class="memitem:a9a0f3d4cd871609f12d328af2f588664"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a9a0f3d4cd871609f12d328af2f588664">AdjustControls</a> ()</td></tr>
118
+<tr class="memdesc:a9a0f3d4cd871609f12d328af2f588664"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make some adjustement to controls, like disabling some controls  <a href="#a9a0f3d4cd871609f12d328af2f588664">More...</a><br /></td></tr>
117 119
 <tr class="separator:a9a0f3d4cd871609f12d328af2f588664"><td class="memSeparator" colspan="2">&#160;</td></tr>
118 120
 <tr class="memitem:a4b651f10b9079c128b9e36d15ad10211"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a4b651f10b9079c128b9e36d15ad10211">OnCommandReceivedEvent</a> (string header, string data, byte[] buffer)</td></tr>
121
+<tr class="memdesc:a4b651f10b9079c128b9e36d15ad10211"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when new message is received from server  <a href="#a4b651f10b9079c128b9e36d15ad10211">More...</a><br /></td></tr>
119 122
 <tr class="separator:a4b651f10b9079c128b9e36d15ad10211"><td class="memSeparator" colspan="2">&#160;</td></tr>
120 123
 </table><table class="memberdecls">
121 124
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
122 125
 Protected Member Functions</h2></td></tr>
123 126
 <tr class="memitem:a64bdcb29cebb58957790da1ee2733fe1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a64bdcb29cebb58957790da1ee2733fe1">OnDeleteEvent</a> (object sender, DeleteEventArgs a)</td></tr>
127
+<tr class="memdesc:a64bdcb29cebb58957790da1ee2733fe1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when delete event is sent by window  <a href="#a64bdcb29cebb58957790da1ee2733fe1">More...</a><br /></td></tr>
124 128
 <tr class="separator:a64bdcb29cebb58957790da1ee2733fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
125 129
 <tr class="memitem:ab54b643c364b46a150f6f993267bb709"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab54b643c364b46a150f6f993267bb709">OnQuitActionActivated</a> (object sender, EventArgs e)</td></tr>
130
+<tr class="memdesc:ab54b643c364b46a150f6f993267bb709"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called by "quit" menu  <a href="#ab54b643c364b46a150f6f993267bb709">More...</a><br /></td></tr>
126 131
 <tr class="separator:ab54b643c364b46a150f6f993267bb709"><td class="memSeparator" colspan="2">&#160;</td></tr>
127 132
 <tr class="memitem:a87132738a6ca496303940d56e091bdc7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a87132738a6ca496303940d56e091bdc7">OnShowLogWindowActionActivated</a> (object sender, EventArgs e)</td></tr>
133
+<tr class="memdesc:a87132738a6ca496303940d56e091bdc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called by "show log" menu  <a href="#a87132738a6ca496303940d56e091bdc7">More...</a><br /></td></tr>
128 134
 <tr class="separator:a87132738a6ca496303940d56e091bdc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
129 135
 <tr class="memitem:ac0acc6c3a63f405f14ec8e4d132a2661"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ac0acc6c3a63f405f14ec8e4d132a2661">OnButtonServerConnectionClicked</a> (object sender, EventArgs e)</td></tr>
136
+<tr class="memdesc:ac0acc6c3a63f405f14ec8e4d132a2661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called by "buttonServerConnection" button  <a href="#ac0acc6c3a63f405f14ec8e4d132a2661">More...</a><br /></td></tr>
130 137
 <tr class="separator:ac0acc6c3a63f405f14ec8e4d132a2661"><td class="memSeparator" colspan="2">&#160;</td></tr>
131 138
 <tr class="memitem:a2b5e11a49a10b24c59bebb377cdfeae8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2b5e11a49a10b24c59bebb377cdfeae8">OnButtonRobotActivationClicked</a> (object sender, EventArgs e)</td></tr>
139
+<tr class="memdesc:a2b5e11a49a10b24c59bebb377cdfeae8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when "buttonRobotactivation" is clicked  <a href="#a2b5e11a49a10b24c59bebb377cdfeae8">More...</a><br /></td></tr>
132 140
 <tr class="separator:a2b5e11a49a10b24c59bebb377cdfeae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
133 141
 <tr class="memitem:a7f8d06747f887216ab8c941ad10cb48b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a7f8d06747f887216ab8c941ad10cb48b">OnButtonMouvClicked</a> (object sender, EventArgs e)</td></tr>
142
+<tr class="memdesc:a7f8d06747f887216ab8c941ad10cb48b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when user click on direction button  <a href="#a7f8d06747f887216ab8c941ad10cb48b">More...</a><br /></td></tr>
134 143
 <tr class="separator:a7f8d06747f887216ab8c941ad10cb48b"><td class="memSeparator" colspan="2">&#160;</td></tr>
135 144
 <tr class="memitem:af4b587cdd614d5bdb8d9158a1f59e4fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af4b587cdd614d5bdb8d9158a1f59e4fa">OnCheckButtonCameraOnClicked</a> (object sender, EventArgs e)</td></tr>
145
+<tr class="memdesc:af4b587cdd614d5bdb8d9158a1f59e4fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when checkbutton for camera is clicked  <a href="#af4b587cdd614d5bdb8d9158a1f59e4fa">More...</a><br /></td></tr>
136 146
 <tr class="separator:af4b587cdd614d5bdb8d9158a1f59e4fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
137 147
 <tr class="memitem:a20d07605619027d82a30552f294b128f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a20d07605619027d82a30552f294b128f">OnCheckButtonRobotPositionClicked</a> (object sender, EventArgs e)</td></tr>
148
+<tr class="memdesc:a20d07605619027d82a30552f294b128f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when checkbutton robot position is clicked  <a href="#a20d07605619027d82a30552f294b128f">More...</a><br /></td></tr>
138 149
 <tr class="separator:a20d07605619027d82a30552f294b128f"><td class="memSeparator" colspan="2">&#160;</td></tr>
139 150
 <tr class="memitem:afe4b0001f191554aed5d9b65208a06f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#afe4b0001f191554aed5d9b65208a06f5">OnDrawingAreaCameraExposeEvent</a> (object o, ExposeEventArgs args)</td></tr>
151
+<tr class="memdesc:afe4b0001f191554aed5d9b65208a06f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when drawingarea need refresh  <a href="#afe4b0001f191554aed5d9b65208a06f5">More...</a><br /></td></tr>
140 152
 <tr class="separator:afe4b0001f191554aed5d9b65208a06f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
141 153
 <tr class="memitem:a89c79ce9ca4114ca9c50f32dc080e9cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a89c79ce9ca4114ca9c50f32dc080e9cd">DetectArena</a> ()</td></tr>
154
+<tr class="memdesc:a89c79ce9ca4114ca9c50f32dc080e9cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a popup asking user to tell if arena is correct or not  <a href="#a89c79ce9ca4114ca9c50f32dc080e9cd">More...</a><br /></td></tr>
142 155
 <tr class="separator:a89c79ce9ca4114ca9c50f32dc080e9cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
143 156
 <tr class="memitem:a31e299085d6286d680bd488c73fdff82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a31e299085d6286d680bd488c73fdff82">OnButtonAskArenaClicked</a> (object sender, EventArgs e)</td></tr>
157
+<tr class="memdesc:a31e299085d6286d680bd488c73fdff82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when "detect Arena " button is clicked  <a href="#a31e299085d6286d680bd488c73fdff82">More...</a><br /></td></tr>
144 158
 <tr class="separator:a31e299085d6286d680bd488c73fdff82"><td class="memSeparator" colspan="2">&#160;</td></tr>
145 159
 </table><table class="memberdecls">
146 160
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
@@ -148,33 +162,41 @@ Private Types</h2></td></tr>
148 162
 <tr class="memitem:a7b18ca1f8f71faf272c9856aaf7b8e3d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">SystemState</a> { <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463">SystemState.NotConnected</a>, 
149 163
 <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76">SystemState.ServerConnected</a>, 
150 164
 <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da9761e78f9ae0d6f598d953b4d9e839e1">SystemState.RobotConnected</a>
151
- }</td></tr>
165
+ }<tr class="memdesc:a7b18ca1f8f71faf272c9856aaf7b8e3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of availble state for the application  <a href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">More...</a><br /></td></tr>
166
+</td></tr>
152 167
 <tr class="separator:a7b18ca1f8f71faf272c9856aaf7b8e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
153 168
 </table><table class="memberdecls">
154 169
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
155 170
 Private Member Functions</h2></td></tr>
156 171
 <tr class="memitem:aedc27cabbe1604313a452fcbf3ffe9f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#aedc27cabbe1604313a452fcbf3ffe9f4">ChangeState</a> (<a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">SystemState</a> newState)</td></tr>
172
+<tr class="memdesc:aedc27cabbe1604313a452fcbf3ffe9f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method used to change controls visibility (greyed or not) depending on current state  <a href="#aedc27cabbe1604313a452fcbf3ffe9f4">More...</a><br /></td></tr>
157 173
 <tr class="separator:aedc27cabbe1604313a452fcbf3ffe9f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
158 174
 <tr class="memitem:afc4f923aaa481a93dddaff6303efb9e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#afc4f923aaa481a93dddaff6303efb9e0">MessagePopup</a> (MessageType type, ButtonsType buttons, string title, string message)</td></tr>
175
+<tr class="memdesc:afc4f923aaa481a93dddaff6303efb9e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display a popup message window  <a href="#afc4f923aaa481a93dddaff6303efb9e0">More...</a><br /></td></tr>
159 176
 <tr class="separator:afc4f923aaa481a93dddaff6303efb9e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
160 177
 <tr class="memitem:af303b70c08cda04a76f6418f727c4891"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af303b70c08cda04a76f6418f727c4891">OnBatteryTimerElapsed</a> (object sender, System.Timers.ElapsedEventArgs e)</td></tr>
178
+<tr class="memdesc:af303b70c08cda04a76f6418f727c4891"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when battery timer expired  <a href="#af303b70c08cda04a76f6418f727c4891">More...</a><br /></td></tr>
161 179
 <tr class="separator:af303b70c08cda04a76f6418f727c4891"><td class="memSeparator" colspan="2">&#160;</td></tr>
162 180
 </table><table class="memberdecls">
163 181
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
164 182
 Private Attributes</h2></td></tr>
165 183
 <tr class="memitem:a0b60450970b8a6fb6e016d5c0728e474"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">DestijlCommandManager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a0b60450970b8a6fb6e016d5c0728e474">cmdManager</a></td></tr>
184
+<tr class="memdesc:a0b60450970b8a6fb6e016d5c0728e474"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destijl command manager reference  <a href="#a0b60450970b8a6fb6e016d5c0728e474">More...</a><br /></td></tr>
166 185
 <tr class="separator:a0b60450970b8a6fb6e016d5c0728e474"><td class="memSeparator" colspan="2">&#160;</td></tr>
167 186
 <tr class="memitem:a41581e449b18e87acbdff5baa12c2050"><td class="memItemLeft" align="right" valign="top">Pixbuf&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a41581e449b18e87acbdff5baa12c2050">drawingareaCameraPixbuf</a></td></tr>
187
+<tr class="memdesc:a41581e449b18e87acbdff5baa12c2050"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pixbuffer used for displaying image  <a href="#a41581e449b18e87acbdff5baa12c2050">More...</a><br /></td></tr>
168 188
 <tr class="separator:a41581e449b18e87acbdff5baa12c2050"><td class="memSeparator" colspan="2">&#160;</td></tr>
169 189
 <tr class="memitem:a105025ee1bdfac188f1ce640d593550d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">SystemState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a105025ee1bdfac188f1ce640d593550d">systemState</a> = <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463">SystemState.NotConnected</a></td></tr>
190
+<tr class="memdesc:a105025ee1bdfac188f1ce640d593550d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state of the system. Can take a value from SystemState  <a href="#a105025ee1bdfac188f1ce640d593550d">More...</a><br /></td></tr>
170 191
 <tr class="separator:a105025ee1bdfac188f1ce640d593550d"><td class="memSeparator" colspan="2">&#160;</td></tr>
171 192
 <tr class="memitem:a57f0325d8b8a63be586001b9a469d9ae"><td class="memItemLeft" align="right" valign="top">System.Timers.Timer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a57f0325d8b8a63be586001b9a469d9ae">batteryTimer</a></td></tr>
193
+<tr class="memdesc:a57f0325d8b8a63be586001b9a469d9ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer for battery request  <a href="#a57f0325d8b8a63be586001b9a469d9ae">More...</a><br /></td></tr>
172 194
 <tr class="separator:a57f0325d8b8a63be586001b9a469d9ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
173 195
 </table>
174 196
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
175
-<div class="textblock"><p>Main window. </p>
197
+<div class="textblock"><p>Main part of the program, behavior of main window </p>
176 198
 
177
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00010">10</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
199
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00032">32</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
178 200
 </div><h2 class="groupheader">Member Enumeration Documentation</h2>
179 201
 <a id="a7b18ca1f8f71faf272c9856aaf7b8e3d"></a>
180 202
 <h2 class="memtitle"><span class="permalink"><a href="#a7b18ca1f8f71faf272c9856aaf7b8e3d">&#9670;&nbsp;</a></span>SystemState</h2>
@@ -195,13 +217,15 @@ Private Attributes</h2></td></tr>
195 217
   </tr>
196 218
 </table>
197 219
 </div><div class="memdoc">
220
+
221
+<p>List of availble state for the application </p>
198 222
 <table class="fieldtable">
199 223
 <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463"></a>NotConnected&#160;</td><td class="fielddoc"></td></tr>
200 224
 <tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76"></a>ServerConnected&#160;</td><td class="fielddoc"></td></tr>
201 225
 <tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da9761e78f9ae0d6f598d953b4d9e839e1"></a>RobotConnected&#160;</td><td class="fielddoc"></td></tr>
202 226
 </table>
203 227
 
204
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00015">15</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
228
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00047">47</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
205 229
 
206 230
 </div>
207 231
 </div>
@@ -221,7 +245,9 @@ Private Attributes</h2></td></tr>
221 245
       </table>
222 246
 </div><div class="memdoc">
223 247
 
224
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00025">25</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
248
+<p>Initializes a new instance of the <a class="el" href="class_main_window.html" title="Main part of the program, behavior of main window ">MainWindow</a> class. </p>
249
+
250
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00067">67</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
225 251
 
226 252
 </div>
227 253
 </div>
@@ -241,7 +267,9 @@ Private Attributes</h2></td></tr>
241 267
       </table>
242 268
 </div><div class="memdoc">
243 269
 
244
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00042">42</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
270
+<p>Make some adjustement to controls, like disabling some controls </p>
271
+
272
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00084">84</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
245 273
 
246 274
 </div>
247 275
 </div>
@@ -269,7 +297,15 @@ Private Attributes</h2></td></tr>
269 297
 </table>
270 298
 </div><div class="memdoc">
271 299
 
272
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00054">54</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
300
+<p>Method used to change controls visibility (greyed or not) depending on current state </p>
301
+<dl class="params"><dt>Parameters</dt><dd>
302
+  <table class="params">
303
+    <tr><td class="paramname">newState</td><td>New state</td></tr>
304
+  </table>
305
+  </dd>
306
+</dl>
307
+
308
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00103">103</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
273 309
 
274 310
 </div>
275 311
 </div>
@@ -296,7 +332,9 @@ Private Attributes</h2></td></tr>
296 332
 </table>
297 333
 </div><div class="memdoc">
298 334
 
299
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00467">467</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
335
+<p>Show a popup asking user to tell if arena is correct or not </p>
336
+
337
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00610">610</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
300 338
 
301 339
 </div>
302 340
 </div>
@@ -346,7 +384,18 @@ Private Attributes</h2></td></tr>
346 384
 </table>
347 385
 </div><div class="memdoc">
348 386
 
349
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00120">120</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
387
+<p>Display a popup message window </p>
388
+<dl class="params"><dt>Parameters</dt><dd>
389
+  <table class="params">
390
+    <tr><td class="paramname">type</td><td>Type of popup window (question, error, information,...)</td></tr>
391
+    <tr><td class="paramname">buttons</td><td>Buttons available on popup window</td></tr>
392
+    <tr><td class="paramname">title</td><td>Title of window</td></tr>
393
+    <tr><td class="paramname">message</td><td>Message</td></tr>
394
+  </table>
395
+  </dd>
396
+</dl>
397
+
398
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00176">176</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
350 399
 
351 400
 </div>
352 401
 </div>
@@ -384,7 +433,16 @@ Private Attributes</h2></td></tr>
384 433
 </table>
385 434
 </div><div class="memdoc">
386 435
 
387
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00343">343</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
436
+<p>Callback called when battery timer expired </p>
437
+<dl class="params"><dt>Parameters</dt><dd>
438
+  <table class="params">
439
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
440
+    <tr><td class="paramname">e</td><td>Event</td></tr>
441
+  </table>
442
+  </dd>
443
+</dl>
444
+
445
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00457">457</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
388 446
 
389 447
 </div>
390 448
 </div>
@@ -422,7 +480,16 @@ Private Attributes</h2></td></tr>
422 480
 </table>
423 481
 </div><div class="memdoc">
424 482
 
425
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00496">496</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
483
+<p>Callback called when "detect Arena " button is clicked </p>
484
+<dl class="params"><dt>Parameters</dt><dd>
485
+  <table class="params">
486
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
487
+    <tr><td class="paramname">e</td><td>Event</td></tr>
488
+  </table>
489
+  </dd>
490
+</dl>
491
+
492
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00644">644</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
426 493
 
427 494
 </div>
428 495
 </div>
@@ -460,7 +527,16 @@ Private Attributes</h2></td></tr>
460 527
 </table>
461 528
 </div><div class="memdoc">
462 529
 
463
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00319">319</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
530
+<p>Callback called when user click on direction button </p>
531
+<dl class="params"><dt>Parameters</dt><dd>
532
+  <table class="params">
533
+    <tr><td class="paramname">sender</td><td>Sender button</td></tr>
534
+    <tr><td class="paramname">e</td><td>Event</td></tr>
535
+  </table>
536
+  </dd>
537
+</dl>
538
+
539
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00427">427</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
464 540
 
465 541
 </div>
466 542
 </div>
@@ -498,7 +574,16 @@ Private Attributes</h2></td></tr>
498 574
 </table>
499 575
 </div><div class="memdoc">
500 576
 
501
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00264">264</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
577
+<p>Callback called when "buttonRobotactivation" is clicked </p>
578
+<dl class="params"><dt>Parameters</dt><dd>
579
+  <table class="params">
580
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
581
+    <tr><td class="paramname">e</td><td>Event</td></tr>
582
+  </table>
583
+  </dd>
584
+</dl>
585
+
586
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00363">363</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
502 587
 
503 588
 </div>
504 589
 </div>
@@ -536,7 +621,16 @@ Private Attributes</h2></td></tr>
536 621
 </table>
537 622
 </div><div class="memdoc">
538 623
 
539
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00194">194</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
624
+<p>Callback called by "buttonServerConnection" button </p>
625
+<dl class="params"><dt>Parameters</dt><dd>
626
+  <table class="params">
627
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
628
+    <tr><td class="paramname">e</td><td>Event</td></tr>
629
+  </table>
630
+  </dd>
631
+</dl>
632
+
633
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00282">282</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
540 634
 
541 635
 </div>
542 636
 </div>
@@ -574,7 +668,16 @@ Private Attributes</h2></td></tr>
574 668
 </table>
575 669
 </div><div class="memdoc">
576 670
 
577
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00379">379</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
671
+<p>Callback called when checkbutton for camera is clicked </p>
672
+<dl class="params"><dt>Parameters</dt><dd>
673
+  <table class="params">
674
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
675
+    <tr><td class="paramname">e</td><td>Event</td></tr>
676
+  </table>
677
+  </dd>
678
+</dl>
679
+
680
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00501">501</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
578 681
 
579 682
 </div>
580 683
 </div>
@@ -612,7 +715,16 @@ Private Attributes</h2></td></tr>
612 715
 </table>
613 716
 </div><div class="memdoc">
614 717
 
615
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00402">402</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
718
+<p>Callback called when checkbutton robot position is clicked </p>
719
+<dl class="params"><dt>Parameters</dt><dd>
720
+  <table class="params">
721
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
722
+    <tr><td class="paramname">e</td><td>Event</td></tr>
723
+  </table>
724
+  </dd>
725
+</dl>
726
+
727
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00530">530</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
616 728
 
617 729
 </div>
618 730
 </div>
@@ -648,7 +760,17 @@ Private Attributes</h2></td></tr>
648 760
       </table>
649 761
 </div><div class="memdoc">
650 762
 
651
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00140">140</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
763
+<p>Callback called when new message is received from server </p>
764
+<dl class="params"><dt>Parameters</dt><dd>
765
+  <table class="params">
766
+    <tr><td class="paramname">header</td><td>Header of message</td></tr>
767
+    <tr><td class="paramname">data</td><td>Data of message</td></tr>
768
+    <tr><td class="paramname">buffer</td><td>Raw buffer corresponding of received message</td></tr>
769
+  </table>
770
+  </dd>
771
+</dl>
772
+
773
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00207">207</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
652 774
 
653 775
 </div>
654 776
 </div>
@@ -686,7 +808,16 @@ Private Attributes</h2></td></tr>
686 808
 </table>
687 809
 </div><div class="memdoc">
688 810
 
689
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00131">131</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
811
+<p>Callback called when delete event is sent by window </p>
812
+<dl class="params"><dt>Parameters</dt><dd>
813
+  <table class="params">
814
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
815
+    <tr><td class="paramname">a</td><td>Not really sure of what it is...</td></tr>
816
+  </table>
817
+  </dd>
818
+</dl>
819
+
820
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00192">192</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
690 821
 
691 822
 </div>
692 823
 </div>
@@ -724,7 +855,16 @@ Private Attributes</h2></td></tr>
724 855
 </table>
725 856
 </div><div class="memdoc">
726 857
 
727
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00426">426</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
858
+<p>Callback called when drawingarea need refresh </p>
859
+<dl class="params"><dt>Parameters</dt><dd>
860
+  <table class="params">
861
+    <tr><td class="paramname">o</td><td>Sender object</td></tr>
862
+    <tr><td class="paramname">args</td><td>Expose arguments</td></tr>
863
+  </table>
864
+  </dd>
865
+</dl>
866
+
867
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00560">560</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
728 868
 
729 869
 </div>
730 870
 </div>
@@ -762,7 +902,16 @@ Private Attributes</h2></td></tr>
762 902
 </table>
763 903
 </div><div class="memdoc">
764 904
 
765
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00179">179</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
905
+<p>Callback called by "quit" menu </p>
906
+<dl class="params"><dt>Parameters</dt><dd>
907
+  <table class="params">
908
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
909
+    <tr><td class="paramname">e</td><td>Event</td></tr>
910
+  </table>
911
+  </dd>
912
+</dl>
913
+
914
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00257">257</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
766 915
 
767 916
 </div>
768 917
 </div>
@@ -800,7 +949,16 @@ Private Attributes</h2></td></tr>
800 949
 </table>
801 950
 </div><div class="memdoc">
802 951
 
803
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00187">187</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
952
+<p>Callback called by "show log" menu </p>
953
+<dl class="params"><dt>Parameters</dt><dd>
954
+  <table class="params">
955
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
956
+    <tr><td class="paramname">e</td><td>Event</td></tr>
957
+  </table>
958
+  </dd>
959
+</dl>
960
+
961
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00270">270</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
804 962
 
805 963
 </div>
806 964
 </div>
@@ -825,7 +983,9 @@ Private Attributes</h2></td></tr>
825 983
 </table>
826 984
 </div><div class="memdoc">
827 985
 
828
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00023">23</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
986
+<p>Timer for battery request </p>
987
+
988
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00062">62</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
829 989
 
830 990
 </div>
831 991
 </div>
@@ -849,7 +1009,9 @@ Private Attributes</h2></td></tr>
849 1009
 </table>
850 1010
 </div><div class="memdoc">
851 1011
 
852
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00012">12</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
1012
+<p>Destijl command manager reference </p>
1013
+
1014
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00037">37</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
853 1015
 
854 1016
 </div>
855 1017
 </div>
@@ -873,7 +1035,9 @@ Private Attributes</h2></td></tr>
873 1035
 </table>
874 1036
 </div><div class="memdoc">
875 1037
 
876
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00013">13</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
1038
+<p>Pixbuffer used for displaying image </p>
1039
+
1040
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00042">42</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
877 1041
 
878 1042
 </div>
879 1043
 </div>
@@ -897,7 +1061,9 @@ Private Attributes</h2></td></tr>
897 1061
 </table>
898 1062
 </div><div class="memdoc">
899 1063
 
900
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00022">22</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
1064
+<p>The state of the system. Can take a value from SystemState </p>
1065
+
1066
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00057">57</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
901 1067
 
902 1068
 </div>
903 1069
 </div>

+ 1
- 1
software/monitor/monitor/docs/html/class_main_window__coll__graph.map View File

@@ -1,4 +1,4 @@
1 1
 <map id="MainWindow" name="MainWindow">
2
-<area shape="rect" id="node3" href="$classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="179,184,395,211"/>
2
+<area shape="rect" id="node3" href="$classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="179,184,395,211"/>
3 3
 <area shape="rect" id="node4" href="$classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee..." alt="" coords="188,95,367,121"/>
4 4
 </map>

+ 1
- 1
software/monitor/monitor/docs/html/class_main_window__coll__graph.md5 View File

@@ -1 +1 @@
1
-4c8ddbcdb9d2101c683e4d7db177d12c
1
+150be75c198c88c6d6956083b335a70c

+ 18
- 18
software/monitor/monitor/docs/html/classmonitor_1_1_client.html View File

@@ -171,7 +171,7 @@ Static Private Attributes</h2></td></tr>
171 171
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
172 172
 <div class="textblock"><p>Static class for TCP client </p>
173 173
 
174
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00010">10</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
174
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00031">31</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
175 175
 </div><h2 class="groupheader">Member Function Documentation</h2>
176 176
 <a id="ae6c0cbe19d622b008fd1f6d01d9cb315"></a>
177 177
 <h2 class="memtitle"><span class="permalink"><a href="#ae6c0cbe19d622b008fd1f6d01d9cb315">&#9670;&nbsp;</a></span>Close()</h2>
@@ -198,7 +198,7 @@ Static Private Attributes</h2></td></tr>
198 198
 
199 199
 <p>Close connection to server </p>
200 200
 
201
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00120">120</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
201
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00141">141</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
202 202
 
203 203
 </div>
204 204
 </div>
@@ -235,7 +235,7 @@ Static Private Attributes</h2></td></tr>
235 235
   </dd>
236 236
 </dl>
237 237
 
238
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00068">68</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
238
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00089">89</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
239 239
 
240 240
 </div>
241 241
 </div>
@@ -283,7 +283,7 @@ Static Private Attributes</h2></td></tr>
283 283
   </dd>
284 284
 </dl>
285 285
 
286
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00079">79</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
286
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00100">100</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
287 287
 
288 288
 </div>
289 289
 </div>
@@ -319,7 +319,7 @@ Static Private Attributes</h2></td></tr>
319 319
   </dd>
320 320
 </dl>
321 321
 
322
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00130">130</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
322
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00151">151</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
323 323
 
324 324
 </div>
325 325
 </div>
@@ -386,7 +386,7 @@ Static Private Attributes</h2></td></tr>
386 386
   </dd>
387 387
 </dl>
388 388
 
389
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00198">198</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
389
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00219">219</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
390 390
 
391 391
 </div>
392 392
 </div>
@@ -413,7 +413,7 @@ Static Private Attributes</h2></td></tr>
413 413
 
414 414
 <p>Internal buffer used when reading data from server </p>
415 415
 
416
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00040">40</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
416
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00061">61</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
417 417
 
418 418
 </div>
419 419
 </div>
@@ -439,7 +439,7 @@ Static Private Attributes</h2></td></tr>
439 439
 
440 440
 <p>Size of internal buffer used when reading data from server </p>
441 441
 
442
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00035">35</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
442
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00056">56</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
443 443
 
444 444
 </div>
445 445
 </div>
@@ -465,7 +465,7 @@ Static Private Attributes</h2></td></tr>
465 465
 
466 466
 <p>Tcp client object </p>
467 467
 
468
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00025">25</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
468
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00046">46</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
469 469
 
470 470
 </div>
471 471
 </div>
@@ -483,7 +483,7 @@ Static Private Attributes</h2></td></tr>
483 483
 
484 484
 <p>Default server name </p>
485 485
 
486
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00015">15</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
486
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00036">36</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
487 487
 
488 488
 </div>
489 489
 </div>
@@ -501,7 +501,7 @@ Static Private Attributes</h2></td></tr>
501 501
 
502 502
 <p>Default server port number </p>
503 503
 
504
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00020">20</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
504
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00041">41</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
505 505
 
506 506
 </div>
507 507
 </div>
@@ -525,7 +525,7 @@ Static Private Attributes</h2></td></tr>
525 525
 </table>
526 526
 </div><div class="memdoc">
527 527
 
528
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00048">48</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
528
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00069">69</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
529 529
 
530 530
 </div>
531 531
 </div>
@@ -551,7 +551,7 @@ Static Private Attributes</h2></td></tr>
551 551
 
552 552
 <p>String containing received message from tcp server </p>
553 553
 
554
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00053">53</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
554
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00074">74</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
555 555
 
556 556
 </div>
557 557
 </div>
@@ -575,7 +575,7 @@ Static Private Attributes</h2></td></tr>
575 575
 </table>
576 576
 </div><div class="memdoc">
577 577
 
578
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00054">54</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
578
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00075">75</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
579 579
 
580 580
 </div>
581 581
 </div>
@@ -599,7 +599,7 @@ Static Private Attributes</h2></td></tr>
599 599
 </table>
600 600
 </div><div class="memdoc">
601 601
 
602
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00055">55</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
602
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00076">76</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
603 603
 
604 604
 </div>
605 605
 </div>
@@ -623,7 +623,7 @@ Static Private Attributes</h2></td></tr>
623 623
 </table>
624 624
 </div><div class="memdoc">
625 625
 
626
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00061">61</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
626
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00082">82</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
627 627
 
628 628
 </div>
629 629
 </div>
@@ -649,7 +649,7 @@ Static Private Attributes</h2></td></tr>
649 649
 
650 650
 <p>buffer containing received message from TCP server Used to concatenate internal buffers into one </p>
651 651
 
652
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00046">46</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
652
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00067">67</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
653 653
 
654 654
 </div>
655 655
 </div>
@@ -675,7 +675,7 @@ Static Private Attributes</h2></td></tr>
675 675
 
676 676
 <p>Stream object used for communication </p>
677 677
 
678
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00030">30</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
678
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00051">51</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
679 679
 
680 680
 </div>
681 681
 </div>

+ 16
- 18
software/monitor/monitor/docs/html/classmonitor_1_1_command_manager.html View File

@@ -98,8 +98,6 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_command_manager.html'
98 98
 Collaboration diagram for monitor.CommandManager:</div>
99 99
 <div class="dyncontent">
100 100
 <div class="center"><img src="classmonitor_1_1_command_manager__coll__graph.png" border="0" usemap="#monitor_8_command_manager_coll__map" alt="Collaboration graph"/></div>
101
-<map name="monitor_8_command_manager_coll__map" id="monitor_8_command_manager_coll__map">
102
-</map>
103 101
 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
104 102
 <table class="memberdecls">
105 103
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
@@ -169,7 +167,7 @@ Private Attributes</h2></td></tr>
169 167
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
170 168
 <div class="textblock"><p>Command Manager. Use for timeout managment during reception of data Used as intermediate layer between TCP client class (<a class="el" href="classmonitor_1_1_client.html" title="Static class for TCP client ">Client</a>) and application level managment of command and answers </p>
171 169
 
172
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00010">10</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
170
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00031">31</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
173 171
 </div><h2 class="groupheader">Member Enumeration Documentation</h2>
174 172
 <a id="ac8ca53031468acc8be05c37586671a9b"></a>
175 173
 <h2 class="memtitle"><span class="permalink"><a href="#ac8ca53031468acc8be05c37586671a9b">&#9670;&nbsp;</a></span>CommandManagerStatus</h2>
@@ -198,7 +196,7 @@ Private Attributes</h2></td></tr>
198 196
 <tr><td class="fieldname"><a id="ac8ca53031468acc8be05c37586671a9bad8a942ef2b04672adfafef0ad817a407"></a>Busy&#160;</td><td class="fielddoc"></td></tr>
199 197
 </table>
200 198
 
201
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00042">42</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
199
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00063">63</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
202 200
 
203 201
 </div>
204 202
 </div>
@@ -227,7 +225,7 @@ Private Attributes</h2></td></tr>
227 225
   </dd>
228 226
 </dl>
229 227
 
230
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00053">53</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
228
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00074">74</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
231 229
 
232 230
 </div>
233 231
 </div>
@@ -256,7 +254,7 @@ Private Attributes</h2></td></tr>
256 254
 
257 255
 <p>Releases unmanaged resources and performs other cleanup operations before the T:monitor.CommandManager is reclaimed by garbage collection. </p>
258 256
 
259
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00065">65</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
257
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00086">86</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
260 258
 
261 259
 </div>
262 260
 </div>
@@ -278,7 +276,7 @@ Private Attributes</h2></td></tr>
278 276
 
279 277
 <p>Close connection to server </p>
280 278
 
281
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00094">94</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
279
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00115">115</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
282 280
 
283 281
 </div>
284 282
 </div>
@@ -355,7 +353,7 @@ Private Attributes</h2></td></tr>
355 353
   </dd>
356 354
 </dl>
357 355
 
358
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00104">104</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
356
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00125">125</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
359 357
 
360 358
 </div>
361 359
 </div>
@@ -402,7 +400,7 @@ Private Attributes</h2></td></tr>
402 400
   </dd>
403 401
 </dl>
404 402
 
405
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00135">135</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
403
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00156">156</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
406 404
 
407 405
 </div>
408 406
 </div>
@@ -431,7 +429,7 @@ Private Attributes</h2></td></tr>
431 429
   </dd>
432 430
 </dl>
433 431
 
434
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00075">75</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
432
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00096">96</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
435 433
 
436 434
 </div>
437 435
 </div>
@@ -471,7 +469,7 @@ Private Attributes</h2></td></tr>
471 469
   </dd>
472 470
 </dl>
473 471
 
474
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00086">86</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
472
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00107">107</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
475 473
 
476 474
 </div>
477 475
 </div>
@@ -518,7 +516,7 @@ Private Attributes</h2></td></tr>
518 516
   </dd>
519 517
 </dl>
520 518
 
521
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00150">150</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
519
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00171">171</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
522 520
 
523 521
 </div>
524 522
 </div>
@@ -535,7 +533,7 @@ Private Attributes</h2></td></tr>
535 533
       </table>
536 534
 </div><div class="memdoc">
537 535
 
538
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00016">16</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
536
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00037">37</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
539 537
 
540 538
 </div>
541 539
 </div>
@@ -561,7 +559,7 @@ Private Attributes</h2></td></tr>
561 559
 
562 560
 <p>flag indicating command manager is currently busy waiting an acknowledge </p>
563 561
 
564
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00037">37</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
562
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00058">58</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
565 563
 
566 564
 </div>
567 565
 </div>
@@ -587,7 +585,7 @@ Private Attributes</h2></td></tr>
587 585
 
588 586
 <p>received message </p>
589 587
 
590
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00032">32</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
588
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00053">53</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
591 589
 
592 590
 </div>
593 591
 </div>
@@ -611,7 +609,7 @@ Private Attributes</h2></td></tr>
611 609
 </table>
612 610
 </div><div class="memdoc">
613 611
 
614
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00022">22</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
612
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00043">43</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
615 613
 
616 614
 </div>
617 615
 </div>
@@ -637,7 +635,7 @@ Private Attributes</h2></td></tr>
637 635
 
638 636
 <p>Flag to tell rogram to wait for an acknowledge from server </p>
639 637
 
640
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00027">27</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
638
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00048">48</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
641 639
 
642 640
 </div>
643 641
 </div>
@@ -663,7 +661,7 @@ Private Attributes</h2></td></tr>
663 661
 
664 662
 <p>Timer for managing timeout </p>
665 663
 
666
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00021">21</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
664
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00042">42</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
667 665
 
668 666
 </div>
669 667
 </div>

+ 26
- 22
software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_list.html View File

@@ -87,6 +87,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_list.
87 87
 <div class="title">monitor.DestijlCommandList Class Reference</div>  </div>
88 88
 </div><!--header-->
89 89
 <div class="contents">
90
+
91
+<p>Commands and options parameters used in Destijl project when communicating with server  
92
+ <a href="classmonitor_1_1_destijl_command_list.html#details">More...</a></p>
90 93
 <table class="memberdecls">
91 94
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
92 95
 Public Attributes</h2></td></tr>
@@ -132,8 +135,9 @@ Public Attributes</h2></td></tr>
132 135
 <tr class="separator:a88de91fa6abdc122245ceb26fc21fd33"><td class="memSeparator" colspan="2">&#160;</td></tr>
133 136
 </table>
134 137
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
135
-<div class="textblock">
136
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00005">5</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
138
+<div class="textblock"><p>Commands and options parameters used in Destijl project when communicating with server </p>
139
+
140
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00029">29</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
137 141
 </div><h2 class="groupheader">Member Data Documentation</h2>
138 142
 <a id="ad31b6758839a4c3b1b6ec4c71635e631"></a>
139 143
 <h2 class="memtitle"><span class="permalink"><a href="#ad31b6758839a4c3b1b6ec4c71635e631">&#9670;&nbsp;</a></span>DataCamArenaConfirm</h2>
@@ -147,7 +151,7 @@ Public Attributes</h2></td></tr>
147 151
       </table>
148 152
 </div><div class="memdoc">
149 153
 
150
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00018">18</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
154
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00042">42</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
151 155
 
152 156
 </div>
153 157
 </div>
@@ -163,7 +167,7 @@ Public Attributes</h2></td></tr>
163 167
       </table>
164 168
 </div><div class="memdoc">
165 169
 
166
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00017">17</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
170
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00041">41</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
167 171
 
168 172
 </div>
169 173
 </div>
@@ -179,7 +183,7 @@ Public Attributes</h2></td></tr>
179 183
       </table>
180 184
 </div><div class="memdoc">
181 185
 
182
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00016">16</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
186
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00040">40</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
183 187
 
184 188
 </div>
185 189
 </div>
@@ -195,7 +199,7 @@ Public Attributes</h2></td></tr>
195 199
       </table>
196 200
 </div><div class="memdoc">
197 201
 
198
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00020">20</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
202
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00044">44</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
199 203
 
200 204
 </div>
201 205
 </div>
@@ -211,7 +215,7 @@ Public Attributes</h2></td></tr>
211 215
       </table>
212 216
 </div><div class="memdoc">
213 217
 
214
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00019">19</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
218
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00043">43</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
215 219
 
216 220
 </div>
217 221
 </div>
@@ -227,7 +231,7 @@ Public Attributes</h2></td></tr>
227 231
       </table>
228 232
 </div><div class="memdoc">
229 233
 
230
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00015">15</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
234
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00039">39</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
231 235
 
232 236
 </div>
233 237
 </div>
@@ -243,7 +247,7 @@ Public Attributes</h2></td></tr>
243 247
       </table>
244 248
 </div><div class="memdoc">
245 249
 
246
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00021">21</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
250
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00045">45</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
247 251
 
248 252
 </div>
249 253
 </div>
@@ -259,7 +263,7 @@ Public Attributes</h2></td></tr>
259 263
       </table>
260 264
 </div><div class="memdoc">
261 265
 
262
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00013">13</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
266
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00037">37</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
263 267
 
264 268
 </div>
265 269
 </div>
@@ -275,7 +279,7 @@ Public Attributes</h2></td></tr>
275 279
       </table>
276 280
 </div><div class="memdoc">
277 281
 
278
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00012">12</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
282
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00036">36</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
279 283
 
280 284
 </div>
281 285
 </div>
@@ -291,7 +295,7 @@ Public Attributes</h2></td></tr>
291 295
       </table>
292 296
 </div><div class="memdoc">
293 297
 
294
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00009">9</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
298
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00033">33</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
295 299
 
296 300
 </div>
297 301
 </div>
@@ -307,7 +311,7 @@ Public Attributes</h2></td></tr>
307 311
       </table>
308 312
 </div><div class="memdoc">
309 313
 
310
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00007">7</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
314
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00031">31</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
311 315
 
312 316
 </div>
313 317
 </div>
@@ -323,7 +327,7 @@ Public Attributes</h2></td></tr>
323 327
       </table>
324 328
 </div><div class="memdoc">
325 329
 
326
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00008">8</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
330
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00032">32</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
327 331
 
328 332
 </div>
329 333
 </div>
@@ -339,7 +343,7 @@ Public Attributes</h2></td></tr>
339 343
       </table>
340 344
 </div><div class="memdoc">
341 345
 
342
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00010">10</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
346
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00034">34</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
343 347
 
344 348
 </div>
345 349
 </div>
@@ -355,7 +359,7 @@ Public Attributes</h2></td></tr>
355 359
       </table>
356 360
 </div><div class="memdoc">
357 361
 
358
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00023">23</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
362
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00047">47</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
359 363
 
360 364
 </div>
361 365
 </div>
@@ -371,7 +375,7 @@ Public Attributes</h2></td></tr>
371 375
       </table>
372 376
 </div><div class="memdoc">
373 377
 
374
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00029">29</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
378
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00053">53</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
375 379
 
376 380
 </div>
377 381
 </div>
@@ -387,7 +391,7 @@ Public Attributes</h2></td></tr>
387 391
       </table>
388 392
 </div><div class="memdoc">
389 393
 
390
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00026">26</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
394
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00050">50</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
391 395
 
392 396
 </div>
393 397
 </div>
@@ -403,7 +407,7 @@ Public Attributes</h2></td></tr>
403 407
       </table>
404 408
 </div><div class="memdoc">
405 409
 
406
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00025">25</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
410
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00049">49</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
407 411
 
408 412
 </div>
409 413
 </div>
@@ -419,7 +423,7 @@ Public Attributes</h2></td></tr>
419 423
       </table>
420 424
 </div><div class="memdoc">
421 425
 
422
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00028">28</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
426
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00052">52</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
423 427
 
424 428
 </div>
425 429
 </div>
@@ -435,7 +439,7 @@ Public Attributes</h2></td></tr>
435 439
       </table>
436 440
 </div><div class="memdoc">
437 441
 
438
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00024">24</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
442
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00048">48</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
439 443
 
440 444
 </div>
441 445
 </div>
@@ -451,7 +455,7 @@ Public Attributes</h2></td></tr>
451 455
       </table>
452 456
 </div><div class="memdoc">
453 457
 
454
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00027">27</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
458
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00051">51</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
455 459
 
456 460
 </div>
457 461
 </div>

+ 2
- 3
software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager-members.html View File

@@ -118,9 +118,8 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_manag
118 118
   <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b">RobotStartWithoutWatchdog</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
119 119
   <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636">RobotStartWithWatchdog</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
120 120
   <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced">RobotTurn</a>(int angle)</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
121
-  <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">SplitCommand</a>(string cmd, out string header, out string data)</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
122
-  <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3">timeout</a></td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
123
-  <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#abc51dc980d7ba7e59a571e579cb626b9">~DestijlCommandManager</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
121
+  <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3">timeout</a></td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
122
+  <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#abc51dc980d7ba7e59a571e579cb626b9">~DestijlCommandManager</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
124 123
 </table></div><!-- contents -->
125 124
 </div><!-- doc-content -->
126 125
 <!-- start footer part -->

+ 214
- 80
software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager.html View File

@@ -91,6 +91,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_manag
91 91
 <div class="title">monitor.DestijlCommandManager Class Reference</div>  </div>
92 92
 </div><!--header-->
93 93
 <div class="contents">
94
+
95
+<p>Specialization class for command manager, which implemnent destijl protocol between monitor and server  
96
+ <a href="classmonitor_1_1_destijl_command_manager.html#details">More...</a></p>
94 97
 <div class="dynheader">
95 98
 Collaboration diagram for monitor.DestijlCommandManager:</div>
96 99
 <div class="dyncontent">
@@ -111,56 +114,80 @@ Public Types</h2></td></tr>
111 114
 &#160;&#160;<a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0a37039bce065223d632b6974daa612656">CommandStatus.CommunicationLostWithRobot</a>, 
112 115
 <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ae7009a5c717d5d4d361433a9915e697e">CommandStatus.CommunicationLostWithServer</a>
113 116
 <br />
114
- }</td></tr>
117
+ }<tr class="memdesc:a9cb23e7493a32872ac808f3b63200fb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of available return status  <a href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">More...</a><br /></td></tr>
118
+</td></tr>
115 119
 <tr class="separator:a9cb23e7493a32872ac808f3b63200fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
116 120
 </table><table class="memberdecls">
117 121
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
118 122
 Public Member Functions</h2></td></tr>
119 123
 <tr class="memitem:acc08ece6a89e842188364226299b3d43"><td class="memItemLeft" align="right" valign="top">delegate void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43">CommandReceivedEvent</a> (string header, string data, byte[] buffer)</td></tr>
124
+<tr class="memdesc:acc08ece6a89e842188364226299b3d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback for sending received data to application level  <a href="#acc08ece6a89e842188364226299b3d43">More...</a><br /></td></tr>
120 125
 <tr class="separator:acc08ece6a89e842188364226299b3d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
121 126
 <tr class="memitem:a78bf0be922afbd9c5f8f4115fa83ad47"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a78bf0be922afbd9c5f8f4115fa83ad47">DestijlCommandManager</a> (<a class="el" href="classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43">CommandReceivedEvent</a> callback)</td></tr>
127
+<tr class="memdesc:a78bf0be922afbd9c5f8f4115fa83ad47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve...">monitor.DestijlCommandManager</a> class.  <a href="#a78bf0be922afbd9c5f8f4115fa83ad47">More...</a><br /></td></tr>
122 128
 <tr class="separator:a78bf0be922afbd9c5f8f4115fa83ad47"><td class="memSeparator" colspan="2">&#160;</td></tr>
123 129
 <tr class="memitem:a5dd6b75386a554c2f026eee787477bb0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a5dd6b75386a554c2f026eee787477bb0">Open</a> (string hostname)</td></tr>
130
+<tr class="memdesc:a5dd6b75386a554c2f026eee787477bb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open the specified hostname server, using default port number.  <a href="#a5dd6b75386a554c2f026eee787477bb0">More...</a><br /></td></tr>
124 131
 <tr class="separator:a5dd6b75386a554c2f026eee787477bb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
125 132
 <tr class="memitem:a842300511efb20783c271764ee0e3336"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a842300511efb20783c271764ee0e3336">Open</a> (string hostname, int port)</td></tr>
133
+<tr class="memdesc:a842300511efb20783c271764ee0e3336"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open connection to server "host", with port number "port"  <a href="#a842300511efb20783c271764ee0e3336">More...</a><br /></td></tr>
126 134
 <tr class="separator:a842300511efb20783c271764ee0e3336"><td class="memSeparator" colspan="2">&#160;</td></tr>
127 135
 <tr class="memitem:af1f57d8e3e980322e37da2cd3b61d1d7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#af1f57d8e3e980322e37da2cd3b61d1d7">Close</a> ()</td></tr>
136
+<tr class="memdesc:af1f57d8e3e980322e37da2cd3b61d1d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close connection to server  <a href="#af1f57d8e3e980322e37da2cd3b61d1d7">More...</a><br /></td></tr>
128 137
 <tr class="separator:af1f57d8e3e980322e37da2cd3b61d1d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
129 138
 <tr class="memitem:aa1440a571e6aaf11203b4e4a4ed116d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#aa1440a571e6aaf11203b4e4a4ed116d5">RobotOpenCom</a> ()</td></tr>
139
+<tr class="memdesc:aa1440a571e6aaf11203b4e4a4ed116d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open communication with robot and wait acknowledge  <a href="#aa1440a571e6aaf11203b4e4a4ed116d5">More...</a><br /></td></tr>
130 140
 <tr class="separator:aa1440a571e6aaf11203b4e4a4ed116d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
131 141
 <tr class="memitem:a0139bec493c965670226381f2ba63a23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a0139bec493c965670226381f2ba63a23">RobotCloseCom</a> ()</td></tr>
142
+<tr class="memdesc:a0139bec493c965670226381f2ba63a23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close communication with robot and wait acknowledge  <a href="#a0139bec493c965670226381f2ba63a23">More...</a><br /></td></tr>
132 143
 <tr class="separator:a0139bec493c965670226381f2ba63a23"><td class="memSeparator" colspan="2">&#160;</td></tr>
133 144
 <tr class="memitem:ae1af16558213c3830ea3006e8e8c5e28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ae1af16558213c3830ea3006e8e8c5e28">RobotPing</a> ()</td></tr>
145
+<tr class="memdesc:ae1af16558213c3830ea3006e8e8c5e28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ping the robot.  <a href="#ae1af16558213c3830ea3006e8e8c5e28">More...</a><br /></td></tr>
134 146
 <tr class="separator:ae1af16558213c3830ea3006e8e8c5e28"><td class="memSeparator" colspan="2">&#160;</td></tr>
135 147
 <tr class="memitem:abe223aa12456e3f1c2519e9c379d891a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#abe223aa12456e3f1c2519e9c379d891a">RobotReset</a> ()</td></tr>
148
+<tr class="memdesc:abe223aa12456e3f1c2519e9c379d891a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset robot and let it in idle mode  <a href="#abe223aa12456e3f1c2519e9c379d891a">More...</a><br /></td></tr>
136 149
 <tr class="separator:abe223aa12456e3f1c2519e9c379d891a"><td class="memSeparator" colspan="2">&#160;</td></tr>
137 150
 <tr class="memitem:ade46aceeb79556e31fe632e9602e1636"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636">RobotStartWithWatchdog</a> ()</td></tr>
151
+<tr class="memdesc:ade46aceeb79556e31fe632e9602e1636"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start robot, enabling watchdog  <a href="#ade46aceeb79556e31fe632e9602e1636">More...</a><br /></td></tr>
138 152
 <tr class="separator:ade46aceeb79556e31fe632e9602e1636"><td class="memSeparator" colspan="2">&#160;</td></tr>
139 153
 <tr class="memitem:a0c964baa3ecd4ff9d19857061413938b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b">RobotStartWithoutWatchdog</a> ()</td></tr>
154
+<tr class="memdesc:a0c964baa3ecd4ff9d19857061413938b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start robot, without enabling watchdog  <a href="#a0c964baa3ecd4ff9d19857061413938b">More...</a><br /></td></tr>
140 155
 <tr class="separator:a0c964baa3ecd4ff9d19857061413938b"><td class="memSeparator" colspan="2">&#160;</td></tr>
141 156
 <tr class="memitem:a5976fe792e270c63bd9f0f4c792df129"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a5976fe792e270c63bd9f0f4c792df129">RobotMove</a> (int distance)</td></tr>
157
+<tr class="memdesc:a5976fe792e270c63bd9f0f4c792df129"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move robot forward or backward, for a distance expressed in millimeter  <a href="#a5976fe792e270c63bd9f0f4c792df129">More...</a><br /></td></tr>
142 158
 <tr class="separator:a5976fe792e270c63bd9f0f4c792df129"><td class="memSeparator" colspan="2">&#160;</td></tr>
143 159
 <tr class="memitem:a3f7ee6f1803cfb8b2eb4290f9e9acced"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced">RobotTurn</a> (int angle)</td></tr>
160
+<tr class="memdesc:a3f7ee6f1803cfb8b2eb4290f9e9acced"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make robot turn left or right, for a given angle  <a href="#a3f7ee6f1803cfb8b2eb4290f9e9acced">More...</a><br /></td></tr>
144 161
 <tr class="separator:a3f7ee6f1803cfb8b2eb4290f9e9acced"><td class="memSeparator" colspan="2">&#160;</td></tr>
145 162
 <tr class="memitem:a2ec8021340de939318ace65b8462b930"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a2ec8021340de939318ace65b8462b930">RobotGetBattery</a> ()</td></tr>
163
+<tr class="memdesc:a2ec8021340de939318ace65b8462b930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request robot battery level  <a href="#a2ec8021340de939318ace65b8462b930">More...</a><br /></td></tr>
146 164
 <tr class="separator:a2ec8021340de939318ace65b8462b930"><td class="memSeparator" colspan="2">&#160;</td></tr>
147 165
 <tr class="memitem:a7ddd552ed82382a09b4af075c34fb989"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a7ddd552ed82382a09b4af075c34fb989">RobotGetVersion</a> (out string version)</td></tr>
166
+<tr class="memdesc:a7ddd552ed82382a09b4af075c34fb989"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request robot firmware version  <a href="#a7ddd552ed82382a09b4af075c34fb989">More...</a><br /></td></tr>
148 167
 <tr class="separator:a7ddd552ed82382a09b4af075c34fb989"><td class="memSeparator" colspan="2">&#160;</td></tr>
149 168
 <tr class="memitem:acb242a71fa40d4001dc1bc31d5bdc53f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#acb242a71fa40d4001dc1bc31d5bdc53f">RobotPowerOff</a> ()</td></tr>
169
+<tr class="memdesc:acb242a71fa40d4001dc1bc31d5bdc53f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Power off robot  <a href="#acb242a71fa40d4001dc1bc31d5bdc53f">More...</a><br /></td></tr>
150 170
 <tr class="separator:acb242a71fa40d4001dc1bc31d5bdc53f"><td class="memSeparator" colspan="2">&#160;</td></tr>
151 171
 <tr class="memitem:a292d7e2961ff31a80d9abf79b7b41126"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a292d7e2961ff31a80d9abf79b7b41126">CameraOpen</a> ()</td></tr>
172
+<tr class="memdesc:a292d7e2961ff31a80d9abf79b7b41126"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open camera on remote device  <a href="#a292d7e2961ff31a80d9abf79b7b41126">More...</a><br /></td></tr>
152 173
 <tr class="separator:a292d7e2961ff31a80d9abf79b7b41126"><td class="memSeparator" colspan="2">&#160;</td></tr>
153 174
 <tr class="memitem:a94b085d9de512cd7e80bcefd516d460c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a94b085d9de512cd7e80bcefd516d460c">CameraClose</a> ()</td></tr>
175
+<tr class="memdesc:a94b085d9de512cd7e80bcefd516d460c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close camera on remote device  <a href="#a94b085d9de512cd7e80bcefd516d460c">More...</a><br /></td></tr>
154 176
 <tr class="separator:a94b085d9de512cd7e80bcefd516d460c"><td class="memSeparator" colspan="2">&#160;</td></tr>
155 177
 <tr class="memitem:a8d178480fc09d474760eae995c9aa096"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a8d178480fc09d474760eae995c9aa096">CameraAskArena</a> ()</td></tr>
178
+<tr class="memdesc:a8d178480fc09d474760eae995c9aa096"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request still image of detected arena  <a href="#a8d178480fc09d474760eae995c9aa096">More...</a><br /></td></tr>
156 179
 <tr class="separator:a8d178480fc09d474760eae995c9aa096"><td class="memSeparator" colspan="2">&#160;</td></tr>
157 180
 <tr class="memitem:ac58ed9c19d8c9ed547c35fb96a983668"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ac58ed9c19d8c9ed547c35fb96a983668">CameraArenaConfirm</a> ()</td></tr>
181
+<tr class="memdesc:ac58ed9c19d8c9ed547c35fb96a983668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Confirm arena detection (after requesting image of detected arena, using CameraAskArena  <a href="#ac58ed9c19d8c9ed547c35fb96a983668">More...</a><br /></td></tr>
158 182
 <tr class="separator:ac58ed9c19d8c9ed547c35fb96a983668"><td class="memSeparator" colspan="2">&#160;</td></tr>
159 183
 <tr class="memitem:a614be7a565a3a10308f20b073b40383f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a614be7a565a3a10308f20b073b40383f">CameraArenaInfirm</a> ()</td></tr>
184
+<tr class="memdesc:a614be7a565a3a10308f20b073b40383f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reject arena detected (after requesting image of detected arena, using CameraAskArena  <a href="#a614be7a565a3a10308f20b073b40383f">More...</a><br /></td></tr>
160 185
 <tr class="separator:a614be7a565a3a10308f20b073b40383f"><td class="memSeparator" colspan="2">&#160;</td></tr>
161 186
 <tr class="memitem:ad04df7759d2698334a410fe32b78e21e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad04df7759d2698334a410fe32b78e21e">CameraComputePosition</a> ()</td></tr>
187
+<tr class="memdesc:ad04df7759d2698334a410fe32b78e21e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request robot position computing  <a href="#ad04df7759d2698334a410fe32b78e21e">More...</a><br /></td></tr>
162 188
 <tr class="separator:ad04df7759d2698334a410fe32b78e21e"><td class="memSeparator" colspan="2">&#160;</td></tr>
163 189
 <tr class="memitem:a928f987f8f5f12135614678585ab2726"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a928f987f8f5f12135614678585ab2726">CameraStopComputePosition</a> ()</td></tr>
190
+<tr class="memdesc:a928f987f8f5f12135614678585ab2726"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop robot position computing  <a href="#a928f987f8f5f12135614678585ab2726">More...</a><br /></td></tr>
164 191
 <tr class="separator:a928f987f8f5f12135614678585ab2726"><td class="memSeparator" colspan="2">&#160;</td></tr>
165 192
 </table><table class="memberdecls">
166 193
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
@@ -168,33 +195,40 @@ Public Attributes</h2></td></tr>
168 195
 <tr class="memitem:a5c10e8aaae48b83be0267aefa23eb62d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43">CommandReceivedEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d">commandReceivedEvent</a> = null</td></tr>
169 196
 <tr class="separator:a5c10e8aaae48b83be0267aefa23eb62d"><td class="memSeparator" colspan="2">&#160;</td></tr>
170 197
 <tr class="memitem:a86a1fb03dc480dab8d6758aa0d675cd3"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3">timeout</a> = 100</td></tr>
198
+<tr class="memdesc:a86a1fb03dc480dab8d6758aa0d675cd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timeout used for command with acknowledge  <a href="#a86a1fb03dc480dab8d6758aa0d675cd3">More...</a><br /></td></tr>
171 199
 <tr class="separator:a86a1fb03dc480dab8d6758aa0d675cd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
172 200
 </table><table class="memberdecls">
173 201
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
174 202
 Private Member Functions</h2></td></tr>
175 203
 <tr class="memitem:abc51dc980d7ba7e59a571e579cb626b9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#abc51dc980d7ba7e59a571e579cb626b9">~DestijlCommandManager</a> ()</td></tr>
204
+<tr class="memdesc:abc51dc980d7ba7e59a571e579cb626b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases unmanaged resources and performs other cleanup operations before the <a class="el" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve...">monitor.DestijlCommandManager</a> is reclaimed by garbage collection.  <a href="#abc51dc980d7ba7e59a571e579cb626b9">More...</a><br /></td></tr>
176 205
 <tr class="separator:abc51dc980d7ba7e59a571e579cb626b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
177 206
 <tr class="memitem:ab83dbda4196240c242a5ac101901bb19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ab83dbda4196240c242a5ac101901bb19">OnCommandReceived</a> (string msg, byte[] buffer)</td></tr>
207
+<tr class="memdesc:ab83dbda4196240c242a5ac101901bb19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback used for receiving data from lower layer (<a class="el" href="classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee...">CommandManager</a> class)  <a href="#ab83dbda4196240c242a5ac101901bb19">More...</a><br /></td></tr>
178 208
 <tr class="separator:ab83dbda4196240c242a5ac101901bb19"><td class="memSeparator" colspan="2">&#160;</td></tr>
179 209
 <tr class="memitem:a47eb72ec1ae43505966bc5cf09c79e58"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a47eb72ec1ae43505966bc5cf09c79e58">CreateCommand</a> (string header, string data)</td></tr>
210
+<tr class="memdesc:a47eb72ec1ae43505966bc5cf09c79e58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the command to send to server, based on header and data provided  <a href="#a47eb72ec1ae43505966bc5cf09c79e58">More...</a><br /></td></tr>
180 211
 <tr class="separator:a47eb72ec1ae43505966bc5cf09c79e58"><td class="memSeparator" colspan="2">&#160;</td></tr>
181
-<tr class="memitem:ad6fc73806e924e73dcf07c5cf3c81a66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">SplitCommand</a> (string cmd, out string header, out string data)</td></tr>
182
-<tr class="separator:ad6fc73806e924e73dcf07c5cf3c81a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
183 212
 <tr class="memitem:a00c3fb9f163c4d9025b356a5a7e74012"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a00c3fb9f163c4d9025b356a5a7e74012">DecodeStatus</a> (<a class="el" href="classmonitor_1_1_command_manager.html#ac8ca53031468acc8be05c37586671a9b">CommandManager.CommandManagerStatus</a> localStatus, string answer)</td></tr>
213
+<tr class="memdesc:a00c3fb9f163c4d9025b356a5a7e74012"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0" title="List of available return status ">DestijlCommandManager.CommandStatus</a> based on status received by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a> and answer string  <a href="#a00c3fb9f163c4d9025b356a5a7e74012">More...</a><br /></td></tr>
184 214
 <tr class="separator:a00c3fb9f163c4d9025b356a5a7e74012"><td class="memSeparator" colspan="2">&#160;</td></tr>
185 215
 </table><table class="memberdecls">
186 216
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
187 217
 Private Attributes</h2></td></tr>
188 218
 <tr class="memitem:a9efdcd3d35f46329e7aa167ad60062a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_command_manager.html">CommandManager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9">commandManager</a> = null</td></tr>
219
+<tr class="memdesc:a9efdcd3d35f46329e7aa167ad60062a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Manager object  <a href="#a9efdcd3d35f46329e7aa167ad60062a9">More...</a><br /></td></tr>
189 220
 <tr class="separator:a9efdcd3d35f46329e7aa167ad60062a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
190 221
 <tr class="memitem:a1b99d771e7af8ffc8ced10d35e5e77ce"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a1b99d771e7af8ffc8ced10d35e5e77ce">receivedHeader</a> = null</td></tr>
222
+<tr class="memdesc:a1b99d771e7af8ffc8ced10d35e5e77ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Part of received message corresponding to command header  <a href="#a1b99d771e7af8ffc8ced10d35e5e77ce">More...</a><br /></td></tr>
191 223
 <tr class="separator:a1b99d771e7af8ffc8ced10d35e5e77ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
192 224
 <tr class="memitem:a88f907fc9c5fd8cd8d5976f45c323903"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903">receivedData</a> = null</td></tr>
225
+<tr class="memdesc:a88f907fc9c5fd8cd8d5976f45c323903"><td class="mdescLeft">&#160;</td><td class="mdescRight">Part of received message corresponding to command data  <a href="#a88f907fc9c5fd8cd8d5976f45c323903">More...</a><br /></td></tr>
193 226
 <tr class="separator:a88f907fc9c5fd8cd8d5976f45c323903"><td class="memSeparator" colspan="2">&#160;</td></tr>
194 227
 </table>
195 228
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
196
-<div class="textblock">
197
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00046">46</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
229
+<div class="textblock"><p>Specialization class for command manager, which implemnent destijl protocol between monitor and server </p>
230
+
231
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00076">76</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
198 232
 </div><h2 class="groupheader">Member Enumeration Documentation</h2>
199 233
 <a id="a9cb23e7493a32872ac808f3b63200fb0"></a>
200 234
 <h2 class="memtitle"><span class="permalink"><a href="#a9cb23e7493a32872ac808f3b63200fb0">&#9670;&nbsp;</a></span>CommandStatus</h2>
@@ -215,6 +249,8 @@ Private Attributes</h2></td></tr>
215 249
   </tr>
216 250
 </table>
217 251
 </div><div class="memdoc">
252
+
253
+<p>List of available return status </p>
218 254
 <table class="fieldtable">
219 255
 <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a9cb23e7493a32872ac808f3b63200fb0a505a83f220c02df2f85c3810cd9ceb38"></a>Success&#160;</td><td class="fielddoc"></td></tr>
220 256
 <tr><td class="fieldname"><a id="a9cb23e7493a32872ac808f3b63200fb0ad37b1f6c0512e2118cee17fea015b699"></a>Rejected&#160;</td><td class="fielddoc"></td></tr>
@@ -224,7 +260,7 @@ Private Attributes</h2></td></tr>
224 260
 <tr><td class="fieldname"><a id="a9cb23e7493a32872ac808f3b63200fb0ae7009a5c717d5d4d361433a9915e697e"></a>CommunicationLostWithServer&#160;</td><td class="fielddoc"></td></tr>
225 261
 </table>
226 262
 
227
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00058">58</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
263
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00107">107</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
228 264
 
229 265
 </div>
230 266
 </div>
@@ -245,7 +281,15 @@ Private Attributes</h2></td></tr>
245 281
       </table>
246 282
 </div><div class="memdoc">
247 283
 
248
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00068">68</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
284
+<p>Initializes a new instance of the <a class="el" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve...">monitor.DestijlCommandManager</a> class. </p>
285
+<dl class="params"><dt>Parameters</dt><dd>
286
+  <table class="params">
287
+    <tr><td class="paramname">callback</td><td>Callback reference for reception of data</td></tr>
288
+  </table>
289
+  </dd>
290
+</dl>
291
+
292
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00121">121</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
249 293
 
250 294
 </div>
251 295
 </div>
@@ -272,7 +316,9 @@ Private Attributes</h2></td></tr>
272 316
 </table>
273 317
 </div><div class="memdoc">
274 318
 
275
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00074">74</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
319
+<p>Releases unmanaged resources and performs other cleanup operations before the <a class="el" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve...">monitor.DestijlCommandManager</a> is reclaimed by garbage collection. </p>
320
+
321
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00131">131</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
276 322
 
277 323
 </div>
278 324
 </div>
@@ -292,7 +338,10 @@ Private Attributes</h2></td></tr>
292 338
       </table>
293 339
 </div><div class="memdoc">
294 340
 
295
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00367">367</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
341
+<p>Confirm arena detection (after requesting image of detected arena, using CameraAskArena </p>
342
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
343
+
344
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00492">492</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
296 345
 
297 346
 </div>
298 347
 </div>
@@ -311,7 +360,10 @@ Private Attributes</h2></td></tr>
311 360
       </table>
312 361
 </div><div class="memdoc">
313 362
 
314
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00380">380</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
363
+<p>Reject arena detected (after requesting image of detected arena, using CameraAskArena </p>
364
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
365
+
366
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00509">509</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
315 367
 
316 368
 </div>
317 369
 </div>
@@ -330,7 +382,10 @@ Private Attributes</h2></td></tr>
330 382
       </table>
331 383
 </div><div class="memdoc">
332 384
 
333
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00354">354</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
385
+<p>Request still image of detected arena </p>
386
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
387
+
388
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00475">475</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
334 389
 
335 390
 </div>
336 391
 </div>
@@ -349,7 +404,10 @@ Private Attributes</h2></td></tr>
349 404
       </table>
350 405
 </div><div class="memdoc">
351 406
 
352
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00341">341</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
407
+<p>Close camera on remote device </p>
408
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
409
+
410
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00458">458</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
353 411
 
354 412
 </div>
355 413
 </div>
@@ -368,7 +426,10 @@ Private Attributes</h2></td></tr>
368 426
       </table>
369 427
 </div><div class="memdoc">
370 428
 
371
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00393">393</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
429
+<p>Request robot position computing </p>
430
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
431
+
432
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00526">526</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
372 433
 
373 434
 </div>
374 435
 </div>
@@ -387,7 +448,10 @@ Private Attributes</h2></td></tr>
387 448
       </table>
388 449
 </div><div class="memdoc">
389 450
 
390
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00328">328</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
451
+<p>Open camera on remote device </p>
452
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
453
+
454
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00441">441</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
391 455
 
392 456
 </div>
393 457
 </div>
@@ -406,7 +470,10 @@ Private Attributes</h2></td></tr>
406 470
       </table>
407 471
 </div><div class="memdoc">
408 472
 
409
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00406">406</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
473
+<p>Stop robot position computing </p>
474
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
475
+
476
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00543">543</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
410 477
 
411 478
 </div>
412 479
 </div>
@@ -425,7 +492,9 @@ Private Attributes</h2></td></tr>
425 492
       </table>
426 493
 </div><div class="memdoc">
427 494
 
428
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00103">103</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
495
+<p>Close connection to server </p>
496
+
497
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00183">183</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
429 498
 
430 499
 </div>
431 500
 </div>
@@ -461,6 +530,8 @@ Private Attributes</h2></td></tr>
461 530
       </table>
462 531
 </div><div class="memdoc">
463 532
 
533
+<p>Callback for sending received data to application level </p>
534
+
464 535
 </div>
465 536
 </div>
466 537
 <a id="a47eb72ec1ae43505966bc5cf09c79e58"></a>
@@ -497,7 +568,17 @@ Private Attributes</h2></td></tr>
497 568
 </table>
498 569
 </div><div class="memdoc">
499 570
 
500
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00108">108</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
571
+<p>Creates the command to send to server, based on header and data provided </p>
572
+<dl class="section return"><dt>Returns</dt><dd>The command string</dd></dl>
573
+<dl class="params"><dt>Parameters</dt><dd>
574
+  <table class="params">
575
+    <tr><td class="paramname">header</td><td>Header part of the command</td></tr>
576
+    <tr><td class="paramname">data</td><td>Data part of the command</td></tr>
577
+  </table>
578
+  </dd>
579
+</dl>
580
+
581
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00194">194</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
501 582
 
502 583
 </div>
503 584
 </div>
@@ -535,7 +616,17 @@ Private Attributes</h2></td></tr>
535 616
 </table>
536 617
 </div><div class="memdoc">
537 618
 
538
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00124">124</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
619
+<p>Provide <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0" title="List of available return status ">DestijlCommandManager.CommandStatus</a> based on status received by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a> and answer string </p>
620
+<dl class="section return"><dt>Returns</dt><dd>Status compatible with <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0" title="List of available return status ">DestijlCommandManager.CommandStatus</a> type</dd></dl>
621
+<dl class="params"><dt>Parameters</dt><dd>
622
+  <table class="params">
623
+    <tr><td class="paramname">localStatus</td><td>Status provided by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a></td></tr>
624
+    <tr><td class="paramname">answer</td><td>Answer provided by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a></td></tr>
625
+  </table>
626
+  </dd>
627
+</dl>
628
+
629
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00205">205</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
539 630
 
540 631
 </div>
541 632
 </div>
@@ -573,7 +664,16 @@ Private Attributes</h2></td></tr>
573 664
 </table>
574 665
 </div><div class="memdoc">
575 666
 
576
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00079">79</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
667
+<p>Callback used for receiving data from lower layer (<a class="el" href="classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee...">CommandManager</a> class) </p>
668
+<dl class="params"><dt>Parameters</dt><dd>
669
+  <table class="params">
670
+    <tr><td class="paramname">msg</td><td>String containing received message</td></tr>
671
+    <tr><td class="paramname">buffer</td><td>Raw buffer to be used when data are not in ascii format (image for example)</td></tr>
672
+  </table>
673
+  </dd>
674
+</dl>
675
+
676
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00141">141</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
577 677
 
578 678
 </div>
579 679
 </div>
@@ -593,7 +693,16 @@ Private Attributes</h2></td></tr>
593 693
       </table>
594 694
 </div><div class="memdoc">
595 695
 
596
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00092">92</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
696
+<p>Open the specified hostname server, using default port number. </p>
697
+<dl class="section return"><dt>Returns</dt><dd>true if connection succeded, false otherwise</dd></dl>
698
+<dl class="params"><dt>Parameters</dt><dd>
699
+  <table class="params">
700
+    <tr><td class="paramname">hostname</td><td>Hostname to connect to</td></tr>
701
+  </table>
702
+  </dd>
703
+</dl>
704
+
705
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00163">163</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
597 706
 
598 707
 </div>
599 708
 </div>
@@ -623,7 +732,17 @@ Private Attributes</h2></td></tr>
623 732
       </table>
624 733
 </div><div class="memdoc">
625 734
 
626
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00097">97</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
735
+<p>Open connection to server "host", with port number "port" </p>
736
+<dl class="section return"><dt>Returns</dt><dd>true if connection succeded, false otherwise</dd></dl>
737
+<dl class="params"><dt>Parameters</dt><dd>
738
+  <table class="params">
739
+    <tr><td class="paramname">hostname</td><td>Hostname to connect to</td></tr>
740
+    <tr><td class="paramname">port</td><td>Port number for connection</td></tr>
741
+  </table>
742
+  </dd>
743
+</dl>
744
+
745
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00174">174</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
627 746
 
628 747
 </div>
629 748
 </div>
@@ -642,7 +761,10 @@ Private Attributes</h2></td></tr>
642 761
       </table>
643 762
 </div><div class="memdoc">
644 763
 
645
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00157">157</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
764
+<p>Close communication with robot and wait acknowledge </p>
765
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
766
+
767
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00251">251</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
646 768
 
647 769
 </div>
648 770
 </div>
@@ -661,7 +783,10 @@ Private Attributes</h2></td></tr>
661 783
       </table>
662 784
 </div><div class="memdoc">
663 785
 
664
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00249">249</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
786
+<p>Request robot battery level </p>
787
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
788
+
789
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00372">372</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
665 790
 
666 791
 </div>
667 792
 </div>
@@ -681,7 +806,16 @@ Private Attributes</h2></td></tr>
681 806
       </table>
682 807
 </div><div class="memdoc">
683 808
 
684
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00284">284</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
809
+<p>Request robot firmware version </p>
810
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
811
+<dl class="params"><dt>Parameters</dt><dd>
812
+  <table class="params">
813
+    <tr><td class="paramname">version</td><td>todo</td></tr>
814
+  </table>
815
+  </dd>
816
+</dl>
817
+
818
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00390">390</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
685 819
 
686 820
 </div>
687 821
 </div>
@@ -701,7 +835,16 @@ Private Attributes</h2></td></tr>
701 835
       </table>
702 836
 </div><div class="memdoc">
703 837
 
704
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00222">222</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
838
+<p>Move robot forward or backward, for a distance expressed in millimeter </p>
839
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
840
+<dl class="params"><dt>Parameters</dt><dd>
841
+  <table class="params">
842
+    <tr><td class="paramname">distance</td><td>Distance of mouvment, in millimeter</td></tr>
843
+  </table>
844
+  </dd>
845
+</dl>
846
+
847
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00337">337</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
705 848
 
706 849
 </div>
707 850
 </div>
@@ -720,7 +863,10 @@ Private Attributes</h2></td></tr>
720 863
       </table>
721 864
 </div><div class="memdoc">
722 865
 
723
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00144">144</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
866
+<p>Open communication with robot and wait acknowledge </p>
867
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
868
+
869
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00234">234</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
724 870
 
725 871
 </div>
726 872
 </div>
@@ -739,7 +885,10 @@ Private Attributes</h2></td></tr>
739 885
       </table>
740 886
 </div><div class="memdoc">
741 887
 
742
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00170">170</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
888
+<p>Ping the robot. </p>
889
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
890
+
891
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00268">268</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
743 892
 
744 893
 </div>
745 894
 </div>
@@ -758,7 +907,10 @@ Private Attributes</h2></td></tr>
758 907
       </table>
759 908
 </div><div class="memdoc">
760 909
 
761
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00315">315</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
910
+<p>Power off robot </p>
911
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
912
+
913
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00424">424</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
762 914
 
763 915
 </div>
764 916
 </div>
@@ -777,7 +929,10 @@ Private Attributes</h2></td></tr>
777 929
       </table>
778 930
 </div><div class="memdoc">
779 931
 
780
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00183">183</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
932
+<p>Reset robot and let it in idle mode </p>
933
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
934
+
935
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00285">285</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
781 936
 
782 937
 </div>
783 938
 </div>
@@ -796,7 +951,10 @@ Private Attributes</h2></td></tr>
796 951
       </table>
797 952
 </div><div class="memdoc">
798 953
 
799
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00209">209</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
954
+<p>Start robot, without enabling watchdog </p>
955
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
956
+
957
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00319">319</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
800 958
 
801 959
 </div>
802 960
 </div>
@@ -815,7 +973,10 @@ Private Attributes</h2></td></tr>
815 973
       </table>
816 974
 </div><div class="memdoc">
817 975
 
818
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00196">196</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
976
+<p>Start robot, enabling watchdog </p>
977
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
978
+
979
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00302">302</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
819 980
 
820 981
 </div>
821 982
 </div>
@@ -835,51 +996,16 @@ Private Attributes</h2></td></tr>
835 996
       </table>
836 997
 </div><div class="memdoc">
837 998
 
838
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00235">235</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
999
+<p>Make robot turn left or right, for a given angle </p>
1000
+<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
1001
+<dl class="params"><dt>Parameters</dt><dd>
1002
+  <table class="params">
1003
+    <tr><td class="paramname">angle</td><td>Angle of turn, in degree (negative for left, positive for right)</td></tr>
1004
+  </table>
1005
+  </dd>
1006
+</dl>
839 1007
 
840
-</div>
841
-</div>
842
-<a id="ad6fc73806e924e73dcf07c5cf3c81a66"></a>
843
-<h2 class="memtitle"><span class="permalink"><a href="#ad6fc73806e924e73dcf07c5cf3c81a66">&#9670;&nbsp;</a></span>SplitCommand()</h2>
844
-
845
-<div class="memitem">
846
-<div class="memproto">
847
-<table class="mlabels">
848
-  <tr>
849
-  <td class="mlabels-left">
850
-      <table class="memname">
851
-        <tr>
852
-          <td class="memname">void monitor.DestijlCommandManager.SplitCommand </td>
853
-          <td>(</td>
854
-          <td class="paramtype">string&#160;</td>
855
-          <td class="paramname"><em>cmd</em>, </td>
856
-        </tr>
857
-        <tr>
858
-          <td class="paramkey"></td>
859
-          <td></td>
860
-          <td class="paramtype">out string&#160;</td>
861
-          <td class="paramname"><em>header</em>, </td>
862
-        </tr>
863
-        <tr>
864
-          <td class="paramkey"></td>
865
-          <td></td>
866
-          <td class="paramtype">out string&#160;</td>
867
-          <td class="paramname"><em>data</em>&#160;</td>
868
-        </tr>
869
-        <tr>
870
-          <td></td>
871
-          <td>)</td>
872
-          <td></td><td></td>
873
-        </tr>
874
-      </table>
875
-  </td>
876
-  <td class="mlabels-right">
877
-<span class="mlabels"><span class="mlabel">private</span></span>  </td>
878
-  </tr>
879
-</table>
880
-</div><div class="memdoc">
881
-
882
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00113">113</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
1008
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00355">355</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
883 1009
 
884 1010
 </div>
885 1011
 </div>
@@ -904,7 +1030,9 @@ Private Attributes</h2></td></tr>
904 1030
 </table>
905 1031
 </div><div class="memdoc">
906 1032
 
907
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00048">48</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
1033
+<p>Command Manager object </p>
1034
+
1035
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00081">81</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
908 1036
 
909 1037
 </div>
910 1038
 </div>
@@ -920,7 +1048,7 @@ Private Attributes</h2></td></tr>
920 1048
       </table>
921 1049
 </div><div class="memdoc">
922 1050
 
923
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00054">54</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
1051
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00097">97</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
924 1052
 
925 1053
 </div>
926 1054
 </div>
@@ -944,7 +1072,9 @@ Private Attributes</h2></td></tr>
944 1072
 </table>
945 1073
 </div><div class="memdoc">
946 1074
 
947
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00051">51</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
1075
+<p>Part of received message corresponding to command data </p>
1076
+
1077
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00091">91</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
948 1078
 
949 1079
 </div>
950 1080
 </div>
@@ -968,7 +1098,9 @@ Private Attributes</h2></td></tr>
968 1098
 </table>
969 1099
 </div><div class="memdoc">
970 1100
 
971
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00050">50</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
1101
+<p>Part of received message corresponding to command header </p>
1102
+
1103
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00086">86</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
972 1104
 
973 1105
 </div>
974 1106
 </div>
@@ -984,7 +1116,9 @@ Private Attributes</h2></td></tr>
984 1116
       </table>
985 1117
 </div><div class="memdoc">
986 1118
 
987
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00056">56</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
1119
+<p>Timeout used for command with acknowledge </p>
1120
+
1121
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00102">102</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
988 1122
 
989 1123
 </div>
990 1124
 </div>

+ 0
- 1
software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager.js View File

@@ -35,7 +35,6 @@ var classmonitor_1_1_destijl_command_manager =
35 35
     [ "RobotStartWithoutWatchdog", "classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b", null ],
36 36
     [ "RobotStartWithWatchdog", "classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636", null ],
37 37
     [ "RobotTurn", "classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced", null ],
38
-    [ "SplitCommand", "classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66", null ],
39 38
     [ "commandManager", "classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9", null ],
40 39
     [ "commandReceivedEvent", "classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d", null ],
41 40
     [ "receivedData", "classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903", null ],

+ 2
- 2
software/monitor/monitor/docs/html/classmonitor_1_1_main_class.html View File

@@ -95,7 +95,7 @@ Static Public Member Functions</h2></td></tr>
95 95
 </table>
96 96
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
97 97
 <div class="textblock">
98
-<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00006">6</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
98
+<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00027">27</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
99 99
 </div><h2 class="groupheader">Member Function Documentation</h2>
100 100
 <a id="a991579f985cc4071757b30a8b035e7c1"></a>
101 101
 <h2 class="memtitle"><span class="permalink"><a href="#a991579f985cc4071757b30a8b035e7c1">&#9670;&nbsp;</a></span>Main()</h2>
@@ -121,7 +121,7 @@ Static Public Member Functions</h2></td></tr>
121 121
 </table>
122 122
 </div><div class="memdoc">
123 123
 
124
-<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00008">8</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
124
+<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00029">29</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
125 125
 
126 126
 </div>
127 127
 </div>

+ 16
- 12
software/monitor/monitor/docs/html/classmonitor_1_1_robot_command_list.html View File

@@ -87,6 +87,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_robot_command_list.ht
87 87
 <div class="title">monitor.RobotCommandList Class Reference</div>  </div>
88 88
 </div><!--header-->
89 89
 <div class="contents">
90
+
91
+<p>Commands used for robot messages  
92
+ <a href="classmonitor_1_1_robot_command_list.html#details">More...</a></p>
90 93
 <table class="memberdecls">
91 94
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
92 95
 Public Attributes</h2></td></tr>
@@ -112,8 +115,9 @@ Public Attributes</h2></td></tr>
112 115
 <tr class="separator:a2e9616c1b75719c208902e595b79cc48"><td class="memSeparator" colspan="2">&#160;</td></tr>
113 116
 </table>
114 117
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
115
-<div class="textblock">
116
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00032">32</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
118
+<div class="textblock"><p>Commands used for robot messages </p>
119
+
120
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00059">59</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
117 121
 </div><h2 class="groupheader">Member Data Documentation</h2>
118 122
 <a id="a374eb526d14b8499e47b065230afeed0"></a>
119 123
 <h2 class="memtitle"><span class="permalink"><a href="#a374eb526d14b8499e47b065230afeed0">&#9670;&nbsp;</a></span>RobotGetBattery</h2>
@@ -127,7 +131,7 @@ Public Attributes</h2></td></tr>
127 131
       </table>
128 132
 </div><div class="memdoc">
129 133
 
130
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00038">38</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
134
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00065">65</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
131 135
 
132 136
 </div>
133 137
 </div>
@@ -143,7 +147,7 @@ Public Attributes</h2></td></tr>
143 147
       </table>
144 148
 </div><div class="memdoc">
145 149
 
146
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00039">39</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
150
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00066">66</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
147 151
 
148 152
 </div>
149 153
 </div>
@@ -159,7 +163,7 @@ Public Attributes</h2></td></tr>
159 163
       </table>
160 164
 </div><div class="memdoc">
161 165
 
162
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00042">42</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
166
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00069">69</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
163 167
 
164 168
 </div>
165 169
 </div>
@@ -175,7 +179,7 @@ Public Attributes</h2></td></tr>
175 179
       </table>
176 180
 </div><div class="memdoc">
177 181
 
178
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00040">40</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
182
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00067">67</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
179 183
 
180 184
 </div>
181 185
 </div>
@@ -191,7 +195,7 @@ Public Attributes</h2></td></tr>
191 195
       </table>
192 196
 </div><div class="memdoc">
193 197
 
194
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00034">34</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
198
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00061">61</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
195 199
 
196 200
 </div>
197 201
 </div>
@@ -207,7 +211,7 @@ Public Attributes</h2></td></tr>
207 211
       </table>
208 212
 </div><div class="memdoc">
209 213
 
210
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00043">43</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
214
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00070">70</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
211 215
 
212 216
 </div>
213 217
 </div>
@@ -223,7 +227,7 @@ Public Attributes</h2></td></tr>
223 227
       </table>
224 228
 </div><div class="memdoc">
225 229
 
226
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00035">35</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
230
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00062">62</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
227 231
 
228 232
 </div>
229 233
 </div>
@@ -239,7 +243,7 @@ Public Attributes</h2></td></tr>
239 243
       </table>
240 244
 </div><div class="memdoc">
241 245
 
242
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00036">36</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
246
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00063">63</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
243 247
 
244 248
 </div>
245 249
 </div>
@@ -255,7 +259,7 @@ Public Attributes</h2></td></tr>
255 259
       </table>
256 260
 </div><div class="memdoc">
257 261
 
258
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00037">37</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
262
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00064">64</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
259 263
 
260 264
 </div>
261 265
 </div>
@@ -271,7 +275,7 @@ Public Attributes</h2></td></tr>
271 275
       </table>
272 276
 </div><div class="memdoc">
273 277
 
274
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00041">41</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
278
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00068">68</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
275 279
 
276 280
 </div>
277 281
 </div>

+ 3
- 6
software/monitor/monitor/docs/html/functions.html View File

@@ -420,18 +420,15 @@ $(document).ready(function(){initNavTree('functions.html','');});
420 420
 <li>SendCommand()
421 421
 : <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363">monitor.CommandManager</a>
422 422
 </li>
423
-<li>SplitCommand()
424
-: <a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">monitor.DestijlCommandManager</a>
425
-</li>
426 423
 <li>stream
427 424
 : <a class="el" href="classmonitor_1_1_client.html#a8de2a9e4fe2c2e896849ddd33d80d759">monitor.Client</a>
428 425
 </li>
429
-<li>systemState
430
-: <a class="el" href="class_main_window.html#a105025ee1bdfac188f1ce640d593550d">MainWindow</a>
431
-</li>
432 426
 <li>SystemState
433 427
 : <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">MainWindow</a>
434 428
 </li>
429
+<li>systemState
430
+: <a class="el" href="class_main_window.html#a105025ee1bdfac188f1ce640d593550d">MainWindow</a>
431
+</li>
435 432
 </ul>
436 433
 
437 434
 

+ 0
- 3
software/monitor/monitor/docs/html/functions_func.html View File

@@ -259,9 +259,6 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
259 259
 <li>SendCommand()
260 260
 : <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363">monitor.CommandManager</a>
261 261
 </li>
262
-<li>SplitCommand()
263
-: <a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">monitor.DestijlCommandManager</a>
264
-</li>
265 262
 </ul>
266 263
 
267 264
 

+ 4
- 4
software/monitor/monitor/docs/html/hierarchy.html View File

@@ -90,12 +90,12 @@ This inheritance list is sorted roughly, but not completely, alphabetically:</di
90 90
 <div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
91 91
 <tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_client.html" target="_self">monitor.Client</a></td><td class="desc">Static class for TCP client </td></tr>
92 92
 <tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_command_manager.html" target="_self">monitor.CommandManager</a></td><td class="desc">Command Manager. Use for timeout managment during reception of data Used as intermediate layer between TCP client class (<a class="el" href="classmonitor_1_1_client.html" title="Static class for TCP client ">Client</a>) and application level managment of command and answers </td></tr>
93
-<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_list.html" target="_self">monitor.DestijlCommandList</a></td><td class="desc"></td></tr>
94
-<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_manager.html" target="_self">monitor.DestijlCommandManager</a></td><td class="desc"></td></tr>
93
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_list.html" target="_self">monitor.DestijlCommandList</a></td><td class="desc">Commands and options parameters used in Destijl project when communicating with server </td></tr>
94
+<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_manager.html" target="_self">monitor.DestijlCommandManager</a></td><td class="desc">Specialization class for command manager, which implemnent destijl protocol between monitor and server </td></tr>
95 95
 <tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_main_class.html" target="_self">monitor.MainClass</a></td><td class="desc"></td></tr>
96
-<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_robot_command_list.html" target="_self">monitor.RobotCommandList</a></td><td class="desc"></td></tr>
96
+<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_robot_command_list.html" target="_self">monitor.RobotCommandList</a></td><td class="desc">Commands used for robot messages </td></tr>
97 97
 <tr id="row_6_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_6_" class="arrow" onclick="toggleFolder('6_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>Window</b></td><td class="desc"></td></tr>
98
-<tr id="row_6_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main window. </td></tr>
98
+<tr id="row_6_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main part of the program, behavior of main window </td></tr>
99 99
 </table>
100 100
 </div><!-- directory -->
101 101
 </div><!-- contents -->

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_0.map View File

@@ -1,3 +1,3 @@
1 1
 <map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
2
-<area shape="rect" id="node1" href="$class_main_window.html" title="Main window. " alt="" coords="5,29,103,56"/>
2
+<area shape="rect" id="node1" href="$class_main_window.html" title="Main part of the program, behavior of main window " alt="" coords="5,29,103,56"/>
3 3
 </map>

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_0.md5 View File

@@ -1 +1 @@
1
-71c93c301ffe32e83dee5c662586af4c
1
+e829b3887c8b0c5c42140f50d2b41b39

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_3.map View File

@@ -1,3 +1,3 @@
1 1
 <map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
2
-<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_list.html" title="monitor.DestijlCommandList" alt="" coords="5,5,192,32"/>
2
+<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_list.html" title="Commands and options parameters used in Destijl project when communicating with server ..." alt="" coords="5,5,192,32"/>
3 3
 </map>

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_3.md5 View File

@@ -1 +1 @@
1
-06cbb5b9e5915ca5e57f474509c4bbe8
1
+e506e4a72be67e389be1a4fb1dc96811

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_4.map View File

@@ -1,3 +1,3 @@
1 1
 <map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
2
-<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="5,5,221,32"/>
2
+<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="5,5,221,32"/>
3 3
 </map>

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_4.md5 View File

@@ -1 +1 @@
1
-e2d5d112fd08e78b011a153cd00d4f90
1
+6a403a420dfa48b80ccea32e886e0f34

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_6.map View File

@@ -1,3 +1,3 @@
1 1
 <map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
2
-<area shape="rect" id="node1" href="$classmonitor_1_1_robot_command_list.html" title="monitor.RobotCommandList" alt="" coords="5,5,191,32"/>
2
+<area shape="rect" id="node1" href="$classmonitor_1_1_robot_command_list.html" title="Commands used for robot messages " alt="" coords="5,5,191,32"/>
3 3
 </map>

+ 1
- 1
software/monitor/monitor/docs/html/inherit_graph_6.md5 View File

@@ -1 +1 @@
1
-b8ac255814f63b3b18972f7cb2f7fca2
1
+584ca43931ee38db8f1852cd21f60041

+ 4
- 4
software/monitor/monitor/docs/html/inherits.html View File

@@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('hierarchy.html','');});
89 89
 </div><table border="0" cellspacing="10" cellpadding="0">
90 90
 <tr><td><img src="inherit_graph_0.png" border="0" alt="" usemap="#_main_window"/>
91 91
 <map name="_main_window" id="_main_window">
92
-<area shape="rect" id="node1" href="class_main_window.html" title="Main window. " alt="" coords="5,29,103,56"/>
92
+<area shape="rect" id="node1" href="class_main_window.html" title="Main part of the program, behavior of main window " alt="" coords="5,29,103,56"/>
93 93
 </map>
94 94
 </td></tr>
95 95
 <tr><td><img src="inherit_graph_1.png" border="0" alt="" usemap="#monitor_8_client"/>
@@ -104,12 +104,12 @@ $(document).ready(function(){initNavTree('hierarchy.html','');});
104 104
 </td></tr>
105 105
 <tr><td><img src="inherit_graph_3.png" border="0" alt="" usemap="#monitor_8_destijl_command_list"/>
106 106
 <map name="monitor_8_destijl_command_list" id="monitor_8_destijl_command_list">
107
-<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_list.html" title="monitor.DestijlCommandList" alt="" coords="5,5,192,32"/>
107
+<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_list.html" title="Commands and options parameters used in Destijl project when communicating with server ..." alt="" coords="5,5,192,32"/>
108 108
 </map>
109 109
 </td></tr>
110 110
 <tr><td><img src="inherit_graph_4.png" border="0" alt="" usemap="#monitor_8_destijl_command_manager"/>
111 111
 <map name="monitor_8_destijl_command_manager" id="monitor_8_destijl_command_manager">
112
-<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="5,5,221,32"/>
112
+<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="5,5,221,32"/>
113 113
 </map>
114 114
 </td></tr>
115 115
 <tr><td><img src="inherit_graph_5.png" border="0" alt="" usemap="#monitor_8_main_class"/>
@@ -119,7 +119,7 @@ $(document).ready(function(){initNavTree('hierarchy.html','');});
119 119
 </td></tr>
120 120
 <tr><td><img src="inherit_graph_6.png" border="0" alt="" usemap="#monitor_8_robot_command_list"/>
121 121
 <map name="monitor_8_robot_command_list" id="monitor_8_robot_command_list">
122
-<area shape="rect" id="node1" href="classmonitor_1_1_robot_command_list.html" title="monitor.RobotCommandList" alt="" coords="5,5,191,32"/>
122
+<area shape="rect" id="node1" href="classmonitor_1_1_robot_command_list.html" title="Commands used for robot messages " alt="" coords="5,5,191,32"/>
123 123
 </map>
124 124
 </td></tr>
125 125
 </table>

+ 3
- 0
software/monitor/monitor/docs/html/namespacemonitor.html View File

@@ -96,12 +96,15 @@ Classes</h2></td></tr>
96 96
 <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Manager. Use for timeout managment during reception of data Used as intermediate layer between TCP client class (<a class="el" href="classmonitor_1_1_client.html" title="Static class for TCP client ">Client</a>) and application level managment of command and answers  <a href="classmonitor_1_1_command_manager.html#details">More...</a><br /></td></tr>
97 97
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
98 98
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_list.html">DestijlCommandList</a></td></tr>
99
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commands and options parameters used in Destijl project when communicating with server  <a href="classmonitor_1_1_destijl_command_list.html#details">More...</a><br /></td></tr>
99 100
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
100 101
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">DestijlCommandManager</a></td></tr>
102
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specialization class for command manager, which implemnent destijl protocol between monitor and server  <a href="classmonitor_1_1_destijl_command_manager.html#details">More...</a><br /></td></tr>
101 103
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
102 104
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_main_class.html">MainClass</a></td></tr>
103 105
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
104 106
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_robot_command_list.html">RobotCommandList</a></td></tr>
107
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commands used for robot messages  <a href="classmonitor_1_1_robot_command_list.html#details">More...</a><br /></td></tr>
105 108
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
106 109
 </table>
107 110
 </div><!-- contents -->

+ 5
- 6
software/monitor/monitor/docs/html/navtreeindex0.js View File

@@ -102,20 +102,20 @@ var NAVTREEINDEX0 =
102 102
 "classmonitor_1_1_destijl_command_manager.html#a00c3fb9f163c4d9025b356a5a7e74012":[1,0,0,3,13],
103 103
 "classmonitor_1_1_destijl_command_manager.html#a0139bec493c965670226381f2ba63a23":[1,0,0,3,17],
104 104
 "classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b":[1,0,0,3,25],
105
-"classmonitor_1_1_destijl_command_manager.html#a1b99d771e7af8ffc8ced10d35e5e77ce":[1,0,0,3,32],
105
+"classmonitor_1_1_destijl_command_manager.html#a1b99d771e7af8ffc8ced10d35e5e77ce":[1,0,0,3,31],
106 106
 "classmonitor_1_1_destijl_command_manager.html#a292d7e2961ff31a80d9abf79b7b41126":[1,0,0,3,8],
107 107
 "classmonitor_1_1_destijl_command_manager.html#a2ec8021340de939318ace65b8462b930":[1,0,0,3,18],
108 108
 "classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced":[1,0,0,3,27],
109 109
 "classmonitor_1_1_destijl_command_manager.html#a47eb72ec1ae43505966bc5cf09c79e58":[1,0,0,3,12],
110 110
 "classmonitor_1_1_destijl_command_manager.html#a5976fe792e270c63bd9f0f4c792df129":[1,0,0,3,20],
111
-"classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d":[1,0,0,3,30],
111
+"classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d":[1,0,0,3,29],
112 112
 "classmonitor_1_1_destijl_command_manager.html#a5dd6b75386a554c2f026eee787477bb0":[1,0,0,3,15],
113 113
 "classmonitor_1_1_destijl_command_manager.html#a614be7a565a3a10308f20b073b40383f":[1,0,0,3,4],
114 114
 "classmonitor_1_1_destijl_command_manager.html#a78bf0be922afbd9c5f8f4115fa83ad47":[1,0,0,3,1],
115 115
 "classmonitor_1_1_destijl_command_manager.html#a7ddd552ed82382a09b4af075c34fb989":[1,0,0,3,19],
116 116
 "classmonitor_1_1_destijl_command_manager.html#a842300511efb20783c271764ee0e3336":[1,0,0,3,16],
117
-"classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3":[1,0,0,3,33],
118
-"classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903":[1,0,0,3,31],
117
+"classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3":[1,0,0,3,32],
118
+"classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903":[1,0,0,3,30],
119 119
 "classmonitor_1_1_destijl_command_manager.html#a8d178480fc09d474760eae995c9aa096":[1,0,0,3,5],
120 120
 "classmonitor_1_1_destijl_command_manager.html#a928f987f8f5f12135614678585ab2726":[1,0,0,3,9],
121 121
 "classmonitor_1_1_destijl_command_manager.html#a94b085d9de512cd7e80bcefd516d460c":[1,0,0,3,6],
@@ -126,7 +126,7 @@ var NAVTREEINDEX0 =
126 126
 "classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ad410f0b6f9dc2f2b271f9cf2fc78eb34":[1,0,0,3,0,2],
127 127
 "classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ad8a942ef2b04672adfafef0ad817a407":[1,0,0,3,0,3],
128 128
 "classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ae7009a5c717d5d4d361433a9915e697e":[1,0,0,3,0,5],
129
-"classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9":[1,0,0,3,29],
129
+"classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9":[1,0,0,3,28],
130 130
 "classmonitor_1_1_destijl_command_manager.html#aa1440a571e6aaf11203b4e4a4ed116d5":[1,0,0,3,21],
131 131
 "classmonitor_1_1_destijl_command_manager.html#ab83dbda4196240c242a5ac101901bb19":[1,0,0,3,14],
132 132
 "classmonitor_1_1_destijl_command_manager.html#abc51dc980d7ba7e59a571e579cb626b9":[1,0,0,3,2],
@@ -135,7 +135,6 @@ var NAVTREEINDEX0 =
135 135
 "classmonitor_1_1_destijl_command_manager.html#acb242a71fa40d4001dc1bc31d5bdc53f":[1,0,0,3,23],
136 136
 "classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43":[1,0,0,3,11],
137 137
 "classmonitor_1_1_destijl_command_manager.html#ad04df7759d2698334a410fe32b78e21e":[1,0,0,3,7],
138
-"classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66":[1,0,0,3,28],
139 138
 "classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636":[1,0,0,3,26],
140 139
 "classmonitor_1_1_destijl_command_manager.html#ae1af16558213c3830ea3006e8e8c5e28":[1,0,0,3,22],
141 140
 "classmonitor_1_1_destijl_command_manager.html#af1f57d8e3e980322e37da2cd3b61d1d7":[1,0,0,3,10],

+ 1
- 2
software/monitor/monitor/docs/html/search/all_b.js View File

@@ -2,8 +2,7 @@ var searchData=
2 2
 [
3 3
   ['sendcommand',['SendCommand',['../classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363',1,'monitor::CommandManager']]],
4 4
   ['serverconnected',['ServerConnected',['../class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76',1,'MainWindow']]],
5
-  ['splitcommand',['SplitCommand',['../classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66',1,'monitor::DestijlCommandManager']]],
6 5
   ['stream',['stream',['../classmonitor_1_1_client.html#a8de2a9e4fe2c2e896849ddd33d80d759',1,'monitor::Client']]],
7 6
   ['success',['Success',['../classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0a505a83f220c02df2f85c3810cd9ceb38',1,'monitor::DestijlCommandManager']]],
8
-  ['systemstate',['systemState',['../class_main_window.html#a105025ee1bdfac188f1ce640d593550d',1,'MainWindow.systemState()'],['../class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d',1,'MainWindow.SystemState()']]]
7
+  ['systemstate',['SystemState',['../class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d',1,'MainWindow.SystemState()'],['../class_main_window.html#a105025ee1bdfac188f1ce640d593550d',1,'MainWindow.systemState()']]]
9 8
 ];

+ 1
- 1
software/monitor/monitor/docs/html/search/all_c.js View File

@@ -1,4 +1,4 @@
1 1
 var searchData=
2 2
 [
3
-  ['timeout',['timeout',['../classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3',1,'monitor.DestijlCommandManager.timeout()'],['../classmonitor_1_1_command_manager.html#ac8ca53031468acc8be05c37586671a9bac85a251cc457840f1e032f1b733e9398',1,'monitor.CommandManager.Timeout()']]]
3
+  ['timeout',['Timeout',['../classmonitor_1_1_command_manager.html#ac8ca53031468acc8be05c37586671a9bac85a251cc457840f1e032f1b733e9398',1,'monitor.CommandManager.Timeout()'],['../classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3',1,'monitor.DestijlCommandManager.timeout()']]]
4 4
 ];

+ 1
- 2
software/monitor/monitor/docs/html/search/functions_6.js View File

@@ -1,5 +1,4 @@
1 1
 var searchData=
2 2
 [
3
-  ['sendcommand',['SendCommand',['../classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363',1,'monitor::CommandManager']]],
4
-  ['splitcommand',['SplitCommand',['../classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66',1,'monitor::DestijlCommandManager']]]
3
+  ['sendcommand',['SendCommand',['../classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363',1,'monitor::CommandManager']]]
5 4
 ];

+ 3
- 3
software/monitor/monitor/docs/latex/_destijl_command_manager_8cs.tex View File

@@ -4,11 +4,11 @@
4 4
 \begin{DoxyCompactItemize}
5 5
 \item 
6 6
 class \textbf{ monitor.\+Destijl\+Command\+List}
7
-\item 
7
+\begin{DoxyCompactList}\small\item\em Commands and options parameters used in Destijl project when communicating with server \end{DoxyCompactList}\item 
8 8
 class \textbf{ monitor.\+Robot\+Command\+List}
9
-\item 
9
+\begin{DoxyCompactList}\small\item\em Commands used for robot messages \end{DoxyCompactList}\item 
10 10
 class \textbf{ monitor.\+Destijl\+Command\+Manager}
11
-\end{DoxyCompactItemize}
11
+\begin{DoxyCompactList}\small\item\em Specialization class for command manager, which implemnent destijl protocol between monitor and server \end{DoxyCompactList}\end{DoxyCompactItemize}
12 12
 \subsection*{Namespaces}
13 13
 \begin{DoxyCompactItemize}
14 14
 \item 

+ 1
- 1
software/monitor/monitor/docs/latex/_monitor_u_i_8cs.tex View File

@@ -4,4 +4,4 @@
4 4
 \begin{DoxyCompactItemize}
5 5
 \item 
6 6
 class \textbf{ Main\+Window}
7
-\begin{DoxyCompactList}\small\item\em Main window. \end{DoxyCompactList}\end{DoxyCompactItemize}
7
+\begin{DoxyCompactList}\small\item\em Main part of the program, behavior of main window \end{DoxyCompactList}\end{DoxyCompactItemize}

+ 4
- 4
software/monitor/monitor/docs/latex/annotated.tex View File

@@ -2,9 +2,9 @@
2 2
 Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList}
3 3
 \item\contentsline{section}{\textbf{ monitor.\+Client} \\*Static class for T\+CP client }{\pageref{classmonitor_1_1_client}}{}
4 4
 \item\contentsline{section}{\textbf{ monitor.\+Command\+Manager} \\*Command Manager. Use for timeout managment during reception of data Used as intermediate layer between T\+CP client class (\doxyref{Client}{p.}{classmonitor_1_1_client}) and application level managment of command and answers }{\pageref{classmonitor_1_1_command_manager}}{}
5
-\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+List} }{\pageref{classmonitor_1_1_destijl_command_list}}{}
6
-\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+Manager} }{\pageref{classmonitor_1_1_destijl_command_manager}}{}
5
+\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+List} \\*Commands and options parameters used in Destijl project when communicating with server }{\pageref{classmonitor_1_1_destijl_command_list}}{}
6
+\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+Manager} \\*Specialization class for command manager, which implemnent destijl protocol between monitor and server }{\pageref{classmonitor_1_1_destijl_command_manager}}{}
7 7
 \item\contentsline{section}{\textbf{ monitor.\+Main\+Class} }{\pageref{classmonitor_1_1_main_class}}{}
8
-\item\contentsline{section}{\textbf{ Main\+Window} \\*Main window. }{\pageref{class_main_window}}{}
9
-\item\contentsline{section}{\textbf{ monitor.\+Robot\+Command\+List} }{\pageref{classmonitor_1_1_robot_command_list}}{}
8
+\item\contentsline{section}{\textbf{ Main\+Window} \\*Main part of the program, behavior of main window }{\pageref{class_main_window}}{}
9
+\item\contentsline{section}{\textbf{ monitor.\+Robot\+Command\+List} \\*Commands used for robot messages }{\pageref{classmonitor_1_1_robot_command_list}}{}
10 10
 \end{DoxyCompactList}

+ 238
- 49
software/monitor/monitor/docs/latex/class_main_window.tex View File

@@ -2,7 +2,7 @@
2 2
 \label{class_main_window}\index{Main\+Window@{Main\+Window}}
3 3
 
4 4
 
5
-Main window.  
5
+Main part of the program, behavior of main window  
6 6
 
7 7
 
8 8
 
@@ -16,8 +16,7 @@ Inheritance diagram for Main\+Window\+:\nopagebreak
16 16
 \end{figure}
17 17
 
18 18
 
19
-Collaboration diagram for Main\+Window\+:
20
-\nopagebreak
19
+Collaboration diagram for Main\+Window\+:\nopagebreak
21 20
 \begin{figure}[H]
22 21
 \begin{center}
23 22
 \leavevmode
@@ -28,72 +27,72 @@ Collaboration diagram for Main\+Window\+:
28 27
 \begin{DoxyCompactItemize}
29 28
 \item 
30 29
 \textbf{ Main\+Window} ()
31
-\item 
30
+\begin{DoxyCompactList}\small\item\em Initializes a new instance of the \doxyref{Main\+Window}{p.}{class_main_window} class. \end{DoxyCompactList}\item 
32 31
 void \textbf{ Adjust\+Controls} ()
33
-\item 
32
+\begin{DoxyCompactList}\small\item\em Make some adjustement to controls, like disabling some controls \end{DoxyCompactList}\item 
34 33
 void \textbf{ On\+Command\+Received\+Event} (string header, string data, byte[$\,$] buffer)
35
-\end{DoxyCompactItemize}
34
+\begin{DoxyCompactList}\small\item\em Callback called when new message is received from server \end{DoxyCompactList}\end{DoxyCompactItemize}
36 35
 \subsection*{Protected Member Functions}
37 36
 \begin{DoxyCompactItemize}
38 37
 \item 
39 38
 void \textbf{ On\+Delete\+Event} (object sender, Delete\+Event\+Args a)
40
-\item 
39
+\begin{DoxyCompactList}\small\item\em Callback called when delete event is sent by window \end{DoxyCompactList}\item 
41 40
 void \textbf{ On\+Quit\+Action\+Activated} (object sender, Event\+Args e)
42
-\item 
41
+\begin{DoxyCompactList}\small\item\em Callback called by \char`\"{}quit\char`\"{} menu \end{DoxyCompactList}\item 
43 42
 void \textbf{ On\+Show\+Log\+Window\+Action\+Activated} (object sender, Event\+Args e)
44
-\item 
43
+\begin{DoxyCompactList}\small\item\em Callback called by \char`\"{}show log\char`\"{} menu \end{DoxyCompactList}\item 
45 44
 void \textbf{ On\+Button\+Server\+Connection\+Clicked} (object sender, Event\+Args e)
46
-\item 
45
+\begin{DoxyCompactList}\small\item\em Callback called by \char`\"{}button\+Server\+Connection\char`\"{} button \end{DoxyCompactList}\item 
47 46
 void \textbf{ On\+Button\+Robot\+Activation\+Clicked} (object sender, Event\+Args e)
48
-\item 
47
+\begin{DoxyCompactList}\small\item\em Callback called when \char`\"{}button\+Robotactivation\char`\"{} is clicked \end{DoxyCompactList}\item 
49 48
 void \textbf{ On\+Button\+Mouv\+Clicked} (object sender, Event\+Args e)
50
-\item 
49
+\begin{DoxyCompactList}\small\item\em Callback called when user click on direction button \end{DoxyCompactList}\item 
51 50
 void \textbf{ On\+Check\+Button\+Camera\+On\+Clicked} (object sender, Event\+Args e)
52
-\item 
51
+\begin{DoxyCompactList}\small\item\em Callback called when checkbutton for camera is clicked \end{DoxyCompactList}\item 
53 52
 void \textbf{ On\+Check\+Button\+Robot\+Position\+Clicked} (object sender, Event\+Args e)
54
-\item 
53
+\begin{DoxyCompactList}\small\item\em Callback called when checkbutton robot position is clicked \end{DoxyCompactList}\item 
55 54
 void \textbf{ On\+Drawing\+Area\+Camera\+Expose\+Event} (object o, Expose\+Event\+Args args)
56
-\item 
55
+\begin{DoxyCompactList}\small\item\em Callback called when drawingarea need refresh \end{DoxyCompactList}\item 
57 56
 void \textbf{ Detect\+Arena} ()
58
-\item 
57
+\begin{DoxyCompactList}\small\item\em Show a popup asking user to tell if arena is correct or not \end{DoxyCompactList}\item 
59 58
 void \textbf{ On\+Button\+Ask\+Arena\+Clicked} (object sender, Event\+Args e)
60
-\end{DoxyCompactItemize}
59
+\begin{DoxyCompactList}\small\item\em Callback called when \char`\"{}detect Arena \char`\"{} button is clicked \end{DoxyCompactList}\end{DoxyCompactItemize}
61 60
 \subsection*{Private Types}
62 61
 \begin{DoxyCompactItemize}
63 62
 \item 
64 63
 enum \textbf{ System\+State} \{ \textbf{ System\+State.\+Not\+Connected}, 
65 64
 \textbf{ System\+State.\+Server\+Connected}, 
66 65
 \textbf{ System\+State.\+Robot\+Connected}
67
- \}
66
+ \}\begin{DoxyCompactList}\small\item\em List of availble state for the application \end{DoxyCompactList}
68 67
 \end{DoxyCompactItemize}
69 68
 \subsection*{Private Member Functions}
70 69
 \begin{DoxyCompactItemize}
71 70
 \item 
72 71
 void \textbf{ Change\+State} (\textbf{ System\+State} new\+State)
73
-\item 
72
+\begin{DoxyCompactList}\small\item\em Method used to change controls visibility (greyed or not) depending on current state \end{DoxyCompactList}\item 
74 73
 void \textbf{ Message\+Popup} (Message\+Type type, Buttons\+Type buttons, string title, string message)
75
-\item 
74
+\begin{DoxyCompactList}\small\item\em Display a popup message window \end{DoxyCompactList}\item 
76 75
 void \textbf{ On\+Battery\+Timer\+Elapsed} (object sender, System.\+Timers.\+Elapsed\+Event\+Args e)
77
-\end{DoxyCompactItemize}
76
+\begin{DoxyCompactList}\small\item\em Callback called when battery timer expired \end{DoxyCompactList}\end{DoxyCompactItemize}
78 77
 \subsection*{Private Attributes}
79 78
 \begin{DoxyCompactItemize}
80 79
 \item 
81 80
 \textbf{ Destijl\+Command\+Manager} \textbf{ cmd\+Manager}
82
-\item 
81
+\begin{DoxyCompactList}\small\item\em Destijl command manager reference \end{DoxyCompactList}\item 
83 82
 Pixbuf \textbf{ drawingarea\+Camera\+Pixbuf}
84
-\item 
83
+\begin{DoxyCompactList}\small\item\em Pixbuffer used for displaying image \end{DoxyCompactList}\item 
85 84
 \textbf{ System\+State} \textbf{ system\+State} = \textbf{ System\+State.\+Not\+Connected}
86
-\item 
85
+\begin{DoxyCompactList}\small\item\em The state of the system. Can take a value from System\+State \end{DoxyCompactList}\item 
87 86
 System.\+Timers.\+Timer \textbf{ battery\+Timer}
88
-\end{DoxyCompactItemize}
87
+\begin{DoxyCompactList}\small\item\em Timer for battery request \end{DoxyCompactList}\end{DoxyCompactItemize}
89 88
 
90 89
 
91 90
 \subsection{Detailed Description}
92
-Main window. 
91
+Main part of the program, behavior of main window 
93 92
 
94 93
 
95 94
 
96
-Definition at line 10 of file Monitor\+U\+I.\+cs.
95
+Definition at line 32 of file Monitor\+U\+I.\+cs.
97 96
 
98 97
 
99 98
 
@@ -104,6 +103,10 @@ Definition at line 10 of file Monitor\+U\+I.\+cs.
104 103
 \subsubsection{System\+State}
105 104
 {\footnotesize\ttfamily enum \textbf{ Main\+Window.\+System\+State}\hspace{0.3cm}{\ttfamily [strong]}, {\ttfamily [private]}}
106 105
 
106
+
107
+
108
+List of availble state for the application 
109
+
107 110
 \begin{DoxyEnumFields}{Enumerator}
108 111
 \raisebox{\heightof{T}}[0pt][0pt]{\index{Not\+Connected@{Not\+Connected}!Main\+Window@{Main\+Window}}\index{Main\+Window@{Main\+Window}!Not\+Connected@{Not\+Connected}}}\mbox{\label{class_main_window_a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463}} 
109 112
 Not\+Connected&\\
@@ -120,7 +123,7 @@ Robot\+Connected&\\
120 123
 \end{DoxyEnumFields}
121 124
 
122 125
 
123
-Definition at line 15 of file Monitor\+U\+I.\+cs.
126
+Definition at line 47 of file Monitor\+U\+I.\+cs.
124 127
 
125 128
 
126 129
 
@@ -133,7 +136,11 @@ Definition at line 15 of file Monitor\+U\+I.\+cs.
133 136
 
134 137
 
135 138
 
136
-Definition at line 25 of file Monitor\+U\+I.\+cs.
139
+Initializes a new instance of the \doxyref{Main\+Window}{p.}{class_main_window} class. 
140
+
141
+
142
+
143
+Definition at line 67 of file Monitor\+U\+I.\+cs.
137 144
 
138 145
 
139 146
 
@@ -146,7 +153,11 @@ Definition at line 25 of file Monitor\+U\+I.\+cs.
146 153
 
147 154
 
148 155
 
149
-Definition at line 42 of file Monitor\+U\+I.\+cs.
156
+Make some adjustement to controls, like disabling some controls 
157
+
158
+
159
+
160
+Definition at line 84 of file Monitor\+U\+I.\+cs.
150 161
 
151 162
 \mbox{\label{class_main_window_aedc27cabbe1604313a452fcbf3ffe9f4}} 
152 163
 \index{Main\+Window@{Main\+Window}!Change\+State@{Change\+State}}
@@ -156,7 +167,16 @@ Definition at line 42 of file Monitor\+U\+I.\+cs.
156 167
 
157 168
 
158 169
 
159
-Definition at line 54 of file Monitor\+U\+I.\+cs.
170
+Method used to change controls visibility (greyed or not) depending on current state 
171
+
172
+
173
+\begin{DoxyParams}{Parameters}
174
+{\em new\+State} & New state\\
175
+\hline
176
+\end{DoxyParams}
177
+
178
+
179
+Definition at line 103 of file Monitor\+U\+I.\+cs.
160 180
 
161 181
 \mbox{\label{class_main_window_a89c79ce9ca4114ca9c50f32dc080e9cd}} 
162 182
 \index{Main\+Window@{Main\+Window}!Detect\+Arena@{Detect\+Arena}}
@@ -166,7 +186,11 @@ Definition at line 54 of file Monitor\+U\+I.\+cs.
166 186
 
167 187
 
168 188
 
169
-Definition at line 467 of file Monitor\+U\+I.\+cs.
189
+Show a popup asking user to tell if arena is correct or not 
190
+
191
+
192
+
193
+Definition at line 610 of file Monitor\+U\+I.\+cs.
170 194
 
171 195
 \mbox{\label{class_main_window_afc4f923aaa481a93dddaff6303efb9e0}} 
172 196
 \index{Main\+Window@{Main\+Window}!Message\+Popup@{Message\+Popup}}
@@ -176,7 +200,22 @@ Definition at line 467 of file Monitor\+U\+I.\+cs.
176 200
 
177 201
 
178 202
 
179
-Definition at line 120 of file Monitor\+U\+I.\+cs.
203
+Display a popup message window 
204
+
205
+
206
+\begin{DoxyParams}{Parameters}
207
+{\em type} & Type of popup window (question, error, information,...)\\
208
+\hline
209
+{\em buttons} & Buttons available on popup window\\
210
+\hline
211
+{\em title} & Title of window\\
212
+\hline
213
+{\em message} & Message\\
214
+\hline
215
+\end{DoxyParams}
216
+
217
+
218
+Definition at line 176 of file Monitor\+U\+I.\+cs.
180 219
 
181 220
 \mbox{\label{class_main_window_af303b70c08cda04a76f6418f727c4891}} 
182 221
 \index{Main\+Window@{Main\+Window}!On\+Battery\+Timer\+Elapsed@{On\+Battery\+Timer\+Elapsed}}
@@ -186,7 +225,18 @@ Definition at line 120 of file Monitor\+U\+I.\+cs.
186 225
 
187 226
 
188 227
 
189
-Definition at line 343 of file Monitor\+U\+I.\+cs.
228
+Callback called when battery timer expired 
229
+
230
+
231
+\begin{DoxyParams}{Parameters}
232
+{\em sender} & Sender object\\
233
+\hline
234
+{\em e} & Event\\
235
+\hline
236
+\end{DoxyParams}
237
+
238
+
239
+Definition at line 457 of file Monitor\+U\+I.\+cs.
190 240
 
191 241
 \mbox{\label{class_main_window_a31e299085d6286d680bd488c73fdff82}} 
192 242
 \index{Main\+Window@{Main\+Window}!On\+Button\+Ask\+Arena\+Clicked@{On\+Button\+Ask\+Arena\+Clicked}}
@@ -196,7 +246,18 @@ Definition at line 343 of file Monitor\+U\+I.\+cs.
196 246
 
197 247
 
198 248
 
199
-Definition at line 496 of file Monitor\+U\+I.\+cs.
249
+Callback called when \char`\"{}detect Arena \char`\"{} button is clicked 
250
+
251
+
252
+\begin{DoxyParams}{Parameters}
253
+{\em sender} & Sender object\\
254
+\hline
255
+{\em e} & Event\\
256
+\hline
257
+\end{DoxyParams}
258
+
259
+
260
+Definition at line 644 of file Monitor\+U\+I.\+cs.
200 261
 
201 262
 \mbox{\label{class_main_window_a7f8d06747f887216ab8c941ad10cb48b}} 
202 263
 \index{Main\+Window@{Main\+Window}!On\+Button\+Mouv\+Clicked@{On\+Button\+Mouv\+Clicked}}
@@ -206,7 +267,18 @@ Definition at line 496 of file Monitor\+U\+I.\+cs.
206 267
 
207 268
 
208 269
 
209
-Definition at line 319 of file Monitor\+U\+I.\+cs.
270
+Callback called when user click on direction button 
271
+
272
+
273
+\begin{DoxyParams}{Parameters}
274
+{\em sender} & Sender button\\
275
+\hline
276
+{\em e} & Event\\
277
+\hline
278
+\end{DoxyParams}
279
+
280
+
281
+Definition at line 427 of file Monitor\+U\+I.\+cs.
210 282
 
211 283
 \mbox{\label{class_main_window_a2b5e11a49a10b24c59bebb377cdfeae8}} 
212 284
 \index{Main\+Window@{Main\+Window}!On\+Button\+Robot\+Activation\+Clicked@{On\+Button\+Robot\+Activation\+Clicked}}
@@ -216,7 +288,18 @@ Definition at line 319 of file Monitor\+U\+I.\+cs.
216 288
 
217 289
 
218 290
 
219
-Definition at line 264 of file Monitor\+U\+I.\+cs.
291
+Callback called when \char`\"{}button\+Robotactivation\char`\"{} is clicked 
292
+
293
+
294
+\begin{DoxyParams}{Parameters}
295
+{\em sender} & Sender object\\
296
+\hline
297
+{\em e} & Event\\
298
+\hline
299
+\end{DoxyParams}
300
+
301
+
302
+Definition at line 363 of file Monitor\+U\+I.\+cs.
220 303
 
221 304
 \mbox{\label{class_main_window_ac0acc6c3a63f405f14ec8e4d132a2661}} 
222 305
 \index{Main\+Window@{Main\+Window}!On\+Button\+Server\+Connection\+Clicked@{On\+Button\+Server\+Connection\+Clicked}}
@@ -226,7 +309,18 @@ Definition at line 264 of file Monitor\+U\+I.\+cs.
226 309
 
227 310
 
228 311
 
229
-Definition at line 194 of file Monitor\+U\+I.\+cs.
312
+Callback called by \char`\"{}button\+Server\+Connection\char`\"{} button 
313
+
314
+
315
+\begin{DoxyParams}{Parameters}
316
+{\em sender} & Sender object\\
317
+\hline
318
+{\em e} & Event\\
319
+\hline
320
+\end{DoxyParams}
321
+
322
+
323
+Definition at line 282 of file Monitor\+U\+I.\+cs.
230 324
 
231 325
 \mbox{\label{class_main_window_af4b587cdd614d5bdb8d9158a1f59e4fa}} 
232 326
 \index{Main\+Window@{Main\+Window}!On\+Check\+Button\+Camera\+On\+Clicked@{On\+Check\+Button\+Camera\+On\+Clicked}}
@@ -236,7 +330,18 @@ Definition at line 194 of file Monitor\+U\+I.\+cs.
236 330
 
237 331
 
238 332
 
239
-Definition at line 379 of file Monitor\+U\+I.\+cs.
333
+Callback called when checkbutton for camera is clicked 
334
+
335
+
336
+\begin{DoxyParams}{Parameters}
337
+{\em sender} & Sender object\\
338
+\hline
339
+{\em e} & Event\\
340
+\hline
341
+\end{DoxyParams}
342
+
343
+
344
+Definition at line 501 of file Monitor\+U\+I.\+cs.
240 345
 
241 346
 \mbox{\label{class_main_window_a20d07605619027d82a30552f294b128f}} 
242 347
 \index{Main\+Window@{Main\+Window}!On\+Check\+Button\+Robot\+Position\+Clicked@{On\+Check\+Button\+Robot\+Position\+Clicked}}
@@ -246,7 +351,18 @@ Definition at line 379 of file Monitor\+U\+I.\+cs.
246 351
 
247 352
 
248 353
 
249
-Definition at line 402 of file Monitor\+U\+I.\+cs.
354
+Callback called when checkbutton robot position is clicked 
355
+
356
+
357
+\begin{DoxyParams}{Parameters}
358
+{\em sender} & Sender object\\
359
+\hline
360
+{\em e} & Event\\
361
+\hline
362
+\end{DoxyParams}
363
+
364
+
365
+Definition at line 530 of file Monitor\+U\+I.\+cs.
250 366
 
251 367
 \mbox{\label{class_main_window_a4b651f10b9079c128b9e36d15ad10211}} 
252 368
 \index{Main\+Window@{Main\+Window}!On\+Command\+Received\+Event@{On\+Command\+Received\+Event}}
@@ -256,7 +372,20 @@ Definition at line 402 of file Monitor\+U\+I.\+cs.
256 372
 
257 373
 
258 374
 
259
-Definition at line 140 of file Monitor\+U\+I.\+cs.
375
+Callback called when new message is received from server 
376
+
377
+
378
+\begin{DoxyParams}{Parameters}
379
+{\em header} & Header of message\\
380
+\hline
381
+{\em data} & Data of message\\
382
+\hline
383
+{\em buffer} & Raw buffer corresponding of received message\\
384
+\hline
385
+\end{DoxyParams}
386
+
387
+
388
+Definition at line 207 of file Monitor\+U\+I.\+cs.
260 389
 
261 390
 \mbox{\label{class_main_window_a64bdcb29cebb58957790da1ee2733fe1}} 
262 391
 \index{Main\+Window@{Main\+Window}!On\+Delete\+Event@{On\+Delete\+Event}}
@@ -266,7 +395,18 @@ Definition at line 140 of file Monitor\+U\+I.\+cs.
266 395
 
267 396
 
268 397
 
269
-Definition at line 131 of file Monitor\+U\+I.\+cs.
398
+Callback called when delete event is sent by window 
399
+
400
+
401
+\begin{DoxyParams}{Parameters}
402
+{\em sender} & Sender object\\
403
+\hline
404
+{\em a} & Not really sure of what it is...\\
405
+\hline
406
+\end{DoxyParams}
407
+
408
+
409
+Definition at line 192 of file Monitor\+U\+I.\+cs.
270 410
 
271 411
 \mbox{\label{class_main_window_afe4b0001f191554aed5d9b65208a06f5}} 
272 412
 \index{Main\+Window@{Main\+Window}!On\+Drawing\+Area\+Camera\+Expose\+Event@{On\+Drawing\+Area\+Camera\+Expose\+Event}}
@@ -276,7 +416,18 @@ Definition at line 131 of file Monitor\+U\+I.\+cs.
276 416
 
277 417
 
278 418
 
279
-Definition at line 426 of file Monitor\+U\+I.\+cs.
419
+Callback called when drawingarea need refresh 
420
+
421
+
422
+\begin{DoxyParams}{Parameters}
423
+{\em o} & Sender object\\
424
+\hline
425
+{\em args} & Expose arguments\\
426
+\hline
427
+\end{DoxyParams}
428
+
429
+
430
+Definition at line 560 of file Monitor\+U\+I.\+cs.
280 431
 
281 432
 \mbox{\label{class_main_window_ab54b643c364b46a150f6f993267bb709}} 
282 433
 \index{Main\+Window@{Main\+Window}!On\+Quit\+Action\+Activated@{On\+Quit\+Action\+Activated}}
@@ -286,7 +437,18 @@ Definition at line 426 of file Monitor\+U\+I.\+cs.
286 437
 
287 438
 
288 439
 
289
-Definition at line 179 of file Monitor\+U\+I.\+cs.
440
+Callback called by \char`\"{}quit\char`\"{} menu 
441
+
442
+
443
+\begin{DoxyParams}{Parameters}
444
+{\em sender} & Sender object\\
445
+\hline
446
+{\em e} & Event\\
447
+\hline
448
+\end{DoxyParams}
449
+
450
+
451
+Definition at line 257 of file Monitor\+U\+I.\+cs.
290 452
 
291 453
 \mbox{\label{class_main_window_a87132738a6ca496303940d56e091bdc7}} 
292 454
 \index{Main\+Window@{Main\+Window}!On\+Show\+Log\+Window\+Action\+Activated@{On\+Show\+Log\+Window\+Action\+Activated}}
@@ -296,7 +458,18 @@ Definition at line 179 of file Monitor\+U\+I.\+cs.
296 458
 
297 459
 
298 460
 
299
-Definition at line 187 of file Monitor\+U\+I.\+cs.
461
+Callback called by \char`\"{}show log\char`\"{} menu 
462
+
463
+
464
+\begin{DoxyParams}{Parameters}
465
+{\em sender} & Sender object\\
466
+\hline
467
+{\em e} & Event\\
468
+\hline
469
+\end{DoxyParams}
470
+
471
+
472
+Definition at line 270 of file Monitor\+U\+I.\+cs.
300 473
 
301 474
 
302 475
 
@@ -309,7 +482,11 @@ Definition at line 187 of file Monitor\+U\+I.\+cs.
309 482
 
310 483
 
311 484
 
312
-Definition at line 23 of file Monitor\+U\+I.\+cs.
485
+Timer for battery request 
486
+
487
+
488
+
489
+Definition at line 62 of file Monitor\+U\+I.\+cs.
313 490
 
314 491
 \mbox{\label{class_main_window_a0b60450970b8a6fb6e016d5c0728e474}} 
315 492
 \index{Main\+Window@{Main\+Window}!cmd\+Manager@{cmd\+Manager}}
@@ -319,7 +496,11 @@ Definition at line 23 of file Monitor\+U\+I.\+cs.
319 496
 
320 497
 
321 498
 
322
-Definition at line 12 of file Monitor\+U\+I.\+cs.
499
+Destijl command manager reference 
500
+
501
+
502
+
503
+Definition at line 37 of file Monitor\+U\+I.\+cs.
323 504
 
324 505
 \mbox{\label{class_main_window_a41581e449b18e87acbdff5baa12c2050}} 
325 506
 \index{Main\+Window@{Main\+Window}!drawingarea\+Camera\+Pixbuf@{drawingarea\+Camera\+Pixbuf}}
@@ -329,7 +510,11 @@ Definition at line 12 of file Monitor\+U\+I.\+cs.
329 510
 
330 511
 
331 512
 
332
-Definition at line 13 of file Monitor\+U\+I.\+cs.
513
+Pixbuffer used for displaying image 
514
+
515
+
516
+
517
+Definition at line 42 of file Monitor\+U\+I.\+cs.
333 518
 
334 519
 \mbox{\label{class_main_window_a105025ee1bdfac188f1ce640d593550d}} 
335 520
 \index{Main\+Window@{Main\+Window}!system\+State@{system\+State}}
@@ -339,7 +524,11 @@ Definition at line 13 of file Monitor\+U\+I.\+cs.
339 524
 
340 525
 
341 526
 
342
-Definition at line 22 of file Monitor\+U\+I.\+cs.
527
+The state of the system. Can take a value from System\+State 
528
+
529
+
530
+
531
+Definition at line 57 of file Monitor\+U\+I.\+cs.
343 532
 
344 533
 
345 534
 

+ 1
- 1
software/monitor/monitor/docs/latex/class_main_window__coll__graph.md5 View File

@@ -1 +1 @@
1
-c20ca9089172666b84d587afdb1b0351
1
+218bd38564ff52f8085404902688498b

BIN
software/monitor/monitor/docs/latex/class_main_window__coll__graph.pdf View File


+ 18
- 18
software/monitor/monitor/docs/latex/classmonitor_1_1_client.tex View File

@@ -69,7 +69,7 @@ Static class for T\+CP client
69 69
 
70 70
 
71 71
 
72
-Definition at line 10 of file Client.\+cs.
72
+Definition at line 31 of file Client.\+cs.
73 73
 
74 74
 
75 75
 
@@ -86,7 +86,7 @@ Close connection to server
86 86
 
87 87
 
88 88
 
89
-Definition at line 120 of file Client.\+cs.
89
+Definition at line 141 of file Client.\+cs.
90 90
 
91 91
 \mbox{\label{classmonitor_1_1_client_af802cd428aa08b9604e2246f11e1fe61}} 
92 92
 \index{monitor\+::\+Client@{monitor\+::\+Client}!Open@{Open}}
@@ -108,7 +108,7 @@ true if connection succeded, false otherwise
108 108
 \end{DoxyParams}
109 109
 
110 110
 
111
-Definition at line 68 of file Client.\+cs.
111
+Definition at line 89 of file Client.\+cs.
112 112
 
113 113
 \mbox{\label{classmonitor_1_1_client_aee6f8f594a9496600b78c37d6da457d4}} 
114 114
 \index{monitor\+::\+Client@{monitor\+::\+Client}!Open@{Open}}
@@ -132,7 +132,7 @@ true if connection succeded, false otherwise
132 132
 \end{DoxyParams}
133 133
 
134 134
 
135
-Definition at line 79 of file Client.\+cs.
135
+Definition at line 100 of file Client.\+cs.
136 136
 
137 137
 \mbox{\label{classmonitor_1_1_client_a8dd2eb26c164d0f566dd6c679ba340e0}} 
138 138
 \index{monitor\+::\+Client@{monitor\+::\+Client}!Read\+Callback@{Read\+Callback}}
@@ -151,7 +151,7 @@ Callback call by stream.\+Begin\+Read after reception of new\+Length data
151 151
 \end{DoxyParams}
152 152
 
153 153
 
154
-Definition at line 130 of file Client.\+cs.
154
+Definition at line 151 of file Client.\+cs.
155 155
 
156 156
 \mbox{\label{classmonitor_1_1_client_ae85f4aa567a41488d5c65e470ae15378}} 
157 157
 \index{monitor\+::\+Client@{monitor\+::\+Client}!Read\+Event@{Read\+Event}}
@@ -183,7 +183,7 @@ Nothing
183 183
 \end{DoxyParams}
184 184
 
185 185
 
186
-Definition at line 198 of file Client.\+cs.
186
+Definition at line 219 of file Client.\+cs.
187 187
 
188 188
 
189 189
 
@@ -200,7 +200,7 @@ Internal buffer used when reading data from server
200 200
 
201 201
 
202 202
 
203
-Definition at line 40 of file Client.\+cs.
203
+Definition at line 61 of file Client.\+cs.
204 204
 
205 205
 \mbox{\label{classmonitor_1_1_client_acbc4cae14536eccb5297aacdadb84f29}} 
206 206
 \index{monitor\+::\+Client@{monitor\+::\+Client}!Buffer\+Max\+Size@{Buffer\+Max\+Size}}
@@ -214,7 +214,7 @@ Size of internal buffer used when reading data from server
214 214
 
215 215
 
216 216
 
217
-Definition at line 35 of file Client.\+cs.
217
+Definition at line 56 of file Client.\+cs.
218 218
 
219 219
 \mbox{\label{classmonitor_1_1_client_a4867b48ebfa930a80662c552f2911430}} 
220 220
 \index{monitor\+::\+Client@{monitor\+::\+Client}!client@{client}}
@@ -228,7 +228,7 @@ Tcp client object
228 228
 
229 229
 
230 230
 
231
-Definition at line 25 of file Client.\+cs.
231
+Definition at line 46 of file Client.\+cs.
232 232
 
233 233
 \mbox{\label{classmonitor_1_1_client_a326a20fe68a86757e16a6e45b8012640}} 
234 234
 \index{monitor\+::\+Client@{monitor\+::\+Client}!default\+IP@{default\+IP}}
@@ -242,7 +242,7 @@ Default server name
242 242
 
243 243
 
244 244
 
245
-Definition at line 15 of file Client.\+cs.
245
+Definition at line 36 of file Client.\+cs.
246 246
 
247 247
 \mbox{\label{classmonitor_1_1_client_ad0a9bfc361ccef7443625f399e67f84a}} 
248 248
 \index{monitor\+::\+Client@{monitor\+::\+Client}!default\+Port@{default\+Port}}
@@ -256,7 +256,7 @@ Default server port number
256 256
 
257 257
 
258 258
 
259
-Definition at line 20 of file Client.\+cs.
259
+Definition at line 41 of file Client.\+cs.
260 260
 
261 261
 \mbox{\label{classmonitor_1_1_client_afbbf4cf14d1a11747f6103e726dee77e}} 
262 262
 \index{monitor\+::\+Client@{monitor\+::\+Client}!initial\+Receive\+Buffer\+Index@{initial\+Receive\+Buffer\+Index}}
@@ -266,7 +266,7 @@ Definition at line 20 of file Client.\+cs.
266 266
 
267 267
 
268 268
 
269
-Definition at line 48 of file Client.\+cs.
269
+Definition at line 69 of file Client.\+cs.
270 270
 
271 271
 \mbox{\label{classmonitor_1_1_client_a2ddb7073c4bf8a42c231939d5c21d68e}} 
272 272
 \index{monitor\+::\+Client@{monitor\+::\+Client}!message@{message}}
@@ -280,7 +280,7 @@ String containing received message from tcp server
280 280
 
281 281
 
282 282
 
283
-Definition at line 53 of file Client.\+cs.
283
+Definition at line 74 of file Client.\+cs.
284 284
 
285 285
 \mbox{\label{classmonitor_1_1_client_a7083940b8fea9df2b080e3844549e805}} 
286 286
 \index{monitor\+::\+Client@{monitor\+::\+Client}!new\+Length@{new\+Length}}
@@ -290,7 +290,7 @@ Definition at line 53 of file Client.\+cs.
290 290
 
291 291
 
292 292
 
293
-Definition at line 54 of file Client.\+cs.
293
+Definition at line 75 of file Client.\+cs.
294 294
 
295 295
 \mbox{\label{classmonitor_1_1_client_a7eb13840c83beb2ab191cae3ba3210c9}} 
296 296
 \index{monitor\+::\+Client@{monitor\+::\+Client}!packet\+Counter@{packet\+Counter}}
@@ -300,7 +300,7 @@ Definition at line 54 of file Client.\+cs.
300 300
 
301 301
 
302 302
 
303
-Definition at line 55 of file Client.\+cs.
303
+Definition at line 76 of file Client.\+cs.
304 304
 
305 305
 \mbox{\label{classmonitor_1_1_client_a01cb2a551d81fd82d2f7015e177f0f18}} 
306 306
 \index{monitor\+::\+Client@{monitor\+::\+Client}!read\+Event@{read\+Event}}
@@ -310,7 +310,7 @@ Definition at line 55 of file Client.\+cs.
310 310
 
311 311
 
312 312
 
313
-Definition at line 61 of file Client.\+cs.
313
+Definition at line 82 of file Client.\+cs.
314 314
 
315 315
 \mbox{\label{classmonitor_1_1_client_aade32a6043e0dc629509f0e1c0112a24}} 
316 316
 \index{monitor\+::\+Client@{monitor\+::\+Client}!receive\+Buffer@{receive\+Buffer}}
@@ -324,7 +324,7 @@ buffer containing received message from T\+CP server Used to concatenate interna
324 324
 
325 325
 
326 326
 
327
-Definition at line 46 of file Client.\+cs.
327
+Definition at line 67 of file Client.\+cs.
328 328
 
329 329
 \mbox{\label{classmonitor_1_1_client_a8de2a9e4fe2c2e896849ddd33d80d759}} 
330 330
 \index{monitor\+::\+Client@{monitor\+::\+Client}!stream@{stream}}
@@ -338,7 +338,7 @@ Stream object used for communication
338 338
 
339 339
 
340 340
 
341
-Definition at line 30 of file Client.\+cs.
341
+Definition at line 51 of file Client.\+cs.
342 342
 
343 343
 
344 344
 

+ 17
- 18
software/monitor/monitor/docs/latex/classmonitor_1_1_command_manager.tex View File

@@ -7,8 +7,7 @@ Command Manager. Use for timeout managment during reception of data Used as inte
7 7
 
8 8
 
9 9
 
10
-Collaboration diagram for monitor.\+Command\+Manager\+:
11
-\nopagebreak
10
+Collaboration diagram for monitor.\+Command\+Manager\+:\nopagebreak
12 11
 \begin{figure}[H]
13 12
 \begin{center}
14 13
 \leavevmode
@@ -72,7 +71,7 @@ Command Manager. Use for timeout managment during reception of data Used as inte
72 71
 
73 72
 
74 73
 
75
-Definition at line 10 of file Command\+Manager.\+cs.
74
+Definition at line 31 of file Command\+Manager.\+cs.
76 75
 
77 76
 
78 77
 
@@ -103,7 +102,7 @@ Busy&\\
103 102
 \end{DoxyEnumFields}
104 103
 
105 104
 
106
-Definition at line 42 of file Command\+Manager.\+cs.
105
+Definition at line 63 of file Command\+Manager.\+cs.
107 106
 
108 107
 
109 108
 
@@ -125,7 +124,7 @@ Initializes a new instance of the T\+:monitor.\+Command\+Manager class.
125 124
 \end{DoxyParams}
126 125
 
127 126
 
128
-Definition at line 53 of file Command\+Manager.\+cs.
127
+Definition at line 74 of file Command\+Manager.\+cs.
129 128
 
130 129
 \mbox{\label{classmonitor_1_1_command_manager_ad2a8eb1139a5a25a6993887c55b3da4e}} 
131 130
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!````~Command\+Manager@{$\sim$\+Command\+Manager}}
@@ -139,7 +138,7 @@ Releases unmanaged resources and performs other cleanup operations before the T\
139 138
 
140 139
 
141 140
 
142
-Definition at line 65 of file Command\+Manager.\+cs.
141
+Definition at line 86 of file Command\+Manager.\+cs.
143 142
 
144 143
 
145 144
 
@@ -156,7 +155,7 @@ Close connection to server
156 155
 
157 156
 
158 157
 
159
-Definition at line 94 of file Command\+Manager.\+cs.
158
+Definition at line 115 of file Command\+Manager.\+cs.
160 159
 
161 160
 \mbox{\label{classmonitor_1_1_command_manager_a5afd16036cc3d0e69554f69dacad0bcc}} 
162 161
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Command\+Received\+Event@{Command\+Received\+Event}}
@@ -187,7 +186,7 @@ Callback called by \doxyref{Client}{p.}{classmonitor_1_1_client} class after rec
187 186
 \end{DoxyParams}
188 187
 
189 188
 
190
-Definition at line 104 of file Command\+Manager.\+cs.
189
+Definition at line 125 of file Command\+Manager.\+cs.
191 190
 
192 191
 \mbox{\label{classmonitor_1_1_command_manager_a2f91bb775ba25855be007886b994a5df}} 
193 192
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!On\+Message\+Timeout@{On\+Message\+Timeout}}
@@ -208,7 +207,7 @@ Callback called by stopwatch on timeout
208 207
 \end{DoxyParams}
209 208
 
210 209
 
211
-Definition at line 135 of file Command\+Manager.\+cs.
210
+Definition at line 156 of file Command\+Manager.\+cs.
212 211
 
213 212
 \mbox{\label{classmonitor_1_1_command_manager_a7329cbf8008bcb8a0280aa7ffa6aa43c}} 
214 213
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Open@{Open}}
@@ -230,7 +229,7 @@ true if connection succeded, false otherwise
230 229
 \end{DoxyParams}
231 230
 
232 231
 
233
-Definition at line 75 of file Command\+Manager.\+cs.
232
+Definition at line 96 of file Command\+Manager.\+cs.
234 233
 
235 234
 \mbox{\label{classmonitor_1_1_command_manager_a0a0054ee87d293577fa39af1fcd5ffee}} 
236 235
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Open@{Open}}
@@ -254,7 +253,7 @@ true if connection succeded, false otherwise
254 253
 \end{DoxyParams}
255 254
 
256 255
 
257
-Definition at line 86 of file Command\+Manager.\+cs.
256
+Definition at line 107 of file Command\+Manager.\+cs.
258 257
 
259 258
 \mbox{\label{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363}} 
260 259
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Send\+Command@{Send\+Command}}
@@ -280,7 +279,7 @@ status that is part of Command\+Manager\+Status enumerate
280 279
 \end{DoxyParams}
281 280
 
282 281
 
283
-Definition at line 150 of file Command\+Manager.\+cs.
282
+Definition at line 171 of file Command\+Manager.\+cs.
284 283
 
285 284
 
286 285
 
@@ -293,7 +292,7 @@ Definition at line 150 of file Command\+Manager.\+cs.
293 292
 
294 293
 
295 294
 
296
-Definition at line 16 of file Command\+Manager.\+cs.
295
+Definition at line 37 of file Command\+Manager.\+cs.
297 296
 
298 297
 \mbox{\label{classmonitor_1_1_command_manager_aea039cd0f99f5193c307b805077669db}} 
299 298
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!is\+Busy@{is\+Busy}}
@@ -307,7 +306,7 @@ flag indicating command manager is currently busy waiting an acknowledge
307 306
 
308 307
 
309 308
 
310
-Definition at line 37 of file Command\+Manager.\+cs.
309
+Definition at line 58 of file Command\+Manager.\+cs.
311 310
 
312 311
 \mbox{\label{classmonitor_1_1_command_manager_aa610e72e8f23f0d26388f204c848ed57}} 
313 312
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!message\+Received@{message\+Received}}
@@ -321,7 +320,7 @@ received message
321 320
 
322 321
 
323 322
 
324
-Definition at line 32 of file Command\+Manager.\+cs.
323
+Definition at line 53 of file Command\+Manager.\+cs.
325 324
 
326 325
 \mbox{\label{classmonitor_1_1_command_manager_a0d27eb1a38efb01559f14a707ff86447}} 
327 326
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!wait\+Event@{wait\+Event}}
@@ -331,7 +330,7 @@ Definition at line 32 of file Command\+Manager.\+cs.
331 330
 
332 331
 
333 332
 
334
-Definition at line 22 of file Command\+Manager.\+cs.
333
+Definition at line 43 of file Command\+Manager.\+cs.
335 334
 
336 335
 \mbox{\label{classmonitor_1_1_command_manager_a39c2c03f93b309e65a45ac91c6eb39bd}} 
337 336
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!wait\+For\+Acknowledge@{wait\+For\+Acknowledge}}
@@ -345,7 +344,7 @@ Flag to tell rogram to wait for an acknowledge from server
345 344
 
346 345
 
347 346
 
348
-Definition at line 27 of file Command\+Manager.\+cs.
347
+Definition at line 48 of file Command\+Manager.\+cs.
349 348
 
350 349
 \mbox{\label{classmonitor_1_1_command_manager_a07639cd39445a379667a2450e78001b0}} 
351 350
 \index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!wait\+Timer@{wait\+Timer}}
@@ -359,7 +358,7 @@ Timer for managing timeout
359 358
 
360 359
 
361 360
 
362
-Definition at line 21 of file Command\+Manager.\+cs.
361
+Definition at line 42 of file Command\+Manager.\+cs.
363 362
 
364 363
 
365 364
 

+ 28
- 21
software/monitor/monitor/docs/latex/classmonitor_1_1_destijl_command_list.tex View File

@@ -1,5 +1,10 @@
1 1
 \section{monitor.\+Destijl\+Command\+List Class Reference}
2 2
 \label{classmonitor_1_1_destijl_command_list}\index{monitor.\+Destijl\+Command\+List@{monitor.\+Destijl\+Command\+List}}
3
+
4
+
5
+Commands and options parameters used in Destijl project when communicating with server  
6
+
7
+
3 8
 \subsection*{Public Attributes}
4 9
 \begin{DoxyCompactItemize}
5 10
 \item 
@@ -46,9 +51,11 @@ const string \textbf{ Header\+Stm\+Bat} = \char`\"{}B\+AT\char`\"{}
46 51
 
47 52
 
48 53
 \subsection{Detailed Description}
54
+Commands and options parameters used in Destijl project when communicating with server 
49 55
 
50 56
 
51
-Definition at line 5 of file Destijl\+Command\+Manager.\+cs.
57
+
58
+Definition at line 29 of file Destijl\+Command\+Manager.\+cs.
52 59
 
53 60
 
54 61
 
@@ -61,7 +68,7 @@ Definition at line 5 of file Destijl\+Command\+Manager.\+cs.
61 68
 
62 69
 
63 70
 
64
-Definition at line 18 of file Destijl\+Command\+Manager.\+cs.
71
+Definition at line 42 of file Destijl\+Command\+Manager.\+cs.
65 72
 
66 73
 \mbox{\label{classmonitor_1_1_destijl_command_list_aaaf85677671db1ef84fe67b2eb954f29}} 
67 74
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Ask\+Arena@{Data\+Cam\+Ask\+Arena}}
@@ -71,7 +78,7 @@ Definition at line 18 of file Destijl\+Command\+Manager.\+cs.
71 78
 
72 79
 
73 80
 
74
-Definition at line 17 of file Destijl\+Command\+Manager.\+cs.
81
+Definition at line 41 of file Destijl\+Command\+Manager.\+cs.
75 82
 
76 83
 \mbox{\label{classmonitor_1_1_destijl_command_list_a6f578f9d52dd2b50370177a5c03a2af7}} 
77 84
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Close@{Data\+Cam\+Close}}
@@ -81,7 +88,7 @@ Definition at line 17 of file Destijl\+Command\+Manager.\+cs.
81 88
 
82 89
 
83 90
 
84
-Definition at line 16 of file Destijl\+Command\+Manager.\+cs.
91
+Definition at line 40 of file Destijl\+Command\+Manager.\+cs.
85 92
 
86 93
 \mbox{\label{classmonitor_1_1_destijl_command_list_ab114adce60b63976d8304f2ad11b317a}} 
87 94
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Compute\+Position@{Data\+Cam\+Compute\+Position}}
@@ -91,7 +98,7 @@ Definition at line 16 of file Destijl\+Command\+Manager.\+cs.
91 98
 
92 99
 
93 100
 
94
-Definition at line 20 of file Destijl\+Command\+Manager.\+cs.
101
+Definition at line 44 of file Destijl\+Command\+Manager.\+cs.
95 102
 
96 103
 \mbox{\label{classmonitor_1_1_destijl_command_list_ad3985694a06148f2014cb346e8891cba}} 
97 104
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Infirm@{Data\+Cam\+Infirm}}
@@ -101,7 +108,7 @@ Definition at line 20 of file Destijl\+Command\+Manager.\+cs.
101 108
 
102 109
 
103 110
 
104
-Definition at line 19 of file Destijl\+Command\+Manager.\+cs.
111
+Definition at line 43 of file Destijl\+Command\+Manager.\+cs.
105 112
 
106 113
 \mbox{\label{classmonitor_1_1_destijl_command_list_a6380d1518931373bd0dfb84f888942e0}} 
107 114
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Open@{Data\+Cam\+Open}}
@@ -111,7 +118,7 @@ Definition at line 19 of file Destijl\+Command\+Manager.\+cs.
111 118
 
112 119
 
113 120
 
114
-Definition at line 15 of file Destijl\+Command\+Manager.\+cs.
121
+Definition at line 39 of file Destijl\+Command\+Manager.\+cs.
115 122
 
116 123
 \mbox{\label{classmonitor_1_1_destijl_command_list_ad09dd921c6c8cf8c7d90a2c0a05d4056}} 
117 124
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Stop\+Compute\+Position@{Data\+Cam\+Stop\+Compute\+Position}}
@@ -121,7 +128,7 @@ Definition at line 15 of file Destijl\+Command\+Manager.\+cs.
121 128
 
122 129
 
123 130
 
124
-Definition at line 21 of file Destijl\+Command\+Manager.\+cs.
131
+Definition at line 45 of file Destijl\+Command\+Manager.\+cs.
125 132
 
126 133
 \mbox{\label{classmonitor_1_1_destijl_command_list_ad97cbe948c71a4dc3fa95afbf9ca26d8}} 
127 134
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Com\+Close@{Data\+Com\+Close}}
@@ -131,7 +138,7 @@ Definition at line 21 of file Destijl\+Command\+Manager.\+cs.
131 138
 
132 139
 
133 140
 
134
-Definition at line 13 of file Destijl\+Command\+Manager.\+cs.
141
+Definition at line 37 of file Destijl\+Command\+Manager.\+cs.
135 142
 
136 143
 \mbox{\label{classmonitor_1_1_destijl_command_list_a1bcde55da429bcf2c04ed6d0621e496f}} 
137 144
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Com\+Open@{Data\+Com\+Open}}
@@ -141,7 +148,7 @@ Definition at line 13 of file Destijl\+Command\+Manager.\+cs.
141 148
 
142 149
 
143 150
 
144
-Definition at line 12 of file Destijl\+Command\+Manager.\+cs.
151
+Definition at line 36 of file Destijl\+Command\+Manager.\+cs.
145 152
 
146 153
 \mbox{\label{classmonitor_1_1_destijl_command_list_af570b0e8d14920402ce979778225ed68}} 
147 154
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Camera@{Header\+Mts\+Camera}}
@@ -151,7 +158,7 @@ Definition at line 12 of file Destijl\+Command\+Manager.\+cs.
151 158
 
152 159
 
153 160
 
154
-Definition at line 9 of file Destijl\+Command\+Manager.\+cs.
161
+Definition at line 33 of file Destijl\+Command\+Manager.\+cs.
155 162
 
156 163
 \mbox{\label{classmonitor_1_1_destijl_command_list_aa9fe4e71b7faec183ab64f4cf6ecd395}} 
157 164
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Com\+Dmb@{Header\+Mts\+Com\+Dmb}}
@@ -161,7 +168,7 @@ Definition at line 9 of file Destijl\+Command\+Manager.\+cs.
161 168
 
162 169
 
163 170
 
164
-Definition at line 7 of file Destijl\+Command\+Manager.\+cs.
171
+Definition at line 31 of file Destijl\+Command\+Manager.\+cs.
165 172
 
166 173
 \mbox{\label{classmonitor_1_1_destijl_command_list_adbcf7adab9f5e8ead971affbbc64178b}} 
167 174
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Dmb\+Order@{Header\+Mts\+Dmb\+Order}}
@@ -171,7 +178,7 @@ Definition at line 7 of file Destijl\+Command\+Manager.\+cs.
171 178
 
172 179
 
173 180
 
174
-Definition at line 8 of file Destijl\+Command\+Manager.\+cs.
181
+Definition at line 32 of file Destijl\+Command\+Manager.\+cs.
175 182
 
176 183
 \mbox{\label{classmonitor_1_1_destijl_command_list_acb283f1da96d8d522e3b28ca35187acd}} 
177 184
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Message@{Header\+Mts\+Message}}
@@ -181,7 +188,7 @@ Definition at line 8 of file Destijl\+Command\+Manager.\+cs.
181 188
 
182 189
 
183 190
 
184
-Definition at line 10 of file Destijl\+Command\+Manager.\+cs.
191
+Definition at line 34 of file Destijl\+Command\+Manager.\+cs.
185 192
 
186 193
 \mbox{\label{classmonitor_1_1_destijl_command_list_af494d7e1bddee8184873dc380a3066ba}} 
187 194
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Ack@{Header\+Stm\+Ack}}
@@ -191,7 +198,7 @@ Definition at line 10 of file Destijl\+Command\+Manager.\+cs.
191 198
 
192 199
 
193 200
 
194
-Definition at line 23 of file Destijl\+Command\+Manager.\+cs.
201
+Definition at line 47 of file Destijl\+Command\+Manager.\+cs.
195 202
 
196 203
 \mbox{\label{classmonitor_1_1_destijl_command_list_a88de91fa6abdc122245ceb26fc21fd33}} 
197 204
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Bat@{Header\+Stm\+Bat}}
@@ -201,7 +208,7 @@ Definition at line 23 of file Destijl\+Command\+Manager.\+cs.
201 208
 
202 209
 
203 210
 
204
-Definition at line 29 of file Destijl\+Command\+Manager.\+cs.
211
+Definition at line 53 of file Destijl\+Command\+Manager.\+cs.
205 212
 
206 213
 \mbox{\label{classmonitor_1_1_destijl_command_list_ae3ee8e0ecbb79faec9d24095d72cfbde}} 
207 214
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Image@{Header\+Stm\+Image}}
@@ -211,7 +218,7 @@ Definition at line 29 of file Destijl\+Command\+Manager.\+cs.
211 218
 
212 219
 
213 220
 
214
-Definition at line 26 of file Destijl\+Command\+Manager.\+cs.
221
+Definition at line 50 of file Destijl\+Command\+Manager.\+cs.
215 222
 
216 223
 \mbox{\label{classmonitor_1_1_destijl_command_list_a54e9ebd5e8f34ac596b84b56bb2403f7}} 
217 224
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Lost\+Dmb@{Header\+Stm\+Lost\+Dmb}}
@@ -221,7 +228,7 @@ Definition at line 26 of file Destijl\+Command\+Manager.\+cs.
221 228
 
222 229
 
223 230
 
224
-Definition at line 25 of file Destijl\+Command\+Manager.\+cs.
231
+Definition at line 49 of file Destijl\+Command\+Manager.\+cs.
225 232
 
226 233
 \mbox{\label{classmonitor_1_1_destijl_command_list_ad1fa4557b2d44dd888d8640f374c9f04}} 
227 234
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Mes@{Header\+Stm\+Mes}}
@@ -231,7 +238,7 @@ Definition at line 25 of file Destijl\+Command\+Manager.\+cs.
231 238
 
232 239
 
233 240
 
234
-Definition at line 28 of file Destijl\+Command\+Manager.\+cs.
241
+Definition at line 52 of file Destijl\+Command\+Manager.\+cs.
235 242
 
236 243
 \mbox{\label{classmonitor_1_1_destijl_command_list_ae3dc86c7e90bba409317e63cf1c85a39}} 
237 244
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+No\+Ack@{Header\+Stm\+No\+Ack}}
@@ -241,7 +248,7 @@ Definition at line 28 of file Destijl\+Command\+Manager.\+cs.
241 248
 
242 249
 
243 250
 
244
-Definition at line 24 of file Destijl\+Command\+Manager.\+cs.
251
+Definition at line 48 of file Destijl\+Command\+Manager.\+cs.
245 252
 
246 253
 \mbox{\label{classmonitor_1_1_destijl_command_list_abf99a718161a5a9017d7011cea429ec0}} 
247 254
 \index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Pos@{Header\+Stm\+Pos}}
@@ -251,7 +258,7 @@ Definition at line 24 of file Destijl\+Command\+Manager.\+cs.
251 258
 
252 259
 
253 260
 
254
-Definition at line 27 of file Destijl\+Command\+Manager.\+cs.
261
+Definition at line 51 of file Destijl\+Command\+Manager.\+cs.
255 262
 
256 263
 
257 264
 

+ 316
- 75
software/monitor/monitor/docs/latex/classmonitor_1_1_destijl_command_manager.tex View File

@@ -2,8 +2,12 @@
2 2
 \label{classmonitor_1_1_destijl_command_manager}\index{monitor.\+Destijl\+Command\+Manager@{monitor.\+Destijl\+Command\+Manager}}
3 3
 
4 4
 
5
-Collaboration diagram for monitor.\+Destijl\+Command\+Manager\+:
6
-\nopagebreak
5
+Specialization class for command manager, which implemnent destijl protocol between monitor and server  
6
+
7
+
8
+
9
+
10
+Collaboration diagram for monitor.\+Destijl\+Command\+Manager\+:\nopagebreak
7 11
 \begin{figure}[H]
8 12
 \begin{center}
9 13
 \leavevmode
@@ -21,92 +25,92 @@ enum \textbf{ Command\+Status} \{ \newline
21 25
 \newline
22 26
 \textbf{ Command\+Status.\+Communication\+Lost\+With\+Robot}, 
23 27
 \textbf{ Command\+Status.\+Communication\+Lost\+With\+Server}
24
- \}
28
+ \}\begin{DoxyCompactList}\small\item\em List of available return status \end{DoxyCompactList}
25 29
 \end{DoxyCompactItemize}
26 30
 \subsection*{Public Member Functions}
27 31
 \begin{DoxyCompactItemize}
28 32
 \item 
29 33
 delegate void \textbf{ Command\+Received\+Event} (string header, string data, byte[$\,$] buffer)
30
-\item 
34
+\begin{DoxyCompactList}\small\item\em Callback for sending received data to application level \end{DoxyCompactList}\item 
31 35
 \textbf{ Destijl\+Command\+Manager} (\textbf{ Command\+Received\+Event} callback)
32
-\item 
36
+\begin{DoxyCompactList}\small\item\em Initializes a new instance of the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} class. \end{DoxyCompactList}\item 
33 37
 bool \textbf{ Open} (string hostname)
34
-\item 
38
+\begin{DoxyCompactList}\small\item\em Open the specified hostname server, using default port number. \end{DoxyCompactList}\item 
35 39
 bool \textbf{ Open} (string hostname, int port)
36
-\item 
40
+\begin{DoxyCompactList}\small\item\em Open connection to server \char`\"{}host\char`\"{}, with port number \char`\"{}port\char`\"{} \end{DoxyCompactList}\item 
37 41
 void \textbf{ Close} ()
38
-\item 
42
+\begin{DoxyCompactList}\small\item\em Close connection to server \end{DoxyCompactList}\item 
39 43
 \textbf{ Command\+Status} \textbf{ Robot\+Open\+Com} ()
40
-\item 
44
+\begin{DoxyCompactList}\small\item\em Open communication with robot and wait acknowledge \end{DoxyCompactList}\item 
41 45
 \textbf{ Command\+Status} \textbf{ Robot\+Close\+Com} ()
42
-\item 
46
+\begin{DoxyCompactList}\small\item\em Close communication with robot and wait acknowledge \end{DoxyCompactList}\item 
43 47
 \textbf{ Command\+Status} \textbf{ Robot\+Ping} ()
44
-\item 
48
+\begin{DoxyCompactList}\small\item\em Ping the robot. \end{DoxyCompactList}\item 
45 49
 \textbf{ Command\+Status} \textbf{ Robot\+Reset} ()
46
-\item 
50
+\begin{DoxyCompactList}\small\item\em Reset robot and let it in idle mode \end{DoxyCompactList}\item 
47 51
 \textbf{ Command\+Status} \textbf{ Robot\+Start\+With\+Watchdog} ()
48
-\item 
52
+\begin{DoxyCompactList}\small\item\em Start robot, enabling watchdog \end{DoxyCompactList}\item 
49 53
 \textbf{ Command\+Status} \textbf{ Robot\+Start\+Without\+Watchdog} ()
50
-\item 
54
+\begin{DoxyCompactList}\small\item\em Start robot, without enabling watchdog \end{DoxyCompactList}\item 
51 55
 \textbf{ Command\+Status} \textbf{ Robot\+Move} (int distance)
52
-\item 
56
+\begin{DoxyCompactList}\small\item\em Move robot forward or backward, for a distance expressed in millimeter \end{DoxyCompactList}\item 
53 57
 \textbf{ Command\+Status} \textbf{ Robot\+Turn} (int angle)
54
-\item 
58
+\begin{DoxyCompactList}\small\item\em Make robot turn left or right, for a given angle \end{DoxyCompactList}\item 
55 59
 \textbf{ Command\+Status} \textbf{ Robot\+Get\+Battery} ()
56
-\item 
60
+\begin{DoxyCompactList}\small\item\em Request robot battery level \end{DoxyCompactList}\item 
57 61
 \textbf{ Command\+Status} \textbf{ Robot\+Get\+Version} (out string version)
58
-\item 
62
+\begin{DoxyCompactList}\small\item\em Request robot firmware version \end{DoxyCompactList}\item 
59 63
 \textbf{ Command\+Status} \textbf{ Robot\+Power\+Off} ()
60
-\item 
64
+\begin{DoxyCompactList}\small\item\em Power off robot \end{DoxyCompactList}\item 
61 65
 \textbf{ Command\+Status} \textbf{ Camera\+Open} ()
62
-\item 
66
+\begin{DoxyCompactList}\small\item\em Open camera on remote device \end{DoxyCompactList}\item 
63 67
 \textbf{ Command\+Status} \textbf{ Camera\+Close} ()
64
-\item 
68
+\begin{DoxyCompactList}\small\item\em Close camera on remote device \end{DoxyCompactList}\item 
65 69
 \textbf{ Command\+Status} \textbf{ Camera\+Ask\+Arena} ()
66
-\item 
70
+\begin{DoxyCompactList}\small\item\em Request still image of detected arena \end{DoxyCompactList}\item 
67 71
 \textbf{ Command\+Status} \textbf{ Camera\+Arena\+Confirm} ()
68
-\item 
72
+\begin{DoxyCompactList}\small\item\em Confirm arena detection (after requesting image of detected arena, using Camera\+Ask\+Arena \end{DoxyCompactList}\item 
69 73
 \textbf{ Command\+Status} \textbf{ Camera\+Arena\+Infirm} ()
70
-\item 
74
+\begin{DoxyCompactList}\small\item\em Reject arena detected (after requesting image of detected arena, using Camera\+Ask\+Arena \end{DoxyCompactList}\item 
71 75
 \textbf{ Command\+Status} \textbf{ Camera\+Compute\+Position} ()
72
-\item 
76
+\begin{DoxyCompactList}\small\item\em Request robot position computing \end{DoxyCompactList}\item 
73 77
 \textbf{ Command\+Status} \textbf{ Camera\+Stop\+Compute\+Position} ()
74
-\end{DoxyCompactItemize}
78
+\begin{DoxyCompactList}\small\item\em Stop robot position computing \end{DoxyCompactList}\end{DoxyCompactItemize}
75 79
 \subsection*{Public Attributes}
76 80
 \begin{DoxyCompactItemize}
77 81
 \item 
78 82
 \textbf{ Command\+Received\+Event} \textbf{ command\+Received\+Event} = null
79 83
 \item 
80 84
 double \textbf{ timeout} = 100
81
-\end{DoxyCompactItemize}
85
+\begin{DoxyCompactList}\small\item\em Timeout used for command with acknowledge \end{DoxyCompactList}\end{DoxyCompactItemize}
82 86
 \subsection*{Private Member Functions}
83 87
 \begin{DoxyCompactItemize}
84 88
 \item 
85 89
 \textbf{ $\sim$\+Destijl\+Command\+Manager} ()
86
-\item 
90
+\begin{DoxyCompactList}\small\item\em Releases unmanaged resources and performs other cleanup operations before the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} is reclaimed by garbage collection. \end{DoxyCompactList}\item 
87 91
 void \textbf{ On\+Command\+Received} (string msg, byte[$\,$] buffer)
88
-\item 
92
+\begin{DoxyCompactList}\small\item\em Callback used for receiving data from lower layer (\doxyref{Command\+Manager}{p.}{classmonitor_1_1_command_manager} class) \end{DoxyCompactList}\item 
89 93
 string \textbf{ Create\+Command} (string header, string data)
90
-\item 
91
-void \textbf{ Split\+Command} (string cmd, out string header, out string data)
92
-\item 
94
+\begin{DoxyCompactList}\small\item\em Creates the command to send to server, based on header and data provided \end{DoxyCompactList}\item 
93 95
 \textbf{ Command\+Status} \textbf{ Decode\+Status} (\textbf{ Command\+Manager.\+Command\+Manager\+Status} local\+Status, string answer)
94
-\end{DoxyCompactItemize}
96
+\begin{DoxyCompactList}\small\item\em Provide \doxyref{Destijl\+Command\+Manager.\+Command\+Status}{p.}{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0} based on status received by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363} and answer string \end{DoxyCompactList}\end{DoxyCompactItemize}
95 97
 \subsection*{Private Attributes}
96 98
 \begin{DoxyCompactItemize}
97 99
 \item 
98 100
 \textbf{ Command\+Manager} \textbf{ command\+Manager} = null
99
-\item 
101
+\begin{DoxyCompactList}\small\item\em Command Manager object \end{DoxyCompactList}\item 
100 102
 string \textbf{ received\+Header} = null
101
-\item 
103
+\begin{DoxyCompactList}\small\item\em Part of received message corresponding to command header \end{DoxyCompactList}\item 
102 104
 string \textbf{ received\+Data} = null
103
-\end{DoxyCompactItemize}
105
+\begin{DoxyCompactList}\small\item\em Part of received message corresponding to command data \end{DoxyCompactList}\end{DoxyCompactItemize}
104 106
 
105 107
 
106 108
 \subsection{Detailed Description}
109
+Specialization class for command manager, which implemnent destijl protocol between monitor and server 
110
+
107 111
 
108 112
 
109
-Definition at line 46 of file Destijl\+Command\+Manager.\+cs.
113
+Definition at line 76 of file Destijl\+Command\+Manager.\+cs.
110 114
 
111 115
 
112 116
 
@@ -117,6 +121,10 @@ Definition at line 46 of file Destijl\+Command\+Manager.\+cs.
117 121
 \subsubsection{Command\+Status}
118 122
 {\footnotesize\ttfamily enum \textbf{ monitor.\+Destijl\+Command\+Manager.\+Command\+Status}\hspace{0.3cm}{\ttfamily [strong]}}
119 123
 
124
+
125
+
126
+List of available return status 
127
+
120 128
 \begin{DoxyEnumFields}{Enumerator}
121 129
 \raisebox{\heightof{T}}[0pt][0pt]{\index{Success@{Success}!monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}}\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Success@{Success}}}\mbox{\label{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0a505a83f220c02df2f85c3810cd9ceb38}} 
122 130
 Success&\\
@@ -145,7 +153,7 @@ Communication\+Lost\+With\+Server&\\
145 153
 \end{DoxyEnumFields}
146 154
 
147 155
 
148
-Definition at line 58 of file Destijl\+Command\+Manager.\+cs.
156
+Definition at line 107 of file Destijl\+Command\+Manager.\+cs.
149 157
 
150 158
 
151 159
 
@@ -158,7 +166,16 @@ Definition at line 58 of file Destijl\+Command\+Manager.\+cs.
158 166
 
159 167
 
160 168
 
161
-Definition at line 68 of file Destijl\+Command\+Manager.\+cs.
169
+Initializes a new instance of the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} class. 
170
+
171
+
172
+\begin{DoxyParams}{Parameters}
173
+{\em callback} & Callback reference for reception of data\\
174
+\hline
175
+\end{DoxyParams}
176
+
177
+
178
+Definition at line 121 of file Destijl\+Command\+Manager.\+cs.
162 179
 
163 180
 \mbox{\label{classmonitor_1_1_destijl_command_manager_abc51dc980d7ba7e59a571e579cb626b9}} 
164 181
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!````~Destijl\+Command\+Manager@{$\sim$\+Destijl\+Command\+Manager}}
@@ -168,7 +185,11 @@ Definition at line 68 of file Destijl\+Command\+Manager.\+cs.
168 185
 
169 186
 
170 187
 
171
-Definition at line 74 of file Destijl\+Command\+Manager.\+cs.
188
+Releases unmanaged resources and performs other cleanup operations before the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} is reclaimed by garbage collection. 
189
+
190
+
191
+
192
+Definition at line 131 of file Destijl\+Command\+Manager.\+cs.
172 193
 
173 194
 
174 195
 
@@ -181,7 +202,14 @@ Definition at line 74 of file Destijl\+Command\+Manager.\+cs.
181 202
 
182 203
 
183 204
 
184
-Definition at line 367 of file Destijl\+Command\+Manager.\+cs.
205
+Confirm arena detection (after requesting image of detected arena, using Camera\+Ask\+Arena 
206
+
207
+\begin{DoxyReturn}{Returns}
208
+Command status (see Decode\+Status)
209
+\end{DoxyReturn}
210
+
211
+
212
+Definition at line 492 of file Destijl\+Command\+Manager.\+cs.
185 213
 
186 214
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a614be7a565a3a10308f20b073b40383f}} 
187 215
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Arena\+Infirm@{Camera\+Arena\+Infirm}}
@@ -191,7 +219,14 @@ Definition at line 367 of file Destijl\+Command\+Manager.\+cs.
191 219
 
192 220
 
193 221
 
194
-Definition at line 380 of file Destijl\+Command\+Manager.\+cs.
222
+Reject arena detected (after requesting image of detected arena, using Camera\+Ask\+Arena 
223
+
224
+\begin{DoxyReturn}{Returns}
225
+Command status (see Decode\+Status)
226
+\end{DoxyReturn}
227
+
228
+
229
+Definition at line 509 of file Destijl\+Command\+Manager.\+cs.
195 230
 
196 231
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a8d178480fc09d474760eae995c9aa096}} 
197 232
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Ask\+Arena@{Camera\+Ask\+Arena}}
@@ -201,7 +236,14 @@ Definition at line 380 of file Destijl\+Command\+Manager.\+cs.
201 236
 
202 237
 
203 238
 
204
-Definition at line 354 of file Destijl\+Command\+Manager.\+cs.
239
+Request still image of detected arena 
240
+
241
+\begin{DoxyReturn}{Returns}
242
+Command status (see Decode\+Status)
243
+\end{DoxyReturn}
244
+
245
+
246
+Definition at line 475 of file Destijl\+Command\+Manager.\+cs.
205 247
 
206 248
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a94b085d9de512cd7e80bcefd516d460c}} 
207 249
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Close@{Camera\+Close}}
@@ -211,7 +253,14 @@ Definition at line 354 of file Destijl\+Command\+Manager.\+cs.
211 253
 
212 254
 
213 255
 
214
-Definition at line 341 of file Destijl\+Command\+Manager.\+cs.
256
+Close camera on remote device 
257
+
258
+\begin{DoxyReturn}{Returns}
259
+Command status (see Decode\+Status)
260
+\end{DoxyReturn}
261
+
262
+
263
+Definition at line 458 of file Destijl\+Command\+Manager.\+cs.
215 264
 
216 265
 \mbox{\label{classmonitor_1_1_destijl_command_manager_ad04df7759d2698334a410fe32b78e21e}} 
217 266
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Compute\+Position@{Camera\+Compute\+Position}}
@@ -221,7 +270,14 @@ Definition at line 341 of file Destijl\+Command\+Manager.\+cs.
221 270
 
222 271
 
223 272
 
224
-Definition at line 393 of file Destijl\+Command\+Manager.\+cs.
273
+Request robot position computing 
274
+
275
+\begin{DoxyReturn}{Returns}
276
+Command status (see Decode\+Status)
277
+\end{DoxyReturn}
278
+
279
+
280
+Definition at line 526 of file Destijl\+Command\+Manager.\+cs.
225 281
 
226 282
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a292d7e2961ff31a80d9abf79b7b41126}} 
227 283
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Open@{Camera\+Open}}
@@ -231,7 +287,14 @@ Definition at line 393 of file Destijl\+Command\+Manager.\+cs.
231 287
 
232 288
 
233 289
 
234
-Definition at line 328 of file Destijl\+Command\+Manager.\+cs.
290
+Open camera on remote device 
291
+
292
+\begin{DoxyReturn}{Returns}
293
+Command status (see Decode\+Status)
294
+\end{DoxyReturn}
295
+
296
+
297
+Definition at line 441 of file Destijl\+Command\+Manager.\+cs.
235 298
 
236 299
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a928f987f8f5f12135614678585ab2726}} 
237 300
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Stop\+Compute\+Position@{Camera\+Stop\+Compute\+Position}}
@@ -241,7 +304,14 @@ Definition at line 328 of file Destijl\+Command\+Manager.\+cs.
241 304
 
242 305
 
243 306
 
244
-Definition at line 406 of file Destijl\+Command\+Manager.\+cs.
307
+Stop robot position computing 
308
+
309
+\begin{DoxyReturn}{Returns}
310
+Command status (see Decode\+Status)
311
+\end{DoxyReturn}
312
+
313
+
314
+Definition at line 543 of file Destijl\+Command\+Manager.\+cs.
245 315
 
246 316
 \mbox{\label{classmonitor_1_1_destijl_command_manager_af1f57d8e3e980322e37da2cd3b61d1d7}} 
247 317
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Close@{Close}}
@@ -251,7 +321,11 @@ Definition at line 406 of file Destijl\+Command\+Manager.\+cs.
251 321
 
252 322
 
253 323
 
254
-Definition at line 103 of file Destijl\+Command\+Manager.\+cs.
324
+Close connection to server 
325
+
326
+
327
+
328
+Definition at line 183 of file Destijl\+Command\+Manager.\+cs.
255 329
 
256 330
 \mbox{\label{classmonitor_1_1_destijl_command_manager_acc08ece6a89e842188364226299b3d43}} 
257 331
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Command\+Received\+Event@{Command\+Received\+Event}}
@@ -259,6 +333,10 @@ Definition at line 103 of file Destijl\+Command\+Manager.\+cs.
259 333
 \subsubsection{Command\+Received\+Event()}
260 334
 {\footnotesize\ttfamily delegate void monitor.\+Destijl\+Command\+Manager.\+Command\+Received\+Event (\begin{DoxyParamCaption}\item[{string}]{header,  }\item[{string}]{data,  }\item[{byte [$\,$]}]{buffer }\end{DoxyParamCaption})}
261 335
 
336
+
337
+
338
+Callback for sending received data to application level 
339
+
262 340
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a47eb72ec1ae43505966bc5cf09c79e58}} 
263 341
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Create\+Command@{Create\+Command}}
264 342
 \index{Create\+Command@{Create\+Command}!monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}}
@@ -267,7 +345,21 @@ Definition at line 103 of file Destijl\+Command\+Manager.\+cs.
267 345
 
268 346
 
269 347
 
270
-Definition at line 108 of file Destijl\+Command\+Manager.\+cs.
348
+Creates the command to send to server, based on header and data provided 
349
+
350
+\begin{DoxyReturn}{Returns}
351
+The command string
352
+\end{DoxyReturn}
353
+
354
+\begin{DoxyParams}{Parameters}
355
+{\em header} & Header part of the command\\
356
+\hline
357
+{\em data} & Data part of the command\\
358
+\hline
359
+\end{DoxyParams}
360
+
361
+
362
+Definition at line 194 of file Destijl\+Command\+Manager.\+cs.
271 363
 
272 364
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a00c3fb9f163c4d9025b356a5a7e74012}} 
273 365
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Decode\+Status@{Decode\+Status}}
@@ -277,7 +369,21 @@ Definition at line 108 of file Destijl\+Command\+Manager.\+cs.
277 369
 
278 370
 
279 371
 
280
-Definition at line 124 of file Destijl\+Command\+Manager.\+cs.
372
+Provide \doxyref{Destijl\+Command\+Manager.\+Command\+Status}{p.}{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0} based on status received by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363} and answer string 
373
+
374
+\begin{DoxyReturn}{Returns}
375
+Status compatible with \doxyref{Destijl\+Command\+Manager.\+Command\+Status}{p.}{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0} type
376
+\end{DoxyReturn}
377
+
378
+\begin{DoxyParams}{Parameters}
379
+{\em local\+Status} & Status provided by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363}\\
380
+\hline
381
+{\em answer} & Answer provided by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363}\\
382
+\hline
383
+\end{DoxyParams}
384
+
385
+
386
+Definition at line 205 of file Destijl\+Command\+Manager.\+cs.
281 387
 
282 388
 \mbox{\label{classmonitor_1_1_destijl_command_manager_ab83dbda4196240c242a5ac101901bb19}} 
283 389
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!On\+Command\+Received@{On\+Command\+Received}}
@@ -287,7 +393,18 @@ Definition at line 124 of file Destijl\+Command\+Manager.\+cs.
287 393
 
288 394
 
289 395
 
290
-Definition at line 79 of file Destijl\+Command\+Manager.\+cs.
396
+Callback used for receiving data from lower layer (\doxyref{Command\+Manager}{p.}{classmonitor_1_1_command_manager} class) 
397
+
398
+
399
+\begin{DoxyParams}{Parameters}
400
+{\em msg} & String containing received message\\
401
+\hline
402
+{\em buffer} & Raw buffer to be used when data are not in ascii format (image for example)\\
403
+\hline
404
+\end{DoxyParams}
405
+
406
+
407
+Definition at line 141 of file Destijl\+Command\+Manager.\+cs.
291 408
 
292 409
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a5dd6b75386a554c2f026eee787477bb0}} 
293 410
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Open@{Open}}
@@ -297,7 +414,19 @@ Definition at line 79 of file Destijl\+Command\+Manager.\+cs.
297 414
 
298 415
 
299 416
 
300
-Definition at line 92 of file Destijl\+Command\+Manager.\+cs.
417
+Open the specified hostname server, using default port number. 
418
+
419
+\begin{DoxyReturn}{Returns}
420
+true if connection succeded, false otherwise
421
+\end{DoxyReturn}
422
+
423
+\begin{DoxyParams}{Parameters}
424
+{\em hostname} & Hostname to connect to\\
425
+\hline
426
+\end{DoxyParams}
427
+
428
+
429
+Definition at line 163 of file Destijl\+Command\+Manager.\+cs.
301 430
 
302 431
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a842300511efb20783c271764ee0e3336}} 
303 432
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Open@{Open}}
@@ -307,7 +436,21 @@ Definition at line 92 of file Destijl\+Command\+Manager.\+cs.
307 436
 
308 437
 
309 438
 
310
-Definition at line 97 of file Destijl\+Command\+Manager.\+cs.
439
+Open connection to server \char`\"{}host\char`\"{}, with port number \char`\"{}port\char`\"{} 
440
+
441
+\begin{DoxyReturn}{Returns}
442
+true if connection succeded, false otherwise
443
+\end{DoxyReturn}
444
+
445
+\begin{DoxyParams}{Parameters}
446
+{\em hostname} & Hostname to connect to\\
447
+\hline
448
+{\em port} & Port number for connection\\
449
+\hline
450
+\end{DoxyParams}
451
+
452
+
453
+Definition at line 174 of file Destijl\+Command\+Manager.\+cs.
311 454
 
312 455
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a0139bec493c965670226381f2ba63a23}} 
313 456
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Close\+Com@{Robot\+Close\+Com}}
@@ -317,7 +460,14 @@ Definition at line 97 of file Destijl\+Command\+Manager.\+cs.
317 460
 
318 461
 
319 462
 
320
-Definition at line 157 of file Destijl\+Command\+Manager.\+cs.
463
+Close communication with robot and wait acknowledge 
464
+
465
+\begin{DoxyReturn}{Returns}
466
+Command status (see Decode\+Status)
467
+\end{DoxyReturn}
468
+
469
+
470
+Definition at line 251 of file Destijl\+Command\+Manager.\+cs.
321 471
 
322 472
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a2ec8021340de939318ace65b8462b930}} 
323 473
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Get\+Battery@{Robot\+Get\+Battery}}
@@ -327,7 +477,14 @@ Definition at line 157 of file Destijl\+Command\+Manager.\+cs.
327 477
 
328 478
 
329 479
 
330
-Definition at line 249 of file Destijl\+Command\+Manager.\+cs.
480
+Request robot battery level 
481
+
482
+\begin{DoxyReturn}{Returns}
483
+Command status (see Decode\+Status)
484
+\end{DoxyReturn}
485
+
486
+
487
+Definition at line 372 of file Destijl\+Command\+Manager.\+cs.
331 488
 
332 489
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a7ddd552ed82382a09b4af075c34fb989}} 
333 490
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Get\+Version@{Robot\+Get\+Version}}
@@ -337,7 +494,19 @@ Definition at line 249 of file Destijl\+Command\+Manager.\+cs.
337 494
 
338 495
 
339 496
 
340
-Definition at line 284 of file Destijl\+Command\+Manager.\+cs.
497
+Request robot firmware version 
498
+
499
+\begin{DoxyReturn}{Returns}
500
+Command status (see Decode\+Status)
501
+\end{DoxyReturn}
502
+
503
+\begin{DoxyParams}{Parameters}
504
+{\em version} & todo\\
505
+\hline
506
+\end{DoxyParams}
507
+
508
+
509
+Definition at line 390 of file Destijl\+Command\+Manager.\+cs.
341 510
 
342 511
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a5976fe792e270c63bd9f0f4c792df129}} 
343 512
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Move@{Robot\+Move}}
@@ -347,7 +516,19 @@ Definition at line 284 of file Destijl\+Command\+Manager.\+cs.
347 516
 
348 517
 
349 518
 
350
-Definition at line 222 of file Destijl\+Command\+Manager.\+cs.
519
+Move robot forward or backward, for a distance expressed in millimeter 
520
+
521
+\begin{DoxyReturn}{Returns}
522
+Command status (see Decode\+Status)
523
+\end{DoxyReturn}
524
+
525
+\begin{DoxyParams}{Parameters}
526
+{\em distance} & Distance of mouvment, in millimeter\\
527
+\hline
528
+\end{DoxyParams}
529
+
530
+
531
+Definition at line 337 of file Destijl\+Command\+Manager.\+cs.
351 532
 
352 533
 \mbox{\label{classmonitor_1_1_destijl_command_manager_aa1440a571e6aaf11203b4e4a4ed116d5}} 
353 534
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Open\+Com@{Robot\+Open\+Com}}
@@ -357,7 +538,14 @@ Definition at line 222 of file Destijl\+Command\+Manager.\+cs.
357 538
 
358 539
 
359 540
 
360
-Definition at line 144 of file Destijl\+Command\+Manager.\+cs.
541
+Open communication with robot and wait acknowledge 
542
+
543
+\begin{DoxyReturn}{Returns}
544
+Command status (see Decode\+Status)
545
+\end{DoxyReturn}
546
+
547
+
548
+Definition at line 234 of file Destijl\+Command\+Manager.\+cs.
361 549
 
362 550
 \mbox{\label{classmonitor_1_1_destijl_command_manager_ae1af16558213c3830ea3006e8e8c5e28}} 
363 551
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Ping@{Robot\+Ping}}
@@ -367,7 +555,14 @@ Definition at line 144 of file Destijl\+Command\+Manager.\+cs.
367 555
 
368 556
 
369 557
 
370
-Definition at line 170 of file Destijl\+Command\+Manager.\+cs.
558
+Ping the robot. 
559
+
560
+\begin{DoxyReturn}{Returns}
561
+Command status (see Decode\+Status)
562
+\end{DoxyReturn}
563
+
564
+
565
+Definition at line 268 of file Destijl\+Command\+Manager.\+cs.
371 566
 
372 567
 \mbox{\label{classmonitor_1_1_destijl_command_manager_acb242a71fa40d4001dc1bc31d5bdc53f}} 
373 568
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Power\+Off@{Robot\+Power\+Off}}
@@ -377,7 +572,14 @@ Definition at line 170 of file Destijl\+Command\+Manager.\+cs.
377 572
 
378 573
 
379 574
 
380
-Definition at line 315 of file Destijl\+Command\+Manager.\+cs.
575
+Power off robot 
576
+
577
+\begin{DoxyReturn}{Returns}
578
+Command status (see Decode\+Status)
579
+\end{DoxyReturn}
580
+
581
+
582
+Definition at line 424 of file Destijl\+Command\+Manager.\+cs.
381 583
 
382 584
 \mbox{\label{classmonitor_1_1_destijl_command_manager_abe223aa12456e3f1c2519e9c379d891a}} 
383 585
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Reset@{Robot\+Reset}}
@@ -387,7 +589,14 @@ Definition at line 315 of file Destijl\+Command\+Manager.\+cs.
387 589
 
388 590
 
389 591
 
390
-Definition at line 183 of file Destijl\+Command\+Manager.\+cs.
592
+Reset robot and let it in idle mode 
593
+
594
+\begin{DoxyReturn}{Returns}
595
+Command status (see Decode\+Status)
596
+\end{DoxyReturn}
597
+
598
+
599
+Definition at line 285 of file Destijl\+Command\+Manager.\+cs.
391 600
 
392 601
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a0c964baa3ecd4ff9d19857061413938b}} 
393 602
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Start\+Without\+Watchdog@{Robot\+Start\+Without\+Watchdog}}
@@ -397,7 +606,14 @@ Definition at line 183 of file Destijl\+Command\+Manager.\+cs.
397 606
 
398 607
 
399 608
 
400
-Definition at line 209 of file Destijl\+Command\+Manager.\+cs.
609
+Start robot, without enabling watchdog 
610
+
611
+\begin{DoxyReturn}{Returns}
612
+Command status (see Decode\+Status)
613
+\end{DoxyReturn}
614
+
615
+
616
+Definition at line 319 of file Destijl\+Command\+Manager.\+cs.
401 617
 
402 618
 \mbox{\label{classmonitor_1_1_destijl_command_manager_ade46aceeb79556e31fe632e9602e1636}} 
403 619
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Start\+With\+Watchdog@{Robot\+Start\+With\+Watchdog}}
@@ -407,7 +623,14 @@ Definition at line 209 of file Destijl\+Command\+Manager.\+cs.
407 623
 
408 624
 
409 625
 
410
-Definition at line 196 of file Destijl\+Command\+Manager.\+cs.
626
+Start robot, enabling watchdog 
627
+
628
+\begin{DoxyReturn}{Returns}
629
+Command status (see Decode\+Status)
630
+\end{DoxyReturn}
631
+
632
+
633
+Definition at line 302 of file Destijl\+Command\+Manager.\+cs.
411 634
 
412 635
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a3f7ee6f1803cfb8b2eb4290f9e9acced}} 
413 636
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Turn@{Robot\+Turn}}
@@ -417,17 +640,19 @@ Definition at line 196 of file Destijl\+Command\+Manager.\+cs.
417 640
 
418 641
 
419 642
 
420
-Definition at line 235 of file Destijl\+Command\+Manager.\+cs.
643
+Make robot turn left or right, for a given angle 
421 644
 
422
-\mbox{\label{classmonitor_1_1_destijl_command_manager_ad6fc73806e924e73dcf07c5cf3c81a66}} 
423
-\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Split\+Command@{Split\+Command}}
424
-\index{Split\+Command@{Split\+Command}!monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}}
425
-\subsubsection{Split\+Command()}
426
-{\footnotesize\ttfamily void monitor.\+Destijl\+Command\+Manager.\+Split\+Command (\begin{DoxyParamCaption}\item[{string}]{cmd,  }\item[{out string}]{header,  }\item[{out string}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
645
+\begin{DoxyReturn}{Returns}
646
+Command status (see Decode\+Status)
647
+\end{DoxyReturn}
427 648
 
649
+\begin{DoxyParams}{Parameters}
650
+{\em angle} & Angle of turn, in degree (negative for left, positive for right)\\
651
+\hline
652
+\end{DoxyParams}
428 653
 
429 654
 
430
-Definition at line 113 of file Destijl\+Command\+Manager.\+cs.
655
+Definition at line 355 of file Destijl\+Command\+Manager.\+cs.
431 656
 
432 657
 
433 658
 
@@ -440,7 +665,11 @@ Definition at line 113 of file Destijl\+Command\+Manager.\+cs.
440 665
 
441 666
 
442 667
 
443
-Definition at line 48 of file Destijl\+Command\+Manager.\+cs.
668
+Command Manager object 
669
+
670
+
671
+
672
+Definition at line 81 of file Destijl\+Command\+Manager.\+cs.
444 673
 
445 674
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a5c10e8aaae48b83be0267aefa23eb62d}} 
446 675
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!command\+Received\+Event@{command\+Received\+Event}}
@@ -450,7 +679,7 @@ Definition at line 48 of file Destijl\+Command\+Manager.\+cs.
450 679
 
451 680
 
452 681
 
453
-Definition at line 54 of file Destijl\+Command\+Manager.\+cs.
682
+Definition at line 97 of file Destijl\+Command\+Manager.\+cs.
454 683
 
455 684
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a88f907fc9c5fd8cd8d5976f45c323903}} 
456 685
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!received\+Data@{received\+Data}}
@@ -460,7 +689,11 @@ Definition at line 54 of file Destijl\+Command\+Manager.\+cs.
460 689
 
461 690
 
462 691
 
463
-Definition at line 51 of file Destijl\+Command\+Manager.\+cs.
692
+Part of received message corresponding to command data 
693
+
694
+
695
+
696
+Definition at line 91 of file Destijl\+Command\+Manager.\+cs.
464 697
 
465 698
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a1b99d771e7af8ffc8ced10d35e5e77ce}} 
466 699
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!received\+Header@{received\+Header}}
@@ -470,7 +703,11 @@ Definition at line 51 of file Destijl\+Command\+Manager.\+cs.
470 703
 
471 704
 
472 705
 
473
-Definition at line 50 of file Destijl\+Command\+Manager.\+cs.
706
+Part of received message corresponding to command header 
707
+
708
+
709
+
710
+Definition at line 86 of file Destijl\+Command\+Manager.\+cs.
474 711
 
475 712
 \mbox{\label{classmonitor_1_1_destijl_command_manager_a86a1fb03dc480dab8d6758aa0d675cd3}} 
476 713
 \index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!timeout@{timeout}}
@@ -480,7 +717,11 @@ Definition at line 50 of file Destijl\+Command\+Manager.\+cs.
480 717
 
481 718
 
482 719
 
483
-Definition at line 56 of file Destijl\+Command\+Manager.\+cs.
720
+Timeout used for command with acknowledge 
721
+
722
+
723
+
724
+Definition at line 102 of file Destijl\+Command\+Manager.\+cs.
484 725
 
485 726
 
486 727
 

+ 2
- 2
software/monitor/monitor/docs/latex/classmonitor_1_1_main_class.tex View File

@@ -10,7 +10,7 @@ static void \textbf{ Main} (string[$\,$] args)
10 10
 \subsection{Detailed Description}
11 11
 
12 12
 
13
-Definition at line 6 of file Program.\+cs.
13
+Definition at line 27 of file Program.\+cs.
14 14
 
15 15
 
16 16
 
@@ -23,7 +23,7 @@ Definition at line 6 of file Program.\+cs.
23 23
 
24 24
 
25 25
 
26
-Definition at line 8 of file Program.\+cs.
26
+Definition at line 29 of file Program.\+cs.
27 27
 
28 28
 
29 29
 

+ 18
- 11
software/monitor/monitor/docs/latex/classmonitor_1_1_robot_command_list.tex View File

@@ -1,5 +1,10 @@
1 1
 \section{monitor.\+Robot\+Command\+List Class Reference}
2 2
 \label{classmonitor_1_1_robot_command_list}\index{monitor.\+Robot\+Command\+List@{monitor.\+Robot\+Command\+List}}
3
+
4
+
5
+Commands used for robot messages  
6
+
7
+
3 8
 \subsection*{Public Attributes}
4 9
 \begin{DoxyCompactItemize}
5 10
 \item 
@@ -26,9 +31,11 @@ const string \textbf{ Robot\+Power\+Off} = \char`\"{}z\char`\"{}
26 31
 
27 32
 
28 33
 \subsection{Detailed Description}
34
+Commands used for robot messages 
35
+
29 36
 
30 37
 
31
-Definition at line 32 of file Destijl\+Command\+Manager.\+cs.
38
+Definition at line 59 of file Destijl\+Command\+Manager.\+cs.
32 39
 
33 40
 
34 41
 
@@ -41,7 +48,7 @@ Definition at line 32 of file Destijl\+Command\+Manager.\+cs.
41 48
 
42 49
 
43 50
 
44
-Definition at line 38 of file Destijl\+Command\+Manager.\+cs.
51
+Definition at line 65 of file Destijl\+Command\+Manager.\+cs.
45 52
 
46 53
 \mbox{\label{classmonitor_1_1_robot_command_list_a52a901f4e013dc33ff491c5fcda76860}} 
47 54
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Get\+Busy\+State@{Robot\+Get\+Busy\+State}}
@@ -51,7 +58,7 @@ Definition at line 38 of file Destijl\+Command\+Manager.\+cs.
51 58
 
52 59
 
53 60
 
54
-Definition at line 39 of file Destijl\+Command\+Manager.\+cs.
61
+Definition at line 66 of file Destijl\+Command\+Manager.\+cs.
55 62
 
56 63
 \mbox{\label{classmonitor_1_1_robot_command_list_a9a845beb5c040e4813f03cee7cd1cb71}} 
57 64
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Get\+Version@{Robot\+Get\+Version}}
@@ -61,7 +68,7 @@ Definition at line 39 of file Destijl\+Command\+Manager.\+cs.
61 68
 
62 69
 
63 70
 
64
-Definition at line 42 of file Destijl\+Command\+Manager.\+cs.
71
+Definition at line 69 of file Destijl\+Command\+Manager.\+cs.
65 72
 
66 73
 \mbox{\label{classmonitor_1_1_robot_command_list_af7017bac04f1976fe1c37e8ec77bcbce}} 
67 74
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Move@{Robot\+Move}}
@@ -71,7 +78,7 @@ Definition at line 42 of file Destijl\+Command\+Manager.\+cs.
71 78
 
72 79
 
73 80
 
74
-Definition at line 40 of file Destijl\+Command\+Manager.\+cs.
81
+Definition at line 67 of file Destijl\+Command\+Manager.\+cs.
75 82
 
76 83
 \mbox{\label{classmonitor_1_1_robot_command_list_a93de788c0d7ed40caaa2e3912a429831}} 
77 84
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Ping@{Robot\+Ping}}
@@ -81,7 +88,7 @@ Definition at line 40 of file Destijl\+Command\+Manager.\+cs.
81 88
 
82 89
 
83 90
 
84
-Definition at line 34 of file Destijl\+Command\+Manager.\+cs.
91
+Definition at line 61 of file Destijl\+Command\+Manager.\+cs.
85 92
 
86 93
 \mbox{\label{classmonitor_1_1_robot_command_list_a2e9616c1b75719c208902e595b79cc48}} 
87 94
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Power\+Off@{Robot\+Power\+Off}}
@@ -91,7 +98,7 @@ Definition at line 34 of file Destijl\+Command\+Manager.\+cs.
91 98
 
92 99
 
93 100
 
94
-Definition at line 43 of file Destijl\+Command\+Manager.\+cs.
101
+Definition at line 70 of file Destijl\+Command\+Manager.\+cs.
95 102
 
96 103
 \mbox{\label{classmonitor_1_1_robot_command_list_a9ef80510dfe9ca241af290b003766526}} 
97 104
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Reset@{Robot\+Reset}}
@@ -101,7 +108,7 @@ Definition at line 43 of file Destijl\+Command\+Manager.\+cs.
101 108
 
102 109
 
103 110
 
104
-Definition at line 35 of file Destijl\+Command\+Manager.\+cs.
111
+Definition at line 62 of file Destijl\+Command\+Manager.\+cs.
105 112
 
106 113
 \mbox{\label{classmonitor_1_1_robot_command_list_a92acfe998bb9d265dd1f34f68f718386}} 
107 114
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Start\+Without\+Watchdog@{Robot\+Start\+Without\+Watchdog}}
@@ -111,7 +118,7 @@ Definition at line 35 of file Destijl\+Command\+Manager.\+cs.
111 118
 
112 119
 
113 120
 
114
-Definition at line 36 of file Destijl\+Command\+Manager.\+cs.
121
+Definition at line 63 of file Destijl\+Command\+Manager.\+cs.
115 122
 
116 123
 \mbox{\label{classmonitor_1_1_robot_command_list_aafa5d0e5fec3afe6586cca8b88d45c85}} 
117 124
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Start\+With\+Watchdog@{Robot\+Start\+With\+Watchdog}}
@@ -121,7 +128,7 @@ Definition at line 36 of file Destijl\+Command\+Manager.\+cs.
121 128
 
122 129
 
123 130
 
124
-Definition at line 37 of file Destijl\+Command\+Manager.\+cs.
131
+Definition at line 64 of file Destijl\+Command\+Manager.\+cs.
125 132
 
126 133
 \mbox{\label{classmonitor_1_1_robot_command_list_a2b88fc42fba8229f163e03e7252a77e6}} 
127 134
 \index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Turn@{Robot\+Turn}}
@@ -131,7 +138,7 @@ Definition at line 37 of file Destijl\+Command\+Manager.\+cs.
131 138
 
132 139
 
133 140
 
134
-Definition at line 41 of file Destijl\+Command\+Manager.\+cs.
141
+Definition at line 68 of file Destijl\+Command\+Manager.\+cs.
135 142
 
136 143
 
137 144
 

+ 3
- 3
software/monitor/monitor/docs/latex/namespacemonitor.tex View File

@@ -8,10 +8,10 @@ class \textbf{ Client}
8 8
 class \textbf{ Command\+Manager}
9 9
 \begin{DoxyCompactList}\small\item\em Command Manager. Use for timeout managment during reception of data Used as intermediate layer between T\+CP client class (\doxyref{Client}{p.}{classmonitor_1_1_client}) and application level managment of command and answers \end{DoxyCompactList}\item 
10 10
 class \textbf{ Destijl\+Command\+List}
11
-\item 
11
+\begin{DoxyCompactList}\small\item\em Commands and options parameters used in Destijl project when communicating with server \end{DoxyCompactList}\item 
12 12
 class \textbf{ Destijl\+Command\+Manager}
13
-\item 
13
+\begin{DoxyCompactList}\small\item\em Specialization class for command manager, which implemnent destijl protocol between monitor and server \end{DoxyCompactList}\item 
14 14
 class \textbf{ Main\+Class}
15 15
 \item 
16 16
 class \textbf{ Robot\+Command\+List}
17
-\end{DoxyCompactItemize}
17
+\begin{DoxyCompactList}\small\item\em Commands used for robot messages \end{DoxyCompactList}\end{DoxyCompactItemize}

BIN
software/monitor/monitor/monitor View File


+ 13
- 0
software/monitor/monitor/monitor.csproj View File

@@ -18,6 +18,16 @@
18 18
     <ErrorReport>prompt</ErrorReport>
19 19
     <WarningLevel>4</WarningLevel>
20 20
     <PlatformTarget>x86</PlatformTarget>
21
+    <CustomCommands>
22
+      <CustomCommands>
23
+        <Command>
24
+          <type>AfterBuild</type>
25
+          <command>/bin/sh afterBuild.sh</command>
26
+          <workingdir>${ProjectDir}</workingdir>
27
+          <externalConsole>True</externalConsole>
28
+        </Command>
29
+      </CustomCommands>
30
+    </CustomCommands>
21 31
   </PropertyGroup>
22 32
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
23 33
     <Optimize>true</Optimize>
@@ -71,5 +81,8 @@
71 81
     <Compile Include="CommandManager.cs" />
72 82
     <Compile Include="DestijlCommandManager.cs" />
73 83
   </ItemGroup>
84
+  <ItemGroup>
85
+    <None Include="afterBuild.sh" />
86
+  </ItemGroup>
74 87
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
75 88
 </Project>

+ 1
- 1
software/raspberry/superviseur-robot/lib/src/image.cpp View File

@@ -47,9 +47,9 @@ int open_camera(Camera  *camera)
47 47
     if(!cap.open(0))
48 48
         return -1;
49 49
     
50
-    sleep(1);
51 50
     return 0;
52 51
 #else // for raspberry
52
+    
53 53
     camera->set(CV_CAP_PROP_FORMAT, CV_8UC3);
54 54
     camera->set(CV_CAP_PROP_FRAME_WIDTH,WIDTH);
55 55
     camera->set(CV_CAP_PROP_FRAME_HEIGHT,HEIGHT);

+ 119
- 0
software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-Debug__RPI_.mk View File

@@ -0,0 +1,119 @@
1
+#
2
+# Generated Makefile - do not edit!
3
+#
4
+# Edit the Makefile in the project folder instead (../Makefile). Each target
5
+# has a -pre and a -post target defined where you can add customized code.
6
+#
7
+# This makefile implements configuration specific macros and targets.
8
+
9
+
10
+# Environment
11
+MKDIR=mkdir
12
+CP=cp
13
+GREP=grep
14
+NM=nm
15
+CCADMIN=CCadmin
16
+RANLIB=ranlib
17
+CC=gcc
18
+CCC=g++
19
+CXX=g++
20
+FC=gfortran
21
+AS=as
22
+
23
+# Macros
24
+CND_PLATFORM=GNU-Linux
25
+CND_DLIB_EXT=so
26
+CND_CONF=Debug__RPI_
27
+CND_DISTDIR=dist
28
+CND_BUILDDIR=build
29
+
30
+# Include project Makefile
31
+include Makefile
32
+
33
+# Object Directory
34
+OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
35
+
36
+# Object Files
37
+OBJECTFILES= \
38
+	${OBJECTDIR}/_ext/a59f760b/image.o \
39
+	${OBJECTDIR}/_ext/a59f760b/message.o \
40
+	${OBJECTDIR}/_ext/a59f760b/monitor.o \
41
+	${OBJECTDIR}/_ext/a59f760b/robot.o \
42
+	${OBJECTDIR}/_ext/a59f760b/server.o \
43
+	${OBJECTDIR}/src/functions.o \
44
+	${OBJECTDIR}/src/main.o
45
+
46
+
47
+# C Compiler Flags
48
+CFLAGS=
49
+
50
+# CC Compiler Flags
51
+CCFLAGS=
52
+CXXFLAGS=
53
+
54
+# Fortran Compiler Flags
55
+FFLAGS=
56
+
57
+# Assembler Flags
58
+ASFLAGS=
59
+
60
+# Link Libraries and Options
61
+LDLIBSOPTIONS=
62
+
63
+# Build Targets
64
+.build-conf: ${BUILD_SUBPROJECTS}
65
+	"${MAKE}"  -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur
66
+
67
+${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur: ${OBJECTFILES}
68
+	${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
69
+	${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur ${OBJECTFILES} ${LDLIBSOPTIONS}
70
+
71
+${OBJECTDIR}/_ext/a59f760b/image.o: ../lib/src/image.cpp
72
+	${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
73
+	${RM} "$@.d"
74
+	$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/image.o ../lib/src/image.cpp
75
+
76
+${OBJECTDIR}/_ext/a59f760b/message.o: ../lib/src/message.cpp
77
+	${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
78
+	${RM} "$@.d"
79
+	$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/message.o ../lib/src/message.cpp
80
+
81
+${OBJECTDIR}/_ext/a59f760b/monitor.o: ../lib/src/monitor.cpp
82
+	${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
83
+	${RM} "$@.d"
84
+	$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/monitor.o ../lib/src/monitor.cpp
85
+
86
+${OBJECTDIR}/_ext/a59f760b/robot.o: ../lib/src/robot.cpp
87
+	${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
88
+	${RM} "$@.d"
89
+	$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/robot.o ../lib/src/robot.cpp
90
+
91
+${OBJECTDIR}/_ext/a59f760b/server.o: ../lib/src/server.cpp
92
+	${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
93
+	${RM} "$@.d"
94
+	$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/server.o ../lib/src/server.cpp
95
+
96
+${OBJECTDIR}/src/functions.o: src/functions.cpp
97
+	${MKDIR} -p ${OBJECTDIR}/src
98
+	${RM} "$@.d"
99
+	$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/functions.o src/functions.cpp
100
+
101
+${OBJECTDIR}/src/main.o: src/main.cpp
102
+	${MKDIR} -p ${OBJECTDIR}/src
103
+	${RM} "$@.d"
104
+	$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/main.o src/main.cpp
105
+
106
+# Subprojects
107
+.build-subprojects:
108
+
109
+# Clean Targets
110
+.clean-conf: ${CLEAN_SUBPROJECTS}
111
+	${RM} -r ${CND_BUILDDIR}/${CND_CONF}
112
+
113
+# Subprojects
114
+.clean-subprojects:
115
+
116
+# Enable dependency checking
117
+.dep.inc: .depcheck-impl
118
+
119
+include .dep.inc

+ 1
- 1
software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-impl.mk View File

@@ -31,7 +31,7 @@ DEFAULTCONF=Debug
31 31
 CONF=${DEFAULTCONF}
32 32
 
33 33
 # All Configurations
34
-ALLCONFS=Debug Release 
34
+ALLCONFS=Debug Release Debug__RPI_ 
35 35
 
36 36
 
37 37
 # build

+ 8
- 0
software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-variables.mk View File

@@ -22,6 +22,14 @@ CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux/superviseur
22 22
 CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux/package
23 23
 CND_PACKAGE_NAME_Release=superviseur.tar
24 24
 CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux/package/superviseur.tar
25
+# Debug__RPI_ configuration
26
+CND_PLATFORM_Debug__RPI_=GNU-Linux
27
+CND_ARTIFACT_DIR_Debug__RPI_=dist/Debug__RPI_/GNU-Linux
28
+CND_ARTIFACT_NAME_Debug__RPI_=superviseur
29
+CND_ARTIFACT_PATH_Debug__RPI_=dist/Debug__RPI_/GNU-Linux/superviseur
30
+CND_PACKAGE_DIR_Debug__RPI_=dist/Debug__RPI_/GNU-Linux/package
31
+CND_PACKAGE_NAME_Debug__RPI_=superviseur.tar
32
+CND_PACKAGE_PATH_Debug__RPI_=dist/Debug__RPI_/GNU-Linux/package/superviseur.tar
25 33
 #
26 34
 # include compiler specific variables
27 35
 #

+ 76
- 0
software/raspberry/superviseur-robot/superviseur/nbproject/Package-Debug__RPI_.bash View File

@@ -0,0 +1,76 @@
1
+#!/bin/bash -x
2
+
3
+#
4
+# Generated - do not edit!
5
+#
6
+
7
+# Macros
8
+TOP=`pwd`
9
+CND_PLATFORM=GNU-Linux
10
+CND_CONF=Debug__RPI_
11
+CND_DISTDIR=dist
12
+CND_BUILDDIR=build
13
+CND_DLIB_EXT=so
14
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
15
+TMPDIRNAME=tmp-packaging
16
+OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur
17
+OUTPUT_BASENAME=superviseur
18
+PACKAGE_TOP_DIR=superviseur/
19
+
20
+# Functions
21
+function checkReturnCode
22
+{
23
+    rc=$?
24
+    if [ $rc != 0 ]
25
+    then
26
+        exit $rc
27
+    fi
28
+}
29
+function makeDirectory
30
+# $1 directory path
31
+# $2 permission (optional)
32
+{
33
+    mkdir -p "$1"
34
+    checkReturnCode
35
+    if [ "$2" != "" ]
36
+    then
37
+      chmod $2 "$1"
38
+      checkReturnCode
39
+    fi
40
+}
41
+function copyFileToTmpDir
42
+# $1 from-file path
43
+# $2 to-file path
44
+# $3 permission
45
+{
46
+    cp "$1" "$2"
47
+    checkReturnCode
48
+    if [ "$3" != "" ]
49
+    then
50
+        chmod $3 "$2"
51
+        checkReturnCode
52
+    fi
53
+}
54
+
55
+# Setup
56
+cd "${TOP}"
57
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
58
+rm -rf ${NBTMPDIR}
59
+mkdir -p ${NBTMPDIR}
60
+
61
+# Copy files and create directories and links
62
+cd "${TOP}"
63
+makeDirectory "${NBTMPDIR}/superviseur/bin"
64
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
65
+
66
+
67
+# Generate tar file
68
+cd "${TOP}"
69
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/superviseur.tar
70
+cd ${NBTMPDIR}
71
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/superviseur.tar *
72
+checkReturnCode
73
+
74
+# Cleanup
75
+cd "${TOP}"
76
+rm -rf ${NBTMPDIR}

+ 37
- 0
software/raspberry/superviseur-robot/superviseur/nbproject/configurations.xml View File

@@ -152,5 +152,42 @@
152 152
       <item path="gdbsudo.sh" ex="false" tool="3" flavor2="0">
153 153
       </item>
154 154
     </conf>
155
+    <conf name="Debug__RPI_" type="1">
156
+      <toolsSet>
157
+        <compilerSet>GNU|GNU</compilerSet>
158
+        <dependencyChecking>true</dependencyChecking>
159
+        <rebuildPropChanged>false</rebuildPropChanged>
160
+      </toolsSet>
161
+      <compileType>
162
+      </compileType>
163
+      <item path="../lib/image.h" ex="false" tool="3" flavor2="0">
164
+      </item>
165
+      <item path="../lib/message.h" ex="false" tool="3" flavor2="0">
166
+      </item>
167
+      <item path="../lib/monitor.h" ex="false" tool="3" flavor2="0">
168
+      </item>
169
+      <item path="../lib/robot.h" ex="false" tool="3" flavor2="0">
170
+      </item>
171
+      <item path="../lib/server.h" ex="false" tool="3" flavor2="0">
172
+      </item>
173
+      <item path="../lib/src/image.cpp" ex="false" tool="1" flavor2="0">
174
+      </item>
175
+      <item path="../lib/src/message.cpp" ex="false" tool="1" flavor2="0">
176
+      </item>
177
+      <item path="../lib/src/monitor.cpp" ex="false" tool="1" flavor2="0">
178
+      </item>
179
+      <item path="../lib/src/robot.cpp" ex="false" tool="1" flavor2="0">
180
+      </item>
181
+      <item path="../lib/src/server.cpp" ex="false" tool="1" flavor2="0">
182
+      </item>
183
+      <item path="./src/functions.cpp" ex="false" tool="1" flavor2="0">
184
+      </item>
185
+      <item path="./src/functions.h" ex="false" tool="3" flavor2="0">
186
+      </item>
187
+      <item path="./src/main.cpp" ex="false" tool="1" flavor2="0">
188
+      </item>
189
+      <item path="gdbsudo.sh" ex="false" tool="3" flavor2="0">
190
+      </item>
191
+    </conf>
155 192
   </confs>
156 193
 </configurationDescriptor>

+ 1
- 0
software/raspberry/superviseur-robot/superviseur/nbproject/private/Makefile-variables.mk View File

@@ -5,3 +5,4 @@
5 5
 #
6 6
 # Debug configuration
7 7
 # Release configuration
8
+# Debug__RPI_ configuration

+ 33
- 2
software/raspberry/superviseur-robot/superviseur/nbproject/private/configurations.xml View File

@@ -13,8 +13,6 @@
13 13
         <gdb_interceptlist>
14 14
           <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
15 15
         </gdb_interceptlist>
16
-        <gdb_signals>
17
-        </gdb_signals>
18 16
         <gdb_options>
19 17
           <DebugOptions>
20 18
           </DebugOptions>
@@ -74,5 +72,38 @@
74 72
         </environment>
75 73
       </runprofile>
76 74
     </conf>
75
+    <conf name="Debug__RPI_" type="1">
76
+      <toolsSet>
77
+        <developmentServer>pi@10.105.1.13:22</developmentServer>
78
+        <platform>2</platform>
79
+      </toolsSet>
80
+      <dbx_gdbdebugger version="1">
81
+        <gdb_pathmaps>
82
+        </gdb_pathmaps>
83
+        <gdb_interceptlist>
84
+          <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
85
+        </gdb_interceptlist>
86
+        <gdb_options>
87
+          <DebugOptions>
88
+          </DebugOptions>
89
+        </gdb_options>
90
+        <gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
91
+      </dbx_gdbdebugger>
92
+      <nativedebugger version="1">
93
+        <engine>gdb</engine>
94
+      </nativedebugger>
95
+      <runprofile version="9">
96
+        <runcommandpicklist>
97
+          <runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
98
+        </runcommandpicklist>
99
+        <runcommand>"${OUTPUT_PATH}"</runcommand>
100
+        <rundir></rundir>
101
+        <buildfirst>true</buildfirst>
102
+        <terminal-type>0</terminal-type>
103
+        <remove-instrumentation>0</remove-instrumentation>
104
+        <environment>
105
+        </environment>
106
+      </runprofile>
107
+    </conf>
77 108
   </confs>
78 109
 </configurationDescriptor>

+ 1
- 3
software/raspberry/superviseur-robot/superviseur/nbproject/private/private.xml View File

@@ -6,8 +6,6 @@
6 6
     </data>
7 7
     <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
8 8
     <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
9
-        <group>
10
-            <file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/image.h</file>
11
-        </group>
9
+        <group/>
12 10
     </open-files>
13 11
 </project-private>

+ 4
- 0
software/raspberry/superviseur-robot/superviseur/nbproject/project.xml View File

@@ -19,6 +19,10 @@
19 19
                     <name>Release</name>
20 20
                     <type>1</type>
21 21
                 </confElem>
22
+                <confElem>
23
+                    <name>Debug__RPI_</name>
24
+                    <type>1</type>
25
+                </confElem>
22 26
             </confList>
23 27
             <formatting>
24 28
                 <project-formatting-style>false</project-formatting-style>

+ 10
- 9
software/raspberry/testeur/testeur/main.cpp View File

@@ -50,8 +50,7 @@ bool sendPos = false;
50 50
 
51 51
 Image monImage;
52 52
 Jpg imageCompressed;
53
-
54
-pthread_t thread;
53
+Camera cam;
55 54
 
56 55
 typedef struct {
57 56
     char header[4];
@@ -193,17 +192,19 @@ int decodeMessage(MessageFromMon *mes, int dataLength) {
193 192
 
194 193
 int main(int argc, char** argv) {
195 194
 
196
-    namedWindow("Sortie Camera");
197
-
198 195
     // Ouverture de la com robot
199
-    /*if (open_communication_robot("/dev/ttyUSB0") != 0) {
196
+#ifdef __FOR_PC__
197
+    if (open_communication_robot("/dev/ttyUSB0") != 0) {
198
+#else
199
+    if (open_communication_robot("/dev/ttyS0") != 0) {
200
+#endif /*__FOR_PC__ */
200 201
         cerr << "Unable to open /dev/ttyUSB0: abort\n";
201 202
         return -1;
202 203
     }
203
-    cout << "/dev/ttyUSB0 opened\n";
204
-     */
204
+    cout << "Com port opened\n";
205
+     
205 206
     // Ouverture de la camera
206
-    if (open_camera(0) == -1) {
207
+    if (open_camera(&cam) == -1) {
207 208
         cerr << "Unable to open camera: abort\n";
208 209
         return -1;
209 210
     }
@@ -226,7 +227,7 @@ int main(int argc, char** argv) {
226 227
         while (disconnected == false) {
227 228
 
228 229
             // Recuperation de l'image
229
-            get_image(0, &monImage, "");
230
+            get_image(&cam, &monImage, "");
230 231
 
231 232
             if (dataReady == true) // des données ont été recu par le serveur
232 233
             {

+ 107
- 0
software/raspberry/testeur/testeur/nbproject/Makefile-Debug-rpi.mk View File

@@ -0,0 +1,107 @@
1
+#
2
+# Generated Makefile - do not edit!
3
+#
4
+# Edit the Makefile in the project folder instead (../Makefile). Each target
5
+# has a -pre and a -post target defined where you can add customized code.
6
+#
7
+# This makefile implements configuration specific macros and targets.
8
+
9
+
10
+# Environment
11
+MKDIR=mkdir
12
+CP=cp
13
+GREP=grep
14
+NM=nm
15
+CCADMIN=CCadmin
16
+RANLIB=ranlib
17
+CC=gcc
18
+CCC=g++
19
+CXX=g++
20
+FC=gfortran
21
+AS=as
22
+
23
+# Macros
24
+CND_PLATFORM=GNU-Linux
25
+CND_DLIB_EXT=so
26
+CND_CONF=Debug-rpi
27
+CND_DISTDIR=dist
28
+CND_BUILDDIR=build
29
+
30
+# Include project Makefile
31
+include Makefile
32
+
33
+# Object Directory
34
+OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
35
+
36
+# Object Files
37
+OBJECTFILES= \
38
+	${OBJECTDIR}/_ext/e4d40e25/image.o \
39
+	${OBJECTDIR}/_ext/e4d40e25/message.o \
40
+	${OBJECTDIR}/_ext/e4d40e25/robot.o \
41
+	${OBJECTDIR}/_ext/e4d40e25/server.o \
42
+	${OBJECTDIR}/main.o
43
+
44
+
45
+# C Compiler Flags
46
+CFLAGS=
47
+
48
+# CC Compiler Flags
49
+CCFLAGS=
50
+CXXFLAGS=
51
+
52
+# Fortran Compiler Flags
53
+FFLAGS=
54
+
55
+# Assembler Flags
56
+ASFLAGS=
57
+
58
+# Link Libraries and Options
59
+LDLIBSOPTIONS=-L/usr/local/lib `pkg-config --libs opencv` -lpthread  -lraspicam -lraspicam_cv  
60
+
61
+# Build Targets
62
+.build-conf: ${BUILD_SUBPROJECTS}
63
+	"${MAKE}"  -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur
64
+
65
+${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur: ${OBJECTFILES}
66
+	${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
67
+	${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur ${OBJECTFILES} ${LDLIBSOPTIONS}
68
+
69
+${OBJECTDIR}/_ext/e4d40e25/image.o: ../../superviseur-robot/lib/src/image.cpp
70
+	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
71
+	${RM} "$@.d"
72
+	$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11  -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/image.o ../../superviseur-robot/lib/src/image.cpp
73
+
74
+${OBJECTDIR}/_ext/e4d40e25/message.o: ../../superviseur-robot/lib/src/message.cpp
75
+	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
76
+	${RM} "$@.d"
77
+	$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11  -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/message.o ../../superviseur-robot/lib/src/message.cpp
78
+
79
+${OBJECTDIR}/_ext/e4d40e25/robot.o: ../../superviseur-robot/lib/src/robot.cpp
80
+	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
81
+	${RM} "$@.d"
82
+	$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11  -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/robot.o ../../superviseur-robot/lib/src/robot.cpp
83
+
84
+${OBJECTDIR}/_ext/e4d40e25/server.o: ../../superviseur-robot/lib/src/server.cpp
85
+	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
86
+	${RM} "$@.d"
87
+	$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11  -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/server.o ../../superviseur-robot/lib/src/server.cpp
88
+
89
+${OBJECTDIR}/main.o: main.cpp
90
+	${MKDIR} -p ${OBJECTDIR}
91
+	${RM} "$@.d"
92
+	$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11  -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
93
+
94
+# Subprojects
95
+.build-subprojects:
96
+
97
+# Clean Targets
98
+.clean-conf: ${CLEAN_SUBPROJECTS}
99
+	${RM} -r ${CND_BUILDDIR}/${CND_CONF}
100
+
101
+# Subprojects
102
+.clean-subprojects:
103
+
104
+# Enable dependency checking
105
+.dep.inc: .depcheck-impl
106
+
107
+include .dep.inc

+ 5
- 5
software/raspberry/testeur/testeur/nbproject/Makefile-Debug.mk View File

@@ -69,27 +69,27 @@ ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur: ${OBJECTFILES}
69 69
 ${OBJECTDIR}/_ext/e4d40e25/image.o: ../../superviseur-robot/lib/src/image.cpp
70 70
 	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
71 71
 	${RM} "$@.d"
72
-	$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/image.o ../../superviseur-robot/lib/src/image.cpp
72
+	$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/image.o ../../superviseur-robot/lib/src/image.cpp
73 73
 
74 74
 ${OBJECTDIR}/_ext/e4d40e25/message.o: ../../superviseur-robot/lib/src/message.cpp
75 75
 	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
76 76
 	${RM} "$@.d"
77
-	$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/message.o ../../superviseur-robot/lib/src/message.cpp
77
+	$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/message.o ../../superviseur-robot/lib/src/message.cpp
78 78
 
79 79
 ${OBJECTDIR}/_ext/e4d40e25/robot.o: ../../superviseur-robot/lib/src/robot.cpp
80 80
 	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
81 81
 	${RM} "$@.d"
82
-	$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/robot.o ../../superviseur-robot/lib/src/robot.cpp
82
+	$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/robot.o ../../superviseur-robot/lib/src/robot.cpp
83 83
 
84 84
 ${OBJECTDIR}/_ext/e4d40e25/server.o: ../../superviseur-robot/lib/src/server.cpp
85 85
 	${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
86 86
 	${RM} "$@.d"
87
-	$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/server.o ../../superviseur-robot/lib/src/server.cpp
87
+	$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/server.o ../../superviseur-robot/lib/src/server.cpp
88 88
 
89 89
 ${OBJECTDIR}/main.o: main.cpp
90 90
 	${MKDIR} -p ${OBJECTDIR}
91 91
 	${RM} "$@.d"
92
-	$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
92
+	$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv`   -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
93 93
 
94 94
 # Subprojects
95 95
 .build-subprojects:

+ 1
- 1
software/raspberry/testeur/testeur/nbproject/Makefile-impl.mk View File

@@ -31,7 +31,7 @@ DEFAULTCONF=Debug
31 31
 CONF=${DEFAULTCONF}
32 32
 
33 33
 # All Configurations
34
-ALLCONFS=Debug Release 
34
+ALLCONFS=Debug Release Debug-rpi 
35 35
 
36 36
 
37 37
 # build

+ 8
- 0
software/raspberry/testeur/testeur/nbproject/Makefile-variables.mk View File

@@ -22,6 +22,14 @@ CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux/testeur
22 22
 CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux/package
23 23
 CND_PACKAGE_NAME_Release=testeur.tar
24 24
 CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux/package/testeur.tar
25
+# Debug-rpi configuration
26
+CND_PLATFORM_Debug-rpi=GNU-Linux
27
+CND_ARTIFACT_DIR_Debug-rpi=dist/Debug-rpi/GNU-Linux
28
+CND_ARTIFACT_NAME_Debug-rpi=testeur
29
+CND_ARTIFACT_PATH_Debug-rpi=dist/Debug-rpi/GNU-Linux/testeur
30
+CND_PACKAGE_DIR_Debug-rpi=dist/Debug-rpi/GNU-Linux/package
31
+CND_PACKAGE_NAME_Debug-rpi=testeur.tar
32
+CND_PACKAGE_PATH_Debug-rpi=dist/Debug-rpi/GNU-Linux/package/testeur.tar
25 33
 #
26 34
 # include compiler specific variables
27 35
 #

+ 76
- 0
software/raspberry/testeur/testeur/nbproject/Package-Debug-rpi.bash View File

@@ -0,0 +1,76 @@
1
+#!/bin/bash -x
2
+
3
+#
4
+# Generated - do not edit!
5
+#
6
+
7
+# Macros
8
+TOP=`pwd`
9
+CND_PLATFORM=GNU-Linux
10
+CND_CONF=Debug-rpi
11
+CND_DISTDIR=dist
12
+CND_BUILDDIR=build
13
+CND_DLIB_EXT=so
14
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
15
+TMPDIRNAME=tmp-packaging
16
+OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur
17
+OUTPUT_BASENAME=testeur
18
+PACKAGE_TOP_DIR=testeur/
19
+
20
+# Functions
21
+function checkReturnCode
22
+{
23
+    rc=$?
24
+    if [ $rc != 0 ]
25
+    then
26
+        exit $rc
27
+    fi
28
+}
29
+function makeDirectory
30
+# $1 directory path
31
+# $2 permission (optional)
32
+{
33
+    mkdir -p "$1"
34
+    checkReturnCode
35
+    if [ "$2" != "" ]
36
+    then
37
+      chmod $2 "$1"
38
+      checkReturnCode
39
+    fi
40
+}
41
+function copyFileToTmpDir
42
+# $1 from-file path
43
+# $2 to-file path
44
+# $3 permission
45
+{
46
+    cp "$1" "$2"
47
+    checkReturnCode
48
+    if [ "$3" != "" ]
49
+    then
50
+        chmod $3 "$2"
51
+        checkReturnCode
52
+    fi
53
+}
54
+
55
+# Setup
56
+cd "${TOP}"
57
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
58
+rm -rf ${NBTMPDIR}
59
+mkdir -p ${NBTMPDIR}
60
+
61
+# Copy files and create directories and links
62
+cd "${TOP}"
63
+makeDirectory "${NBTMPDIR}/testeur/bin"
64
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
65
+
66
+
67
+# Generate tar file
68
+cd "${TOP}"
69
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/testeur.tar
70
+cd ${NBTMPDIR}
71
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/testeur.tar *
72
+checkReturnCode
73
+
74
+# Cleanup
75
+cd "${TOP}"
76
+rm -rf ${NBTMPDIR}

+ 95
- 0
software/raspberry/testeur/testeur/nbproject/configurations.xml View File

@@ -4,6 +4,7 @@
4 4
     <logicalFolder name="HeaderFiles"
5 5
                    displayName="Header Files"
6 6
                    projectFiles="true">
7
+      <itemPath>../../superviseur-robot/lib/definitions.h</itemPath>
7 8
       <itemPath>../../superviseur-robot/lib/image.h</itemPath>
8 9
       <itemPath>../../superviseur-robot/lib/message.h</itemPath>
9 10
       <itemPath>../../superviseur-robot/lib/robot.h</itemPath>
@@ -70,6 +71,11 @@
70 71
           </linkerLibItems>
71 72
         </linkerTool>
72 73
       </compileType>
74
+      <item path="../../superviseur-robot/lib/definitions.h"
75
+            ex="false"
76
+            tool="3"
77
+            flavor2="0">
78
+      </item>
73 79
       <item path="../../superviseur-robot/lib/image.h"
74 80
             ex="false"
75 81
             tool="3"
@@ -133,6 +139,11 @@
133 139
           <developmentMode>5</developmentMode>
134 140
         </asmTool>
135 141
       </compileType>
142
+      <item path="../../superviseur-robot/lib/definitions.h"
143
+            ex="false"
144
+            tool="3"
145
+            flavor2="0">
146
+      </item>
136 147
       <item path="../../superviseur-robot/lib/image.h"
137 148
             ex="false"
138 149
             tool="3"
@@ -176,5 +187,89 @@
176 187
       <item path="main.cpp" ex="false" tool="1" flavor2="0">
177 188
       </item>
178 189
     </conf>
190
+    <conf name="Debug-rpi" type="1">
191
+      <toolsSet>
192
+        <compilerSet>GNU|GNU</compilerSet>
193
+        <dependencyChecking>true</dependencyChecking>
194
+        <rebuildPropChanged>false</rebuildPropChanged>
195
+      </toolsSet>
196
+      <compileType>
197
+        <cTool>
198
+          <incDir>
199
+            <pElem>../../superviseur-robot/lib</pElem>
200
+          </incDir>
201
+          <preprocessorList>
202
+            <Elem>__FOR_PC__</Elem>
203
+          </preprocessorList>
204
+        </cTool>
205
+        <ccTool>
206
+          <standard>8</standard>
207
+          <incDir>
208
+            <pElem>../../superviseur-robot/lib</pElem>
209
+          </incDir>
210
+          <preprocessorList>
211
+            <Elem>D_REENTRANT</Elem>
212
+          </preprocessorList>
213
+        </ccTool>
214
+        <linkerTool>
215
+          <linkerAddLib>
216
+            <pElem>/usr/local/lib</pElem>
217
+          </linkerAddLib>
218
+          <linkerLibItems>
219
+            <linkerOptionItem>`pkg-config --libs opencv`</linkerOptionItem>
220
+            <linkerLibStdlibItem>PosixThreads</linkerLibStdlibItem>
221
+            <linkerLibLibItem>raspicam</linkerLibLibItem>
222
+            <linkerLibLibItem>raspicam_cv</linkerLibLibItem>
223
+          </linkerLibItems>
224
+        </linkerTool>
225
+      </compileType>
226
+      <item path="../../superviseur-robot/lib/definitions.h"
227
+            ex="false"
228
+            tool="3"
229
+            flavor2="0">
230
+      </item>
231
+      <item path="../../superviseur-robot/lib/image.h"
232
+            ex="false"
233
+            tool="3"
234
+            flavor2="0">
235
+      </item>
236
+      <item path="../../superviseur-robot/lib/message.h"
237
+            ex="false"
238
+            tool="3"
239
+            flavor2="0">
240
+      </item>
241
+      <item path="../../superviseur-robot/lib/robot.h"
242
+            ex="false"
243
+            tool="3"
244
+            flavor2="0">
245
+      </item>
246
+      <item path="../../superviseur-robot/lib/server.h"
247
+            ex="false"
248
+            tool="3"
249
+            flavor2="0">
250
+      </item>
251
+      <item path="../../superviseur-robot/lib/src/image.cpp"
252
+            ex="false"
253
+            tool="1"
254
+            flavor2="8">
255
+      </item>
256
+      <item path="../../superviseur-robot/lib/src/message.cpp"
257
+            ex="false"
258
+            tool="1"
259
+            flavor2="8">
260
+      </item>
261
+      <item path="../../superviseur-robot/lib/src/robot.cpp"
262
+            ex="false"
263
+            tool="1"
264
+            flavor2="8">
265
+      </item>
266
+      <item path="../../superviseur-robot/lib/src/server.cpp"
267
+            ex="false"
268
+            tool="1"
269
+            flavor2="8">
270
+      </item>
271
+      <item path="main.cpp" ex="false" tool="1" flavor2="8">
272
+      </item>
273
+    </conf>
179 274
   </confs>
180 275
 </configurationDescriptor>

+ 1
- 0
software/raspberry/testeur/testeur/nbproject/private/Makefile-variables.mk View File

@@ -5,3 +5,4 @@
5 5
 #
6 6
 # Debug configuration
7 7
 # Release configuration
8
+# Debug-rpi configuration

+ 35
- 2
software/raspberry/testeur/testeur/nbproject/private/configurations.xml View File

@@ -13,8 +13,6 @@
13 13
         <gdb_interceptlist>
14 14
           <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
15 15
         </gdb_interceptlist>
16
-        <gdb_signals>
17
-        </gdb_signals>
18 16
         <gdb_options>
19 17
           <DebugOptions>
20 18
           </DebugOptions>
@@ -70,5 +68,40 @@
70 68
         </environment>
71 69
       </runprofile>
72 70
     </conf>
71
+    <conf name="Debug-rpi" type="1">
72
+      <toolsSet>
73
+        <developmentServer>pi@10.105.1.13:22</developmentServer>
74
+        <platform>2</platform>
75
+      </toolsSet>
76
+      <dbx_gdbdebugger version="1">
77
+        <gdb_pathmaps>
78
+        </gdb_pathmaps>
79
+        <gdb_interceptlist>
80
+          <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
81
+        </gdb_interceptlist>
82
+        <gdb_signals>
83
+        </gdb_signals>
84
+        <gdb_options>
85
+          <DebugOptions>
86
+          </DebugOptions>
87
+        </gdb_options>
88
+        <gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
89
+      </dbx_gdbdebugger>
90
+      <nativedebugger version="1">
91
+        <engine>gdb</engine>
92
+      </nativedebugger>
93
+      <runprofile version="9">
94
+        <runcommandpicklist>
95
+          <runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
96
+        </runcommandpicklist>
97
+        <runcommand>"${OUTPUT_PATH}"</runcommand>
98
+        <rundir></rundir>
99
+        <buildfirst>true</buildfirst>
100
+        <terminal-type>0</terminal-type>
101
+        <remove-instrumentation>0</remove-instrumentation>
102
+        <environment>
103
+        </environment>
104
+      </runprofile>
105
+    </conf>
73 106
   </confs>
74 107
 </configurationDescriptor>

+ 0
- 0
software/raspberry/testeur/testeur/nbproject/private/downloads-10.105.1.13-pi-22 View File


+ 1
- 2
software/raspberry/testeur/testeur/nbproject/private/private.xml View File

@@ -2,13 +2,12 @@
2 2
 <project-private xmlns="http://www.netbeans.org/ns/project-private/1">
3 3
     <data xmlns="http://www.netbeans.org/ns/make-project-private/1">
4 4
         <activeConfTypeElem>1</activeConfTypeElem>
5
-        <activeConfIndexElem>0</activeConfIndexElem>
5
+        <activeConfIndexElem>2</activeConfIndexElem>
6 6
     </data>
7 7
     <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
8 8
     <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
9 9
         <group>
10 10
             <file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/image.h</file>
11
-            <file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/server.cpp</file>
12 11
             <file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/image.cpp</file>
13 12
             <file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/robot.cpp</file>
14 13
             <file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/main.cpp</file>

+ 26
- 0
software/raspberry/testeur/testeur/nbproject/private/timestamps-10.105.1.13-pi-22 View File

@@ -0,0 +1,26 @@
1
+#Mon Nov 12 09:47:39 CET 2018
2
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/robot.h=c1541685829000
3
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/project.xml=c1541775358000
4
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-impl.mk=c1541775357000
5
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/robot.cpp=c1541685829000
6
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/image.h=c1541685829000
7
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/main.cpp=c1541778496000
8
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/server.cpp=c1541685829000
9
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-Release.mk=c1541685829000
10
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/message.cpp=c1541685829000
11
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Package-Debug.bash=c1541685829000
12
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/.gitignore=c1541685829000
13
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-variables.mk=c1541775358000
14
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/private/Makefile-variables.mk=c1541775358000
15
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/Makefile=c1541685829000
16
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-Debug-rpi.mk=c1541776257000
17
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-Debug.mk=c1541775193000
18
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/message.h=c1541685829000
19
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/image.cpp=c1541778370000
20
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Package-Release.bash=c1541685829000
21
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/.dep.inc=c1541685829000
22
+VERSION=1.3
23
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/server.h=c1541685829000
24
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/definitions.h=c1541685829000
25
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Package-Debug-rpi.bash=c1541775358000
26
+/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/monitor.cpp=c1541685829000

+ 4
- 0
software/raspberry/testeur/testeur/nbproject/project.xml View File

@@ -21,6 +21,10 @@
21 21
                     <name>Release</name>
22 22
                     <type>1</type>
23 23
                 </confElem>
24
+                <confElem>
25
+                    <name>Debug-rpi</name>
26
+                    <type>1</type>
27
+                </confElem>
24 28
             </confList>
25 29
             <formatting>
26 30
                 <project-formatting-style>false</project-formatting-style>

Loading…
Cancel
Save