Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
wolf
Merge requests
!323
Resolve "New data structure for storing stateblocks"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "New data structure for storing stateblocks"
256-new-data-structure-for-storing-stateblocks
into
devel
Overview
0
Commits
47
Pipelines
28
Changes
3
Merged
Joan Solà Ortega
requested to merge
256-new-data-structure-for-storing-stateblocks
into
devel
5 years ago
Overview
0
Commits
47
Pipelines
28
Changes
3
Expand
Closes
#256 (closed)
Edited
5 years ago
by
Joan Solà Ortega
0
0
Merge request reports
Viewing commit
24156ce3
Prev
Next
Show latest version
3 files
+
8
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
24156ce3
Use factory keys as for new definition, equal to class name
· 24156ce3
Joan Solà Ortega
authored
5 years ago
hello_wolf/hello_wolf.cpp
+
4
−
4
Options
@@ -112,7 +112,7 @@ int main()
// sensor odometer 2D
IntrinsicsOdom2DPtr
intrinsics_odo
=
std
::
make_shared
<
IntrinsicsOdom2D
>
();
SensorBasePtr
sensor_odo
=
problem
->
installSensor
(
"
ODOM
2D"
,
"sensor odo"
,
Vector3s
(
0
,
0
,
0
),
intrinsics_odo
);
SensorBasePtr
sensor_odo
=
problem
->
installSensor
(
"
SensorOdom
2D"
,
"sensor odo"
,
Vector3s
(
0
,
0
,
0
),
intrinsics_odo
);
// processor odometer 2D
ProcessorParamsOdom2DPtr
params_odo
=
std
::
make_shared
<
ProcessorParamsOdom2D
>
();
@@ -123,19 +123,19 @@ int main()
params_odo
->
angle_turned
=
999
;
params_odo
->
cov_det
=
999
;
params_odo
->
unmeasured_perturbation_std
=
0.001
;
ProcessorBasePtr
processor
=
problem
->
installProcessor
(
"
ODOM
2D"
,
"processor odo"
,
sensor_odo
,
params_odo
);
ProcessorBasePtr
processor
=
problem
->
installProcessor
(
"
ProcessorOdom
2D"
,
"processor odo"
,
sensor_odo
,
params_odo
);
// sensor Range and Bearing
IntrinsicsRangeBearingPtr
intrinsics_rb
=
std
::
make_shared
<
IntrinsicsRangeBearing
>
();
intrinsics_rb
->
noise_range_metres_std
=
0.1
;
intrinsics_rb
->
noise_bearing_degrees_std
=
1.0
;
SensorBasePtr
sensor_rb
=
problem
->
installSensor
(
"
RANGE BEARING
"
,
"sensor RB"
,
Vector3s
(
1
,
1
,
0
),
intrinsics_rb
);
SensorBasePtr
sensor_rb
=
problem
->
installSensor
(
"
SensorRangeBearing
"
,
"sensor RB"
,
Vector3s
(
1
,
1
,
0
),
intrinsics_rb
);
// processor Range and Bearing
ProcessorParamsRangeBearingPtr
params_rb
=
std
::
make_shared
<
ProcessorParamsRangeBearing
>
();
params_rb
->
voting_active
=
false
;
params_rb
->
time_tolerance
=
0.01
;
ProcessorBasePtr
processor_rb
=
problem
->
installProcessor
(
"
RANGE BEARING
"
,
"processor RB"
,
sensor_rb
,
params_rb
);
ProcessorBasePtr
processor_rb
=
problem
->
installProcessor
(
"
ProcessorRangeBearing
"
,
"processor RB"
,
sensor_rb
,
params_rb
);
// initialize
TimeStamp
t
(
0.0
);
// t : 0.0
Loading