Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
messages-schemas-nanopb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
CdF
CdF 2020-2021
modules
libraries
communication
messages
messages-schemas-nanopb
Commits
ab9d9a30
Commit
ab9d9a30
authored
4 years ago
by
Compiler bot
Browse files
Options
Downloads
Patches
Plain Diff
ci/Compilation of messages-schemas/f8ef1579b6dabcfa874294c8d71d5a91278da79e
parent
06111471
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
msg_mccd_order.pb.c
+1
-1
1 addition, 1 deletion
msg_mccd_order.pb.c
msg_mccd_order.pb.h
+12
-12
12 additions, 12 deletions
msg_mccd_order.pb.h
with
13 additions
and
13 deletions
msg_mccd_order.pb.c
+
1
−
1
View file @
ab9d9a30
...
...
@@ -9,7 +9,7 @@
PB_BIND
(
Point2D
,
Point2D
,
AUTO
)
PB_BIND
(
OdomMessage
,
OdomMessage
,
AUTO
)
PB_BIND
(
Msg_mccd_order
,
Msg_mccd_order
,
AUTO
)
This diff is collapsed.
Click to expand it.
msg_mccd_order.pb.h
+
12
−
12
View file @
ab9d9a30
...
...
@@ -14,10 +14,10 @@ extern "C" {
#endif
/* Struct definitions */
typedef
struct
_
OdomMessage
{
typedef
struct
_
Msg_mccd_order
{
float
linearSpeed
;
float
angularSpeed
;
}
OdomMessage
;
}
Msg_mccd_order
;
typedef
struct
_Point2D
{
float
x
;
...
...
@@ -27,13 +27,13 @@ typedef struct _Point2D {
/* Initializer values for message structs */
#define Point2D_init_default {0, 0}
#define
OdomMessage
_init_default
{0, 0}
#define
Msg_mccd_order
_init_default {0, 0}
#define Point2D_init_zero {0, 0}
#define
OdomMessage
_init_zero
{0, 0}
#define
Msg_mccd_order
_init_zero {0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define
OdomMessage
_linearSpeed_tag
4
#define
OdomMessage
_angularSpeed_tag
5
#define
Msg_mccd_order
_linearSpeed_tag 4
#define
Msg_mccd_order
_angularSpeed_tag 5
#define Point2D_x_tag 1
#define Point2D_y_tag 2
...
...
@@ -44,22 +44,22 @@ X(a, STATIC, SINGULAR, FLOAT, y, 2)
#define Point2D_CALLBACK NULL
#define Point2D_DEFAULT NULL
#define
OdomMessage
_FIELDLIST(X, a) \
#define
Msg_mccd_order
_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, FLOAT, linearSpeed, 4) \
X(a, STATIC, SINGULAR, FLOAT, angularSpeed, 5)
#define
OdomMessage
_CALLBACK NULL
#define
OdomMessage
_DEFAULT NULL
#define
Msg_mccd_order
_CALLBACK NULL
#define
Msg_mccd_order
_DEFAULT NULL
extern
const
pb_msgdesc_t
Point2D_msg
;
extern
const
pb_msgdesc_t
OdomMessage
_msg
;
extern
const
pb_msgdesc_t
Msg_mccd_order
_msg
;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define Point2D_fields &Point2D_msg
#define
OdomMessage_fields &OdomMessage
_msg
#define
Msg_mccd_order_fields &Msg_mccd_order
_msg
/* Maximum encoded size of messages (where known) */
#define Point2D_size 10
#define
OdomMessage
_size
10
#define
Msg_mccd_order
_size 10
#ifdef __cplusplus
}
/* extern "C" */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment