Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
99a22609
Commit
99a22609
authored
Jan 23, 2012
by
Lionel Heng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/v10release' into v10release
parents
97150a4a
4ce3ce38
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
883 additions
and
1 deletion
+883
-1
mavlink_protobuf_manager.hpp
thirdParty/mavlink/include/mavlink_protobuf_manager.hpp
+17
-0
mavlink_types.h
thirdParty/mavlink/include/mavlink_types.h
+13
-1
pixhawk.pb.h
thirdParty/mavlink/include/pixhawk/pixhawk.pb.h
+853
-0
No files found.
thirdParty/mavlink/include/mavlink_protobuf_manager.hpp
View file @
99a22609
...
...
@@ -42,6 +42,18 @@ public:
registerType
(
msg
);
}
// register ObstacleList
{
std
::
tr1
::
shared_ptr
<
px
::
ObstacleList
>
msg
(
new
px
::
ObstacleList
);
registerType
(
msg
);
}
// register ObstacleMap
{
std
::
tr1
::
shared_ptr
<
px
::
ObstacleMap
>
msg
(
new
px
::
ObstacleMap
);
registerType
(
msg
);
}
srand
(
time
(
NULL
));
mStreamID
=
rand
()
+
1
;
}
...
...
@@ -186,6 +198,11 @@ public:
if
(
offset
==
0
)
{
queue
.
push_back
(
msg
);
if
((
flags
&
0x1
)
!=
0x1
)
{
reassemble
=
true
;
}
}
else
{
...
...
thirdParty/mavlink/include/mavlink_types.h
View file @
99a22609
...
...
@@ -15,10 +15,21 @@
#define MAVLINK_MAX_PACKET_LEN (MAVLINK_MAX_PAYLOAD_LEN + MAVLINK_NUM_NON_PAYLOAD_BYTES) ///< Maximum packet length
#if (defined __GNUC__) || (defined _MSC_VER) || (defined __MINGW32__) || (defined __WATCOMC__) || (defined __CMB__) || (defined __BORLANDC__) || (defined __clang__)
#define MAVLINK_EXTENDED_MESSAGES_ENABLED
#endif
// EXTENDED message definition - the extended message set is compatible to standard MAVLink message passing
// but does NOT have to be supported by the platform. The extended message set will NOT consume
// any memory if the messages are not explicitely used
#ifdef MAVLINK_EXTENDED_MESSAGES_ENABLED
#define MAVLINK_MSG_ID_EXTENDED_MESSAGE 255
#define MAVLINK_EXTENDED_HEADER_LEN 14
#define MAVLINK_MAX_EXTENDED_PACKET_LEN 65507
#define MAVLINK_MAX_EXTENDED_PAYLOAD_LEN (MAVLINK_MAX_EXTENDED_PACKET_LEN - MAVLINK_EXTENDED_HEADER_LEN - MAVLINK_NUM_NON_PAYLOAD_BYTES)
#endif
typedef
struct
param_union
{
union
{
...
...
@@ -51,12 +62,13 @@ typedef struct __mavlink_message {
uint64_t
payload64
[(
MAVLINK_MAX_PAYLOAD_LEN
+
MAVLINK_NUM_CHECKSUM_BYTES
+
7
)
/
8
];
}
mavlink_message_t
;
#ifdef MAVLINK_EXTENDED_MESSAGES_ENABLED
typedef
struct
__mavlink_extended_message
{
mavlink_message_t
base_msg
;
int32_t
extended_payload_len
;
///< Length of extended payload if any
uint8_t
extended_payload
[
MAVLINK_MAX_EXTENDED_PAYLOAD_LEN
];
}
mavlink_extended_message_t
;
#endif
typedef
enum
{
...
...
thirdParty/mavlink/include/pixhawk/pixhawk.pb.h
View file @
99a22609
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment