RoveComm C++ 3.0.0
Welcome to the RoveComm C++ repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of RoveComm C++. The RoveComm C++ project is the RoveComm interface for high level systems and should not be used for microcontrollers.
Loading...
Searching...
No Matches
RoveCommManifest.h
Go to the documentation of this file.
1
14
15#ifndef MANIFEST_H
16#define MANIFEST_H
17
18#include <algorithm>
19#include <charconv>
20#include <stdexcept>
21#include <stdint.h>
22#include <string>
23#include <vector>
24
25namespace manifest
26{
27
45
46
52 template<typename T>
53 concept RoveCommType =
54 std::same_as<T, int8_t> || std::same_as<T, uint8_t> || std::same_as<T, int16_t> || std::same_as<T, uint16_t> || std::same_as<T, int32_t> || std::same_as<T, uint32_t> || std::same_as<T, float> || std::same_as<T, double> || std::same_as<T, char>;
55
56
63 {
64 public:
69
70 constexpr AddressEntry() noexcept = default;
71
72 constexpr AddressEntry(int first, int second, int third, int fourth) noexcept :
73 FIRST_OCTET(first), SECOND_OCTET(second), THIRD_OCTET(third), FOURTH_OCTET(fourth)
74 {}
75
76 template<std::convertible_to<std::string_view> T>
78 {
79 std::string_view svIP{tIP};
80 size_t pos1 = svIP.find('.');
81 size_t pos2 = svIP.find('.', pos1 + 1);
82 size_t pos3 = svIP.find('.', pos2 + 1);
83 std::from_chars(svIP.data(), svIP.data() + pos1, FIRST_OCTET);
84 std::from_chars(svIP.data() + pos1 + 1, svIP.data() + pos2, SECOND_OCTET);
85 std::from_chars(svIP.data() + pos2 + 1, svIP.data() + pos3, THIRD_OCTET);
86 std::from_chars(svIP.data() + pos3 + 1, svIP.data() + svIP.size(), FOURTH_OCTET);
87 }
88
89 // clang-format off
90 constexpr auto operator<=> (const AddressEntry&) const = default;
91 // clang-format on
92
93 std::string IP_STR() const
94 {
95 return std::to_string(FIRST_OCTET) + "." + std::to_string(SECOND_OCTET) + "." + std::to_string(THIRD_OCTET) + "." + std::to_string(FOURTH_OCTET);
96 }
97 };
98
99
106 {
107 public:
111 };
112
113
119 enum class BoardID
120 {
121 CORE = 3,
122 PMS = 4,
123 NAV = 6,
125 ARM = 8,
126 AUGER = 9,
131 RAMAN = 16,
134 };
135
136
143 {
144 public:
147 std::vector<ManifestEntry> COMMANDS, TELEMETRY, ERRORS;
148 };
149
150
156 namespace Core
157 {
158 // IP Address
159 constexpr AddressEntry IP_ADDRESS{192, 168, 2, 110};
160
161 // Commands
162 namespace Commands
163 {
164 // [LeftSpeed, RightSpeed] (-1 - 1) -> (-100% - 100%)
166 // [LF, LM, LR, RF, RM, RR] (-1 - 1) -> (-100% - 100%)
168 // [Enabled]
170 // [Pan, Tilt] (0 - 180)
172 // [Pan, Tilt] (0 - 180)
174 // [Pan, Tilt] (0 - 180)
176 // [R, G, B] (brightness 0 - 255)
178 // [Color] (RGBA)
180 // [R, G, B] (brightness 0 - 255)
182 // [Color] (RGBA)
184 // [State] (DisplayState)
186 // [Brightness] (0 - 255)
188 // [Mode] (0: Teleop 1: Autonomy)
190 // [Message] (null terminated string)
191 constexpr ManifestEntry LEDTEXT{3013, 256, DataTypes::CHAR};
192 }
193
194 // Telemetry
195 namespace Telemetry
196 {
197 // [FL, ML, BL, FR, MR, BR] (-1 - 1) -> (-100% - 100%)
199 // [FL, ML, BL, FR, MR, BR] (A)
201 // [FL, ML, BL, FR, MR, BR] (A battery side)
203 // [Roll, Pitch] (deg)
205 // [X, Y, Z] (m/s2)
207 // [FanSpeed, BoardTemperature, OtherTemperature] (rpm, C, C)
209 }
210
211 // Error
212 namespace Errors
213 {
214 // [MotorID, FaultCode]
216 }
217
218 // Enums
228
229 enum class DISPLAYSTATE
230 {
234 };
235
267
268 } // namespace Core
269
270
276 namespace PMS
277 {
278 // IP Address
279 constexpr AddressEntry IP_ADDRESS{192, 168, 2, 102};
280
281 // Commands
282 namespace Commands
283 {
284 // Power off all systems except network (PMS will stay on)
286 // Power off all systems including network, cannot recover without physical reboot (PMS will stay on)
288 // Cycle all systems including network off and back on (PMS will stay on)
290 // [Motor, Core, Aux] (bitmask enable)
292 // [Motor, Core, Aux] (bitmask disable)
294 // [Motor, Core, Aux] (bitmask enabled)
296 }
297
298 // Telemetry
299 namespace Telemetry
300 {
301 // [PackCurrent, AuxCurrent, LowCurrent, NetworkCurrent, RadioM2Current, RadioM9Current, Cell1Voltage, Cell2Voltage, Cell3Voltage, Cell4Voltage, Cell5Voltage, Cell6Voltage] (A, A, A, A, A, A, V, V, V, V, V, V)
303 // [Motor, Core, Aux, RadioM2, RadioM9, Network] (bitmask enabled)
305 }
306
307 // Error
308 namespace Errors
309 {
310 // Higher current draw than the battery can support. Rover will Reboot automatically
312 // [C1, C2, C3, C4, C5, C6] (bitmask undervolt) Rover will EStop automatically
314 // [C1, C2, C3, C4, C5, C6] (bitmask critical) Rover will Suicide automatically
316 // Aux system current draw too high. Rover will disable Aux bus automatically
318 }
319 } // namespace PMS
320
321
327 namespace Nav
328 {
329 // IP Address
330 constexpr AddressEntry IP_ADDRESS{192, 168, 2, 104};
331
332 // Commands
333 namespace Commands
334 {}
335 // Telemetry
336 namespace Telemetry
337 {
338 // [Lat, Lon, Alt, HorizontalAccuracy, VerticalAccuracy, HeadingAccuracy, FixType, IsDifferential] (deg, deg, m, m, m, deg, ublox_navpvt fix type http://docs.ros.org/en/noetic/api/ublox_msgs/html/msg/NavPVT.html, bool)
340 // [Heading] (0 - 360)
342 // [Satellites]
344 }
345
346 // Error
347 namespace Errors
348 {
349 //
351 }
352 } // namespace Nav
353
354
360 namespace SignalStack
361 {
362 // IP Address
363 constexpr AddressEntry IP_ADDRESS{192, 168, 100, 101};
364
365 // Commands
366 namespace Commands
367 {
368 // [Speed] (-1000 - 1000) -> (-100% - 100%)
370 // [Heading] (0 - 360)
372 // [Rover Lat, Rover Lon, Basestation Lat, Basestation Lon] (-90 - 90, -180 - 180, -90 - 90, -180 - 180)
374 // [Enabled]
376 }
377
378 // Telemetry
379 namespace Telemetry
380 {
381 // [Heading] (0 - 360)
383 }
384
385 // Error
386 namespace Errors
387 {}
388 } // namespace SignalStack
389
390
396 namespace Arm
397 {
398 // IP Address
399 constexpr AddressEntry IP_ADDRESS{192, 168, 2, 107};
400
401 // Commands
402 namespace Commands
403 {
404 // [X, J2, J3, J4, J5, J6] (-32768 - 32767) -> (-100% - 100%)
406 // [X, J2, J3, J4, J5, J6] (in, deg, deg, deg, deg, deg)
408 // [X, J2, J3, J4, J5, J6] (in, deg, deg, deg, deg, deg)
410 // [Gripper] (-32768 - 32767) -> (-100% - 100%)
412 // [X, Y, Z, J4, J5, J6] (in, in, in, deg, deg, deg)
414 // [X, Y, Z, J4, J5, J6] (in, in, in, deg, deg, deg)
416 // [TX, TY, TZ, RX, RY, RZ] (in, in, in, deg, deg, deg)
418 // [Enabled]
420 // [Position] (0 - 180)
422 // [Position] (0 - 180)
424 // [Enabled]
426 // [X+, X-, J2+, J2-, J3+, J3-, J4+, J4-, J5+, J5-] (bitmask override enabled)
428 // [X, J2, J3, J4, J5, J6] (bitmask override enabled)
430 // [X, Roll] (bitmask start calibration)
432 // [X+, X-, J2+, J2-, J3+, J3-, J4+, J4-, J5+, J5-] (bitmask override enabled)
434 // [Pan, Tilt] (0 - 180)
436 // [Pan, Tilt] (0 - 180)
438 // [TX, TY, TZ, RX, RY, RZ] (in, in, in, deg, deg, deg)
440 }
441
442 // Telemetry
443 namespace Telemetry
444 {
445 // [X, J2, J3, J4, J5, J6, GX, GY, GZ] (in, deg, deg, deg, deg, deg, in, in, in)
447 // [X+, X-, J2+, J2-, J3+, J3-, J4+, J4-, J5+, J5-] (bitmask depressed)
449 // [X+, X-, J2+, J2-, J3+, J3-, J4+, J4-, J5+, J5-] (bitmask triggered)
451 // [X, J2, J3, J4, J5, J6, G] (ping time ms)
453 // [X, J2, J3, J4, J5, J6] (in, deg, deg, deg, deg, deg)
455 }
456
457 // Error
458 namespace Errors
459 {}
460 } // namespace Arm
461
462
468 namespace Auger
469 {
470 // IP Address
471 constexpr AddressEntry IP_ADDRESS{192, 168, 2, 108};
472
473 // Commands
474 namespace Commands
475 {
476 // [Speed] (-32768 - 32767) -> (-100% - 100%)
478 // [AugerAxis+, AugerAxis-] (bitmask override enabled)
480 // Request calibration of the AugerAxis encoder
482 // [Speed] (-1000 - 1000) -> (-100% - 100%)
484 // [Enabled]
486 // [White, 365, 405, 500] (brightness 0 - 255)
488 // [AFFilters, SoilTrapdoor] (0 - 180)
490 // [Pan, Tilt] (0 - 180)
492 }
493
494 // Telemetry
495 namespace Telemetry
496 {
497 // [AugerAxis] (in)
499 // [AugerSpeed] (rpm)
501 // [AugerAxis+, AugerAxis-] (bitmask depressed)
503 // [Temperature, Humidity] (C, relative %)
505 // [AugerCurrent] (A)
507 // [AugerAxis] (ping time ms)
509 // [LEDTimer] (ms)
511 }
512
513 // Error
514 namespace Errors
515 {}
516 } // namespace Auger
517
518
524 namespace Autonomy
525 {
526 // IP Address
527 constexpr AddressEntry IP_ADDRESS{192, 168, 3, 100};
528
529 // Commands
530 namespace Commands
531 {
532 // Start Autonomy_Software
534 // Return Autonomy_Software to Idle state
536 // [Lat, Lon, AUTONOMYWAYPOINTTYPES]
538 // [Lat, Lon, AUTONOMYWAYPOINTTYPES, MarkerRadius (meters)]
540 // [Lat, Lon, AUTONOMYWAYPOINTTYPES, ObjectRadius (meters)]
542 // Clear queued positions, markers, and objects waypoints.
544 // A multiplier from 0.0 to 1.0 that will scale the max power effort of Autonomy.
546 // A multiplier from 0.0 to 1.0 that will filter points from the traversability map. Higher values will result in more conservative pathing.
548 // A multiplier from 0.0 to 1.0 that will bias the pathing algorithm towards shorter paths (lower values) or safer paths (higher values).
550 // [Enum (AUTONOMYLOG), Enum (AUTONOMYLOG), Enum (AUTONOMYLOG)] {Console, File, RoveComm}
552 // [Lat, Lon, ObstacleRadius (meters)]
554 // Clear queued permanent obstacles.
556 }
557
558 // Telemetry
559 namespace Telemetry
560 {
561 // [State] (AUTONOMYSTATE)
563 // [State] (0: Teleop 1: Autonomy 2: Reached Goal)
565 // [Thread, FPS] (AUTONOMYTHREADS, fps)
567 // [Lat, Lon, Lat, Lon, ...] (deg, deg, deg, deg, ...)
569 // [EstimatedTimeToGoal] (s)
571 }
572
573 // Error
574 namespace Errors
575 {}
576
577 // Enums
591
592 enum class AUTONOMYLOG
593 {
597 DEBUG = 3,
598 INFO = 4,
601 ERROR = 7,
603 };
604
617
619 {
623 MALLET = -2,
624 ANY = -1,
625 TAG0 = 0,
626 TAG1 = 1,
627 TAG2 = 2,
629 };
630
631 } // namespace Autonomy
632
633
639 namespace Camera1
640 {
641 // IP Address
642 constexpr AddressEntry IP_ADDRESS{192, 168, 4, 100};
643
644 // Commands
645 namespace Commands
646 {
647 // [Camera, Restart]
649 // [Camera, Restart]
651 // [Arguments] (0x1f delimited, 0x00 terminated list with maximum length of 16383 characters for RPi-Camera/config.toml/ffmpeg_arguments, first byte is camera index. See RPI-Camera/config.toml for substitutions)
653 // [Arguments] (0x1f delimited, 0x00 terminated list with maximum length of 16383 characters for RPi-Camera/config.toml/picture_arguments, first byte is camera index. See RPI-Camera/config.toml for substitutions)
655 // [Command] (0x1f delimited, 0x00 terminated list of commands, first byte is camera index)
656 constexpr ManifestEntry ZMQCOMMANDS{12004, 16384, DataTypes::CHAR};
657 // [Command] (0x00 terminated argument passed to v4l2-ctl --set-ctrl, first byte is camera index)
659 }
660
661 // Telemetry
662 namespace Telemetry
663 {
664 // [Connected, Streaming] (bitmask indexes, bitmask indexes)
666 // Picture has been taken.
668 // [cpu0, cpu1, cpu2, cpu3, mem, storage, temp] (% usage, % usage, % usage, % usage, % usage, C)
670 }
671
672 // Error
673 namespace Errors
674 {}
675 } // namespace Camera1
676
677
683 namespace Camera2
684 {
685 // IP Address
686 constexpr AddressEntry IP_ADDRESS{192, 168, 4, 101};
687
688 // Commands
689 namespace Commands
690 {
691 // [Camera, Restart]
693 // [Camera, Restart]
695 // [Arguments] (0x1f delimited, 0x00 terminated list with maximum length of 16383 characters for RPi-Camera/config.toml/ffmpeg_arguments, first byte is camera index. See RPI-Camera/config.toml for substitutions)
697 // [Arguments] (0x1f delimited, 0x00 terminated list with maximum length of 16383 characters for RPi-Camera/config.toml/picture_arguments, first byte is camera index. See RPI-Camera/config.toml for substitutions)
699 // [Command] (0x1f delimited, 0x00 terminated list of commands, first byte is camera index)
700 constexpr ManifestEntry ZMQCOMMANDS{13004, 16384, DataTypes::CHAR};
701 // [Command] (0x00 terminated argument passed to v4l2-ctl --set-ctrl, first byte is camera index)
703 }
704
705 // Telemetry
706 namespace Telemetry
707 {
708 // [Connected, Streaming] (bitmask indexes, bitmask indexes)
710 // Picture has been taken.
712 // [cpu0, cpu1, cpu2, cpu3, mem, storage, temp] (% usage, % usage, % usage, % usage, % usage, C)
714 }
715
716 // Error
717 namespace Errors
718 {}
719 } // namespace Camera2
720
721
727 namespace CameraServer
728 {
729 // IP Address
730 constexpr AddressEntry IP_ADDRESS{192, 168, 4, 102};
731
732 // Commands
733 namespace Commands
734 {
735 // [Camera]
737 // [Camera, Action] (id, 0: Shutdown 1: Startup 2: Restart)
739 // [Camera, Brightness] (id, 0 - 255)
741 // [Camera, Contrast] (id, 0 - 255)
743 // [Camera, Saturation] (id, 0 - 255)
745 // [Camera, Hue] (id, 0 - 255)
747 // [Camera, Temperature]
749 // [Camera, BacklightContrast]
751 // [Camera, Exposure]
753 }
754
755 // Telemetry
756 namespace Telemetry
757 {
758 // [Camera0, Camera1, Camera2, Camera3, Camera4, Camera5, Camera6, Camera7] (bitmask able to stream)
760 // [Port0, Port1, Port2, Port3] (currently streaming on each port)
762 // Picture has been taken
764 }
765
766 // Error
767 namespace Errors
768 {
769 // [Camera] (id) Camera has errored and stopped streaming
771 }
772 } // namespace CameraServer
773
774
780 namespace Raman
781 {
782 // IP Address
783 constexpr AddressEntry IP_ADDRESS{192, 168, 3, 105};
784
785 // Commands
786 namespace Commands
787 {
788 // [Speed] (-32768 - 32767) -> (-100% - 100%)
790 // [InstrumentsAxis+, InstrumentsAxis-] (bitmask override enabled)
792 // Request calibration of the InstrumentsAxis encoder
794 // [Enabled]
796 // [Enabled]
798 // [Integration Time, Sample Count] (ms, n)
800 }
801
802 // Telemetry
803 namespace Telemetry
804 {
805 // [InstrumentsAxis, TOF] (mm, mm)
807 // [InstrumentsAxis+, InstrumentsAxis-] (bitmask depressed)
809 // Raman CCD elements 0-511
811 // Raman CCD elements 512-1023
813 // Raman CCD elements 1024-1535
815 // Raman CCD elements 1536-2047
817 // Raman CCD elements 2048-2559
819 // [InstrumentsAxis] (ping time ms)
821 }
822
823 // Error
824 namespace Errors
825 {}
826 } // namespace Raman
827
828
834 namespace DroneGPS
835 {
836 // IP Address
837 constexpr AddressEntry IP_ADDRESS{192, 168, 100, 102};
838
839 // Commands
840 namespace Commands
841 {}
842 // Telemetry
843 namespace Telemetry
844 {
845 // [Lat, Lon, Alt, HorizontalAccuracy, VerticalAccuracy, HeadingAccuracy, FixType, Heading, Satellites] (deg, deg, m, m, m, deg, Ardupilot GPS fix type https://mavlink.io/en/messages/common.html#GPS_FIX_TYPE, 0 - 360, Satellite number)
847 }
848
849 // Error
850 namespace Errors
851 {}
852 } // namespace DroneGPS
853
854
861 {
862 // IP Address
863 constexpr AddressEntry IP_ADDRESS{127, 0, 0, 1};
864
865 // Commands
866 namespace Commands
867 {}
868 // Telemetry
869 namespace Telemetry
870 {
871 // [Accel X, Accel Y, Accel Z, Gyro X, Gyro Y, Gyro Z, Quat X, Quat Y, Quat Z, Quat W]
872 constexpr ManifestEntry IMU{18100, 10, DataTypes::DOUBLE_T};
873 }
874
875 // Error
876 namespace Errors
877 {}
878 } // namespace RoveSoSimulator
879
880
886 namespace General
887 {
888 const int UPDATE_RATE = 100;
889 const int ETHERNET_UDP_PORT = 11000;
890 const int ETHERNET_TCP_PORT = 12000;
891 const int SUBNET_MAC_FIRST_BYTE = 222;
892 const int SUBNET_MAC_SECOND_BYTE = 173;
893 } // namespace General
894
895
901 namespace System
902 {
903 const int PING_DATA_ID = 1;
904 const int PING_REPLY_DATA_ID = 2;
905 const int SUBSCRIBE_DATA_ID = 3;
906 const int UNSUBSCRIBE_DATA_ID = 4;
908 const int NO_DATA_DATA_ID = 6;
909 } // namespace System
910
911
917 const std::vector<BoardEntry> BOARDS{
918 {
921 {
936 },
937 {
944 },
945 {
947 },
948 },
949 {
952 {
959 },
960 {
963 },
964 {
969 },
970 },
971 {
974 {
975 },
976 {
980 },
981 {
983 },
984 },
985 {
988 {
993 },
994 {
996 },
997 {
998 },
999 },
1000 {
1003 {
1022 },
1023 {
1029 },
1030 {
1031 },
1032 },
1033 {
1036 {
1045 },
1046 {
1054 },
1055 {
1056 },
1057 },
1058 {
1061 {
1074 },
1075 {
1081 },
1082 {
1083 },
1084 },
1085 {
1088 {
1095 },
1096 {
1100 },
1101 {
1102 },
1103 },
1104 {
1107 {
1114 },
1115 {
1119 },
1120 {
1121 },
1122 },
1123 {
1126 {
1136 },
1137 {
1141 },
1142 {
1144 },
1145 },
1146 {
1149 {
1156 },
1157 {
1166 },
1167 {
1168 },
1169 },
1170 {
1173 {
1174 },
1175 {
1177 },
1178 {
1179 },
1180 },
1181 {
1184 {
1185 },
1186 {
1188 },
1189 {
1190 },
1191 },
1192 };
1193
1194
1200 namespace Helpers
1201 {
1202 inline const BoardEntry& FindBoardById(uint16_t unDataId)
1203 {
1204 switch (static_cast<BoardID>(unDataId / 1000))
1205 {
1206 case BoardID::CORE: return BOARDS[0];
1207 case BoardID::PMS: return BOARDS[1];
1208 case BoardID::NAV: return BOARDS[2];
1209 case BoardID::SIGNALSTACK: return BOARDS[3];
1210 case BoardID::ARM: return BOARDS[4];
1211 case BoardID::AUGER: return BOARDS[5];
1212 case BoardID::AUTONOMY: return BOARDS[6];
1213 case BoardID::CAMERA1: return BOARDS[7];
1214 case BoardID::CAMERA2: return BOARDS[8];
1215 case BoardID::CAMERASERVER: return BOARDS[9];
1216 case BoardID::RAMAN: return BOARDS[10];
1217 case BoardID::DRONEGPS: return BOARDS[11];
1218 case BoardID::ROVESOSIMULATOR: return BOARDS[12];
1219 }
1220 throw std::invalid_argument("Board ID not found in manifest");
1221 }
1222
1223 inline const ManifestEntry& FindEntryById(uint16_t unDataId)
1224 {
1225 const BoardEntry& stBoard = FindBoardById(unDataId);
1226 if (auto it = std::find_if(stBoard.COMMANDS.begin(), stBoard.COMMANDS.end(), [unDataId](const auto& stBoard) { return stBoard.DATA_ID == unDataId; });
1227 it != stBoard.COMMANDS.end())
1228 {
1229 return *it;
1230 }
1231 if (auto it = std::find_if(stBoard.TELEMETRY.begin(), stBoard.TELEMETRY.end(), [unDataId](const auto& stBoard) { return stBoard.DATA_ID == unDataId; });
1232 it != stBoard.TELEMETRY.end())
1233 {
1234 return *it;
1235 }
1236 if (auto it = std::find_if(stBoard.ERRORS.begin(), stBoard.ERRORS.end(), [unDataId](const auto& stBoard) { return stBoard.DATA_ID == unDataId; });
1237 it != stBoard.ERRORS.end())
1238 {
1239 return *it;
1240 }
1241 throw std::invalid_argument("Data ID not found in manifest");
1242 }
1243
1244 constexpr size_t DataTypeSize(DataTypes eDataType)
1245 {
1246 switch (eDataType)
1247 {
1248 case DataTypes::INT8_T: return 1;
1249 case DataTypes::UINT8_T: return 1;
1250 case DataTypes::INT16_T: return 2;
1251 case DataTypes::UINT16_T: return 2;
1252 case DataTypes::INT32_T: return 4;
1253 case DataTypes::UINT32_T: return 4;
1254 case DataTypes::FLOAT_T: return 4;
1255 case DataTypes::DOUBLE_T: return 8;
1256 case DataTypes::CHAR: return 1;
1257 default: return 1;
1258 }
1259 }
1260
1261 template<typename T>
1263 {};
1264
1265 template<>
1266 struct CToRoveCommType<int8_t>
1267 {
1269 static constexpr size_t SIZE = 1;
1270 };
1271
1272 template<>
1273 struct CToRoveCommType<uint8_t>
1274 {
1276 static constexpr size_t SIZE = 1;
1277 };
1278
1279 template<>
1280 struct CToRoveCommType<int16_t>
1281 {
1283 static constexpr size_t SIZE = 2;
1284 };
1285
1286 template<>
1287 struct CToRoveCommType<uint16_t>
1288 {
1290 static constexpr size_t SIZE = 2;
1291 };
1292
1293 template<>
1294 struct CToRoveCommType<int32_t>
1295 {
1297 static constexpr size_t SIZE = 4;
1298 };
1299
1300 template<>
1301 struct CToRoveCommType<uint32_t>
1302 {
1304 static constexpr size_t SIZE = 4;
1305 };
1306
1307 template<>
1308 struct CToRoveCommType<float>
1309 {
1311 static constexpr size_t SIZE = 4;
1312 };
1313
1314 template<>
1315 struct CToRoveCommType<double>
1316 {
1318 static constexpr size_t SIZE = 8;
1319 };
1320
1321 template<>
1322 struct CToRoveCommType<char>
1323 {
1324 static constexpr DataTypes TYPE = DataTypes::CHAR;
1325 static constexpr size_t SIZE = 1;
1326 };
1327
1328
1329 template<DataTypes>
1331 {};
1332
1333 template<>
1335 {
1336 using c_type = int8_t;
1337 static constexpr size_t SIZE = 1;
1338 };
1339
1340 template<>
1342 {
1343 using c_type = uint8_t;
1344 static constexpr size_t SIZE = 1;
1345 };
1346
1347 template<>
1349 {
1350 using c_type = int16_t;
1351 static constexpr size_t SIZE = 2;
1352 };
1353
1354 template<>
1356 {
1357 using c_type = uint16_t;
1358 static constexpr size_t SIZE = 2;
1359 };
1360
1361 template<>
1363 {
1364 using c_type = int32_t;
1365 static constexpr size_t SIZE = 4;
1366 };
1367
1368 template<>
1370 {
1371 using c_type = uint32_t;
1372 static constexpr size_t SIZE = 4;
1373 };
1374
1375 template<>
1377 {
1378 using c_type = float;
1379 static constexpr size_t SIZE = 4;
1380 };
1381
1382 template<>
1384 {
1385 using c_type = double;
1386 static constexpr size_t SIZE = 8;
1387 };
1388
1389 template<>
1391 {
1392 using c_type = char;
1393 static constexpr size_t SIZE = 1;
1394 };
1395
1396 } // namespace Helpers
1397
1398} // namespace manifest
1399
1400#endif // MANIFEST_H
Allows constraining templates to only RoveComm supported types.
Definition RoveCommManifest.h:53
Definition RoveCommManifest.h:403
constexpr ManifestEntry WATCHDOGOVERRIDE
Definition RoveCommManifest.h:425
constexpr ManifestEntry IKPOSITION
Definition RoveCommManifest.h:413
constexpr ManifestEntry ARMGIMBAL2
Definition RoveCommManifest.h:437
constexpr ManifestEntry TARGETANGLEINCREMENT
Definition RoveCommManifest.h:409
constexpr ManifestEntry IKTOOLINCREMENT
Definition RoveCommManifest.h:439
constexpr ManifestEntry OPENLOOP
Definition RoveCommManifest.h:405
constexpr ManifestEntry IKWORLDINCREMENT
Definition RoveCommManifest.h:417
constexpr ManifestEntry GRIPPEROPENLOOP
Definition RoveCommManifest.h:411
constexpr ManifestEntry LINEARSERVO
Definition RoveCommManifest.h:421
constexpr ManifestEntry SOFTLIMITOVERRIDE
Definition RoveCommManifest.h:433
constexpr ManifestEntry TARGETANGLE
Definition RoveCommManifest.h:407
constexpr ManifestEntry CALIBRATEENCODER
Definition RoveCommManifest.h:431
constexpr ManifestEntry LIMITSWITCHOVERRIDE
Definition RoveCommManifest.h:427
constexpr ManifestEntry CLOSEDLOOPOVERRIDE
Definition RoveCommManifest.h:429
constexpr ManifestEntry CACHE
Definition RoveCommManifest.h:423
constexpr ManifestEntry ARMGIMBAL1
Definition RoveCommManifest.h:435
constexpr ManifestEntry IKWRISTINCREMENT
Definition RoveCommManifest.h:415
constexpr ManifestEntry LASER
Definition RoveCommManifest.h:419
Definition RoveCommManifest.h:459
Definition RoveCommManifest.h:444
constexpr ManifestEntry LIMITSWITCH
Definition RoveCommManifest.h:448
constexpr ManifestEntry POSITION
Definition RoveCommManifest.h:446
constexpr ManifestEntry TARGET
Definition RoveCommManifest.h:454
constexpr ManifestEntry SOFTLIMIT
Definition RoveCommManifest.h:450
constexpr ManifestEntry SMOCOPING
Definition RoveCommManifest.h:452
Arm Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:397
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:399
Definition RoveCommManifest.h:475
constexpr ManifestEntry LIMITSWITCHOVERRIDE
Definition RoveCommManifest.h:479
constexpr ManifestEntry AUGERGIMBAL
Definition RoveCommManifest.h:491
constexpr ManifestEntry CALIBRATEENCODER
Definition RoveCommManifest.h:481
constexpr ManifestEntry WATCHDOGOVERRIDE
Definition RoveCommManifest.h:485
constexpr ManifestEntry LED
Definition RoveCommManifest.h:487
constexpr ManifestEntry AUGERAXIS
Definition RoveCommManifest.h:477
constexpr ManifestEntry AUGERSERVO
Definition RoveCommManifest.h:489
constexpr ManifestEntry AUGER
Definition RoveCommManifest.h:483
Definition RoveCommManifest.h:515
Definition RoveCommManifest.h:496
constexpr ManifestEntry SMOCOPING
Definition RoveCommManifest.h:508
constexpr ManifestEntry AUGERSPEED
Definition RoveCommManifest.h:500
constexpr ManifestEntry POSITION
Definition RoveCommManifest.h:498
constexpr ManifestEntry ENVIRONMENTAL
Definition RoveCommManifest.h:504
constexpr ManifestEntry AUGERCURRENT
Definition RoveCommManifest.h:506
constexpr ManifestEntry LIMITSWITCH
Definition RoveCommManifest.h:502
constexpr ManifestEntry LEDSTATUS
Definition RoveCommManifest.h:510
Auger Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:469
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:471
Definition RoveCommManifest.h:531
constexpr ManifestEntry SETLOGGINGLEVELS
Definition RoveCommManifest.h:551
constexpr ManifestEntry ADDPOSITIONLEG
Definition RoveCommManifest.h:537
constexpr ManifestEntry SETMINTRAVSCORE
Definition RoveCommManifest.h:547
constexpr ManifestEntry ADDOBSTACLE
Definition RoveCommManifest.h:553
constexpr ManifestEntry SETMAXSPEED
Definition RoveCommManifest.h:545
constexpr ManifestEntry ADDOBJECTLEG
Definition RoveCommManifest.h:541
constexpr ManifestEntry STARTAUTONOMY
Definition RoveCommManifest.h:533
constexpr ManifestEntry ADDMARKERLEG
Definition RoveCommManifest.h:539
constexpr ManifestEntry SETBETABIAS
Definition RoveCommManifest.h:549
constexpr ManifestEntry DISABLEAUTONOMY
Definition RoveCommManifest.h:535
constexpr ManifestEntry CLEAROBSTACLES
Definition RoveCommManifest.h:555
constexpr ManifestEntry CLEARWAYPOINTS
Definition RoveCommManifest.h:543
Definition RoveCommManifest.h:575
Definition RoveCommManifest.h:560
constexpr ManifestEntry TIMEREMAINING
Definition RoveCommManifest.h:570
constexpr ManifestEntry CURRENTSTATE
Definition RoveCommManifest.h:562
constexpr ManifestEntry PATHWAYPOINTS
Definition RoveCommManifest.h:568
constexpr ManifestEntry THREADFPS
Definition RoveCommManifest.h:566
constexpr ManifestEntry STATEDISPLAY
Definition RoveCommManifest.h:564
Autonomy Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:525
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:527
AUTONOMYLOG
Definition RoveCommManifest.h:593
@ WARNING
Definition RoveCommManifest.h:600
@ TRACEL3
Definition RoveCommManifest.h:594
@ INFO
Definition RoveCommManifest.h:598
@ TRACEL1
Definition RoveCommManifest.h:596
@ CRITICAL
Definition RoveCommManifest.h:602
@ NOTICE
Definition RoveCommManifest.h:599
@ ERROR
Definition RoveCommManifest.h:601
@ TRACEL2
Definition RoveCommManifest.h:595
@ DEBUG
Definition RoveCommManifest.h:597
AUTONOMYTHREADS
Definition RoveCommManifest.h:606
@ ROVECOMMUDP
Definition RoveCommManifest.h:614
@ NOTSET
Definition RoveCommManifest.h:607
@ ROVECOMMTCP
Definition RoveCommManifest.h:615
@ REARCAM
Definition RoveCommManifest.h:610
@ MAINPROCESS
Definition RoveCommManifest.h:608
@ OBJECTDETECTOR
Definition RoveCommManifest.h:612
@ MAINCAM
Definition RoveCommManifest.h:609
@ TAGDETECTOR
Definition RoveCommManifest.h:611
@ STATEMACHINE
Definition RoveCommManifest.h:613
AUTONOMYSTATE
Definition RoveCommManifest.h:579
@ VERIFYINGOBJECT
Definition RoveCommManifest.h:587
@ NAVIGATING
Definition RoveCommManifest.h:581
@ VERIFYINGGPS
Definition RoveCommManifest.h:585
@ APPROACHINGMARKER
Definition RoveCommManifest.h:583
@ APPROACHINGOBJECT
Definition RoveCommManifest.h:584
@ SEARCHPATTERN
Definition RoveCommManifest.h:582
@ STUCK
Definition RoveCommManifest.h:589
@ IDLE
Definition RoveCommManifest.h:580
@ VERIFYINGMARKER
Definition RoveCommManifest.h:586
@ REVERSING
Definition RoveCommManifest.h:588
AUTONOMYWAYPOINTTYPES
Definition RoveCommManifest.h:619
@ ROCKPICK
Definition RoveCommManifest.h:621
@ CONTINUOUSNAVIGATE
Definition RoveCommManifest.h:620
@ WATERBOTTLE
Definition RoveCommManifest.h:622
@ TAG2
Definition RoveCommManifest.h:627
@ ANY
Definition RoveCommManifest.h:624
@ TAG3
Definition RoveCommManifest.h:628
@ MALLET
Definition RoveCommManifest.h:623
@ TAG1
Definition RoveCommManifest.h:626
@ TAG0
Definition RoveCommManifest.h:625
Definition RoveCommManifest.h:646
constexpr ManifestEntry SETPICTUREARGUMENTS
Definition RoveCommManifest.h:654
constexpr ManifestEntry SETFFMPEGARGUMENTS
Definition RoveCommManifest.h:652
constexpr ManifestEntry V4L2SETCONTROLS
Definition RoveCommManifest.h:658
constexpr ManifestEntry TAKEPICTURE
Definition RoveCommManifest.h:648
constexpr ManifestEntry TOGGLESTREAM
Definition RoveCommManifest.h:650
constexpr ManifestEntry ZMQCOMMANDS
Definition RoveCommManifest.h:656
Definition RoveCommManifest.h:674
Definition RoveCommManifest.h:663
constexpr ManifestEntry PICTURETAKEN
Definition RoveCommManifest.h:667
constexpr ManifestEntry AVAILABLECAMERAS
Definition RoveCommManifest.h:665
constexpr ManifestEntry UTILIZATION
Definition RoveCommManifest.h:669
Camera1 Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:640
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:642
Definition RoveCommManifest.h:690
constexpr ManifestEntry ZMQCOMMANDS
Definition RoveCommManifest.h:700
constexpr ManifestEntry TOGGLESTREAM
Definition RoveCommManifest.h:694
constexpr ManifestEntry TAKEPICTURE
Definition RoveCommManifest.h:692
constexpr ManifestEntry V4L2SETCONTROLS
Definition RoveCommManifest.h:702
constexpr ManifestEntry SETFFMPEGARGUMENTS
Definition RoveCommManifest.h:696
constexpr ManifestEntry SETPICTUREARGUMENTS
Definition RoveCommManifest.h:698
Definition RoveCommManifest.h:718
Definition RoveCommManifest.h:707
constexpr ManifestEntry PICTURETAKEN
Definition RoveCommManifest.h:711
constexpr ManifestEntry AVAILABLECAMERAS
Definition RoveCommManifest.h:709
constexpr ManifestEntry UTILIZATION
Definition RoveCommManifest.h:713
Camera2 Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:684
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:686
Definition RoveCommManifest.h:734
constexpr ManifestEntry SETEXPOSURE
Definition RoveCommManifest.h:752
constexpr ManifestEntry ADJUSTBACKLIGHTCONTRAST
Definition RoveCommManifest.h:750
constexpr ManifestEntry TAKEPHOTO
Definition RoveCommManifest.h:736
constexpr ManifestEntry ADJUSTSATURATION
Definition RoveCommManifest.h:744
constexpr ManifestEntry ADJUSTHUE
Definition RoveCommManifest.h:746
constexpr ManifestEntry TOGGLESTREAM
Definition RoveCommManifest.h:738
constexpr ManifestEntry ADJUSTCONTRAST
Definition RoveCommManifest.h:742
constexpr ManifestEntry ADJUSTBRIGHTNESS
Definition RoveCommManifest.h:740
constexpr ManifestEntry SETWHITEBALANCE
Definition RoveCommManifest.h:748
Definition RoveCommManifest.h:768
constexpr ManifestEntry CAMERAUNAVAILABLE
Definition RoveCommManifest.h:770
Definition RoveCommManifest.h:757
constexpr ManifestEntry AVAILABLECAMERAS
Definition RoveCommManifest.h:759
constexpr ManifestEntry STREAMINGCAMERAS
Definition RoveCommManifest.h:761
constexpr ManifestEntry PICTURETAKEN
Definition RoveCommManifest.h:763
CameraServer Board IP Address, Commands, Telemetry, and Error.
Definition RoveCommManifest.h:728
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:730
Definition RoveCommManifest.h:163
constexpr ManifestEntry LEDRGB
Definition RoveCommManifest.h:177
constexpr ManifestEntry DRIVELEFTRIGHT
Definition RoveCommManifest.h:165
constexpr ManifestEntry INTERNALIMAGE
Definition RoveCommManifest.h:183
constexpr ManifestEntry STATEDISPLAY
Definition RoveCommManifest.h:185
constexpr ManifestEntry RIGHTGIMBAL
Definition RoveCommManifest.h:173
constexpr ManifestEntry SETWATCHDOGMODE
Definition RoveCommManifest.h:189
constexpr ManifestEntry INTERNALRGB
Definition RoveCommManifest.h:181
constexpr ManifestEntry LEDTEXT
Definition RoveCommManifest.h:191
constexpr ManifestEntry WATCHDOGOVERRIDE
Definition RoveCommManifest.h:169
constexpr ManifestEntry LEFTGIMBAL
Definition RoveCommManifest.h:171
constexpr ManifestEntry DRIVEINDIVIDUAL
Definition RoveCommManifest.h:167
constexpr ManifestEntry BACKGIMBAL
Definition RoveCommManifest.h:175
constexpr ManifestEntry BRIGHTNESS
Definition RoveCommManifest.h:187
constexpr ManifestEntry BACKIMAGE
Definition RoveCommManifest.h:179
Definition RoveCommManifest.h:213
constexpr ManifestEntry VESCFAULT
Definition RoveCommManifest.h:215
Definition RoveCommManifest.h:196
constexpr ManifestEntry MOTORCURRENTS
Definition RoveCommManifest.h:200
constexpr ManifestEntry MOTORSPEEDS
Definition RoveCommManifest.h:198
constexpr ManifestEntry VESCCURRENTS
Definition RoveCommManifest.h:202
constexpr ManifestEntry THERMAL
Definition RoveCommManifest.h:208
constexpr ManifestEntry IMUDATA
Definition RoveCommManifest.h:204
constexpr ManifestEntry ACCELEROMETERDATA
Definition RoveCommManifest.h:206
Core Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:157
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:159
MOTORS
Definition RoveCommManifest.h:220
@ MIDDLE_RIGHT
Definition RoveCommManifest.h:225
@ BACK_LEFT
Definition RoveCommManifest.h:223
@ FRONT_LEFT
Definition RoveCommManifest.h:221
@ FRONT_RIGHT
Definition RoveCommManifest.h:224
@ BACK_RIGHT
Definition RoveCommManifest.h:226
@ MIDDLE_LEFT
Definition RoveCommManifest.h:222
DISPLAYSTATE
Definition RoveCommManifest.h:230
@ AUTONOMY
Definition RoveCommManifest.h:232
@ REACHED_GOAL
Definition RoveCommManifest.h:233
@ TELEOP
Definition RoveCommManifest.h:231
VESCFAULTCODE
Definition RoveCommManifest.h:237
@ ENCODER_SINCOS_ABOVE_MAX_AMPLITUDE
Definition RoveCommManifest.h:251
@ HIGH_OFFSET_CURRENT_SENSOR_3
Definition RoveCommManifest.h:255
@ ENCODER_SPI
Definition RoveCommManifest.h:249
@ OVER_TEMP_FET
Definition RoveCommManifest.h:243
@ RESOLVER_DOS
Definition RoveCommManifest.h:259
@ MCU_UNDER_VOLTAGE
Definition RoveCommManifest.h:247
@ OVER_VOLTAGE
Definition RoveCommManifest.h:239
@ GATE_DRIVER_UNDER_VOLTAGE
Definition RoveCommManifest.h:246
@ GATE_DRIVER_OVER_VOLTAGE
Definition RoveCommManifest.h:245
@ UNDER_VOLTAGE
Definition RoveCommManifest.h:240
@ UNBALANCED_CURRENTS
Definition RoveCommManifest.h:256
@ FLASH_CORRUPTION_APP_CFG
Definition RoveCommManifest.h:261
@ OVER_TEMP_MOTOR
Definition RoveCommManifest.h:244
@ ENCODER_NO_MAGNET
Definition RoveCommManifest.h:263
@ FLASH_CORRUPTION
Definition RoveCommManifest.h:252
@ RESOLVER_LOS
Definition RoveCommManifest.h:260
@ NONE
Definition RoveCommManifest.h:238
@ PHASE_FILTER
Definition RoveCommManifest.h:265
@ HIGH_OFFSET_CURRENT_SENSOR_1
Definition RoveCommManifest.h:253
@ ENCODER_MAGNET_TOO_STRONG
Definition RoveCommManifest.h:264
@ BOOTING_FROM_WATCHDOG_RESET
Definition RoveCommManifest.h:248
@ RESOLVER_LOT
Definition RoveCommManifest.h:258
@ DRV
Definition RoveCommManifest.h:241
@ BRK
Definition RoveCommManifest.h:257
@ ABS_OVER_CURRENT
Definition RoveCommManifest.h:242
@ HIGH_OFFSET_CURRENT_SENSOR_2
Definition RoveCommManifest.h:254
@ FLASH_CORRUPTION_MC_CFG
Definition RoveCommManifest.h:262
@ ENCODER_SINCOS_BELOW_MIN_AMPLITUDE
Definition RoveCommManifest.h:250
Definition RoveCommManifest.h:841
Definition RoveCommManifest.h:851
Definition RoveCommManifest.h:844
constexpr ManifestEntry DRONEPOSE
Definition RoveCommManifest.h:846
DroneGPS Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:835
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:837
RoveComm General Information.
Definition RoveCommManifest.h:887
const int SUBNET_MAC_SECOND_BYTE
Definition RoveCommManifest.h:892
const int UPDATE_RATE
Definition RoveCommManifest.h:888
const int SUBNET_MAC_FIRST_BYTE
Definition RoveCommManifest.h:891
const int ETHERNET_UDP_PORT
Definition RoveCommManifest.h:889
const int ETHERNET_TCP_PORT
Definition RoveCommManifest.h:890
RoveComm Helper Functions.
Definition RoveCommManifest.h:1201
const BoardEntry & FindBoardById(uint16_t unDataId)
Definition RoveCommManifest.h:1202
const ManifestEntry & FindEntryById(uint16_t unDataId)
Definition RoveCommManifest.h:1223
constexpr size_t DataTypeSize(DataTypes eDataType)
Definition RoveCommManifest.h:1244
Definition RoveCommManifest.h:334
Definition RoveCommManifest.h:348
constexpr ManifestEntry GPSLOCKERROR
Definition RoveCommManifest.h:350
Definition RoveCommManifest.h:337
constexpr ManifestEntry COMPASSDATA
Definition RoveCommManifest.h:341
constexpr ManifestEntry GPSLATLONALT
Definition RoveCommManifest.h:339
constexpr ManifestEntry SATELLITECOUNTDATA
Definition RoveCommManifest.h:343
Nav Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:328
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:330
Definition RoveCommManifest.h:283
constexpr ManifestEntry ESTOP
Definition RoveCommManifest.h:285
constexpr ManifestEntry REBOOT
Definition RoveCommManifest.h:289
constexpr ManifestEntry SETBUS
Definition RoveCommManifest.h:295
constexpr ManifestEntry ENABLEBUS
Definition RoveCommManifest.h:291
constexpr ManifestEntry SUICIDE
Definition RoveCommManifest.h:287
constexpr ManifestEntry DISABLEBUS
Definition RoveCommManifest.h:293
Definition RoveCommManifest.h:309
constexpr ManifestEntry CELLCRITICAL
Definition RoveCommManifest.h:315
constexpr ManifestEntry CELLUNDERVOLTAGE
Definition RoveCommManifest.h:313
constexpr ManifestEntry PACKOVERCURRENT
Definition RoveCommManifest.h:311
constexpr ManifestEntry AUXOVERCURRENT
Definition RoveCommManifest.h:317
Definition RoveCommManifest.h:300
constexpr ManifestEntry CURRENTANDVOLTAGE
Definition RoveCommManifest.h:302
constexpr ManifestEntry BUSSTATUS
Definition RoveCommManifest.h:304
PMS Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:277
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:279
Definition RoveCommManifest.h:787
constexpr ManifestEntry CALIBRATEENCODER
Definition RoveCommManifest.h:793
constexpr ManifestEntry LIMITSWITCHOVERRIDE
Definition RoveCommManifest.h:791
constexpr ManifestEntry WATCHDOGOVERRIDE
Definition RoveCommManifest.h:795
constexpr ManifestEntry LASER
Definition RoveCommManifest.h:797
constexpr ManifestEntry INSTRUMENTSAXIS
Definition RoveCommManifest.h:789
constexpr ManifestEntry REQUESTRAMANREADING
Definition RoveCommManifest.h:799
Definition RoveCommManifest.h:825
Definition RoveCommManifest.h:804
constexpr ManifestEntry RAMANREADING_PART2
Definition RoveCommManifest.h:812
constexpr ManifestEntry RAMANREADING_PART3
Definition RoveCommManifest.h:814
constexpr ManifestEntry RAMANREADING_PART1
Definition RoveCommManifest.h:810
constexpr ManifestEntry RAMANREADING_PART5
Definition RoveCommManifest.h:818
constexpr ManifestEntry LIMITSWITCH
Definition RoveCommManifest.h:808
constexpr ManifestEntry RAMANREADING_PART4
Definition RoveCommManifest.h:816
constexpr ManifestEntry POSITION
Definition RoveCommManifest.h:806
constexpr ManifestEntry SMOCOPING
Definition RoveCommManifest.h:820
Raman Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:781
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:783
Definition RoveCommManifest.h:867
Definition RoveCommManifest.h:877
Definition RoveCommManifest.h:870
constexpr ManifestEntry IMU
Definition RoveCommManifest.h:872
RoveSoSimulator Board IP Address, Commands, Telemetry, and Error.
Definition RoveCommManifest.h:861
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:863
Definition RoveCommManifest.h:367
constexpr ManifestEntry OPENLOOP
Definition RoveCommManifest.h:369
constexpr ManifestEntry SETGPSTARGET
Definition RoveCommManifest.h:373
constexpr ManifestEntry WATCHDOGOVERRIDE
Definition RoveCommManifest.h:375
constexpr ManifestEntry SETANGLETARGET
Definition RoveCommManifest.h:371
Definition RoveCommManifest.h:387
Definition RoveCommManifest.h:380
constexpr ManifestEntry COMPASSANGLE
Definition RoveCommManifest.h:382
SignalStack Board IP Address, Commands, Telemetry, and Error Packet.
Definition RoveCommManifest.h:361
constexpr AddressEntry IP_ADDRESS
Definition RoveCommManifest.h:363
RoveComm System Information.
Definition RoveCommManifest.h:902
const int NO_DATA_DATA_ID
Definition RoveCommManifest.h:908
const int UNSUBSCRIBE_DATA_ID
Definition RoveCommManifest.h:906
const int SUBSCRIBE_DATA_ID
Definition RoveCommManifest.h:905
const int PING_DATA_ID
Definition RoveCommManifest.h:903
const int PING_REPLY_DATA_ID
Definition RoveCommManifest.h:904
const int INVALID_VERSION_DATA_ID
Definition RoveCommManifest.h:907
Definition RoveCommManifest.h:26
const std::vector< BoardEntry > BOARDS
BoardEntry Map for Runtime Lookups.
Definition RoveCommManifest.h:917
DataTypes
Enumeration of Data Types to be used in RoveComm.
Definition RoveCommManifest.h:34
@ INT32_T
Definition RoveCommManifest.h:39
@ INT16_T
Definition RoveCommManifest.h:37
@ UINT32_T
Definition RoveCommManifest.h:40
@ INT8_T
Definition RoveCommManifest.h:35
@ UINT8_T
Definition RoveCommManifest.h:36
@ FLOAT_T
Definition RoveCommManifest.h:41
@ UINT16_T
Definition RoveCommManifest.h:38
@ DOUBLE_T
Definition RoveCommManifest.h:42
@ CHAR
Definition RoveCommManifest.h:43
BoardID
Board ID Enumeration for RoveComm.
Definition RoveCommManifest.h:120
@ AUTONOMY
Definition RoveCommManifest.h:127
@ PMS
Definition RoveCommManifest.h:122
@ ARM
Definition RoveCommManifest.h:125
@ CAMERASERVER
Definition RoveCommManifest.h:130
@ DRONEGPS
Definition RoveCommManifest.h:132
@ AUGER
Definition RoveCommManifest.h:126
@ SIGNALSTACK
Definition RoveCommManifest.h:124
@ RAMAN
Definition RoveCommManifest.h:131
@ NAV
Definition RoveCommManifest.h:123
@ CAMERA2
Definition RoveCommManifest.h:129
@ CAMERA1
Definition RoveCommManifest.h:128
@ CORE
Definition RoveCommManifest.h:121
@ ROVESOSIMULATOR
Definition RoveCommManifest.h:133
IP Address Object for RoveComm. Default is 0.0.0.0.
Definition RoveCommManifest.h:63
std::string IP_STR() const
Definition RoveCommManifest.h:93
int THIRD_OCTET
Definition RoveCommManifest.h:67
int FOURTH_OCTET
Definition RoveCommManifest.h:68
AddressEntry(T tIP)
Definition RoveCommManifest.h:77
int FIRST_OCTET
Definition RoveCommManifest.h:65
constexpr auto operator<=>(const AddressEntry &) const =default
int SECOND_OCTET
Definition RoveCommManifest.h:66
constexpr AddressEntry() noexcept=default
Board Entry Object for RoveComm.
Definition RoveCommManifest.h:143
AddressEntry ADDRESS
Definition RoveCommManifest.h:146
BoardID BOARD_ID
Definition RoveCommManifest.h:145
std::vector< ManifestEntry > TELEMETRY
Definition RoveCommManifest.h:147
std::vector< ManifestEntry > ERRORS
Definition RoveCommManifest.h:147
std::vector< ManifestEntry > COMMANDS
Definition RoveCommManifest.h:147
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1324
static constexpr size_t SIZE
Definition RoveCommManifest.h:1325
static constexpr size_t SIZE
Definition RoveCommManifest.h:1318
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1317
static constexpr size_t SIZE
Definition RoveCommManifest.h:1311
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1310
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1282
static constexpr size_t SIZE
Definition RoveCommManifest.h:1283
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1296
static constexpr size_t SIZE
Definition RoveCommManifest.h:1297
static constexpr size_t SIZE
Definition RoveCommManifest.h:1269
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1268
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1289
static constexpr size_t SIZE
Definition RoveCommManifest.h:1290
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1303
static constexpr size_t SIZE
Definition RoveCommManifest.h:1304
static constexpr size_t SIZE
Definition RoveCommManifest.h:1276
static constexpr DataTypes TYPE
Definition RoveCommManifest.h:1275
Definition RoveCommManifest.h:1263
static constexpr size_t SIZE
Definition RoveCommManifest.h:1393
char c_type
Definition RoveCommManifest.h:1392
double c_type
Definition RoveCommManifest.h:1385
static constexpr size_t SIZE
Definition RoveCommManifest.h:1386
float c_type
Definition RoveCommManifest.h:1378
static constexpr size_t SIZE
Definition RoveCommManifest.h:1379
static constexpr size_t SIZE
Definition RoveCommManifest.h:1351
int16_t c_type
Definition RoveCommManifest.h:1350
int32_t c_type
Definition RoveCommManifest.h:1364
static constexpr size_t SIZE
Definition RoveCommManifest.h:1365
static constexpr size_t SIZE
Definition RoveCommManifest.h:1337
int8_t c_type
Definition RoveCommManifest.h:1336
static constexpr size_t SIZE
Definition RoveCommManifest.h:1358
uint16_t c_type
Definition RoveCommManifest.h:1357
static constexpr size_t SIZE
Definition RoveCommManifest.h:1372
uint32_t c_type
Definition RoveCommManifest.h:1371
uint8_t c_type
Definition RoveCommManifest.h:1343
static constexpr size_t SIZE
Definition RoveCommManifest.h:1344
Definition RoveCommManifest.h:1331
Manifest Entry Object for RoveComm.
Definition RoveCommManifest.h:106
int DATA_COUNT
Definition RoveCommManifest.h:109
DataTypes DATA_TYPE
Definition RoveCommManifest.h:110
int DATA_ID
Definition RoveCommManifest.h:108