Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
ros-msgs-arduino-lib
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
Show more breadcrumbs
CdF
CdF 2020-2021
modules
libraries
communication
messages
ros-msgs-arduino-lib
Commits
7e38c10a
Commit
7e38c10a
authored
4 years ago
by
Compiler bot
Browse files
Options
Downloads
Patches
Plain Diff
autogen lib 2021-06-23T16:03:59+02:00
parent
4bfddfd8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mccd_msgs/Odometry.h
+17
-7
17 additions, 7 deletions
mccd_msgs/Odometry.h
nav_msgs/GetPlan.h
+1
-1
1 addition, 1 deletion
nav_msgs/GetPlan.h
with
18 additions
and
8 deletions
mccd_msgs/
Position
.h
→
mccd_msgs/
Odometry
.h
+
17
−
7
View file @
7e38c10a
#ifndef _ROS_mccd_msgs_
Position
_h
#ifndef _ROS_mccd_msgs_
Odometry
_h
#define _ROS_mccd_msgs_
Position
_h
#define _ROS_mccd_msgs_
Odometry
_h
#include
<stdint.h>
#include
<stdint.h>
#include
<string.h>
#include
<string.h>
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
namespace
mccd_msgs
namespace
mccd_msgs
{
{
class
Position
:
public
ros
::
Msg
class
Odometry
:
public
ros
::
Msg
{
{
public:
public:
typedef
float
_x_type
;
typedef
float
_x_type
;
...
@@ -18,11 +18,17 @@ namespace mccd_msgs
...
@@ -18,11 +18,17 @@ namespace mccd_msgs
_y_type
y
;
_y_type
y
;
typedef
float
_theta_type
;
typedef
float
_theta_type
;
_theta_type
theta
;
_theta_type
theta
;
typedef
float
_left_wheel_linear_speed_type
;
_left_wheel_linear_speed_type
left_wheel_linear_speed
;
typedef
float
_right_wheel_linear_speed_type
;
_right_wheel_linear_speed_type
right_wheel_linear_speed
;
Position
()
:
Odometry
()
:
x
(
0
),
x
(
0
),
y
(
0
),
y
(
0
),
theta
(
0
)
theta
(
0
),
left_wheel_linear_speed
(
0
),
right_wheel_linear_speed
(
0
)
{
{
}
}
...
@@ -32,6 +38,8 @@ namespace mccd_msgs
...
@@ -32,6 +38,8 @@ namespace mccd_msgs
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
x
);
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
x
);
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
y
);
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
y
);
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
theta
);
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
theta
);
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
left_wheel_linear_speed
);
offset
+=
serializeAvrFloat64
(
outbuffer
+
offset
,
this
->
right_wheel_linear_speed
);
return
offset
;
return
offset
;
}
}
...
@@ -41,11 +49,13 @@ namespace mccd_msgs
...
@@ -41,11 +49,13 @@ namespace mccd_msgs
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
x
));
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
x
));
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
y
));
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
y
));
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
theta
));
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
theta
));
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
left_wheel_linear_speed
));
offset
+=
deserializeAvrFloat64
(
inbuffer
+
offset
,
&
(
this
->
right_wheel_linear_speed
));
return
offset
;
return
offset
;
}
}
virtual
const
char
*
getType
()
override
{
return
"mccd_msgs/
Position
"
;
};
virtual
const
char
*
getType
()
override
{
return
"mccd_msgs/
Odometry
"
;
};
virtual
const
char
*
getMD5
()
override
{
return
"
9
38
fa65709584ad8e77d238529be13b8
"
;
};
virtual
const
char
*
getMD5
()
override
{
return
"
b
38
882eca1cebf6837c7619e762604a5
"
;
};
};
};
...
...
This diff is collapsed.
Click to expand it.
nav_msgs/GetPlan.h
+
1
−
1
View file @
7e38c10a
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
#include
<string.h>
#include
<string.h>
#include
<stdlib.h>
#include
<stdlib.h>
#include
"ros/msg.h"
#include
"ros/msg.h"
#include
"nav_msgs/Path.h"
#include
"geometry_msgs/PoseStamped.h"
#include
"geometry_msgs/PoseStamped.h"
#include
"nav_msgs/Path.h"
namespace
nav_msgs
namespace
nav_msgs
{
{
...
...
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