Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
imu
Commits
5b09e33e
Commit
5b09e33e
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
documentation and identation
parent
887367e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!43
imu2d
,
!42
Merge imu2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/imu/sensor/sensor_imu2d.h
+4
-3
4 additions, 3 deletions
include/imu/sensor/sensor_imu2d.h
with
4 additions
and
3 deletions
include/imu/sensor/sensor_imu2d.h
+
4
−
3
View file @
5b09e33e
...
...
@@ -79,7 +79,7 @@ struct ParamsSensorImu2d : public ParamsSensorBase
wb_initial_stdev
=
_server
.
getParam
<
double
>
(
prefix
+
_unique_name
+
"/wb_initial_stdev"
);
ab_rate_stdev
=
_server
.
getParam
<
double
>
(
prefix
+
_unique_name
+
"/ab_rate_stdev"
);
wb_rate_stdev
=
_server
.
getParam
<
double
>
(
prefix
+
_unique_name
+
"/wb_rate_stdev"
);
orthogonal_gravity
=
_server
.
getParam
<
bool
>
(
prefix
+
_unique_name
+
"/orthogonal_gravity"
);
orthogonal_gravity
=
_server
.
getParam
<
bool
>
(
prefix
+
_unique_name
+
"/orthogonal_gravity"
);
}
std
::
string
print
()
const
override
{
...
...
@@ -90,7 +90,7 @@ struct ParamsSensorImu2d : public ParamsSensorBase
+
"wb_initial_stdev: "
+
std
::
to_string
(
wb_initial_stdev
)
+
"
\n
"
+
"ab_rate_stdev: "
+
std
::
to_string
(
ab_rate_stdev
)
+
"
\n
"
+
"wb_rate_stdev: "
+
std
::
to_string
(
wb_rate_stdev
)
+
"
\n
"
+
"orthogonal_gravity: "
+
std
::
to_string
(
orthogonal_gravity
)
+
"
\n
"
;
+
"orthogonal_gravity: "
+
std
::
to_string
(
orthogonal_gravity
)
+
"
\n
"
;
}
};
...
...
@@ -108,7 +108,8 @@ class SensorImu2d : public SensorBase
double
wb_initial_stdev
;
//gyroscope rad/sec
double
ab_rate_stdev
;
//accelerometer m/sec^2 / sqrt(sec)
double
wb_rate_stdev
;
//gyroscope rad/sec / sqrt(sec)
bool
orthogonal_gravity
;
bool
orthogonal_gravity
;
// Is the 2D plane orthogonal to gravity?
public:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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