-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first commit * Kalman estimate node * some progress * orientation fixed * robot localization works as expected * explain orientation
- Loading branch information
Showing
24 changed files
with
248 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: GPS localization | ||
--- | ||
# {{ $frontmatter.title }} | ||
|
||
::: tip | ||
Work in progress | ||
::: | ||
|
||
## Overview | ||
|
||
## RTCM | ||
|
||
NTRIP cluster client is force-enabled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: Robot localization | ||
--- | ||
# {{ $frontmatter.title }} | ||
|
||
## Overview | ||
|
||
Robot pose is based on an absolute position from GPS and relative readings from wheel odometry and IMU. | ||
Orientation is not known on startup and defaults to 0. | ||
|
||
As soon as robot starts moving, orientation is assumed based on robot motion and sensors reading. | ||
It might take a while to get an accurate orientation. Best to start moving in a straight line and do a few circles. | ||
|
||
Currently, there is no fallback scenario if had its position changed externally. For example, if you move the robot manually, it will not be able to recover position itself. It will require same procedure as on startup. | ||
|
||
Later on, when undocking behavior is implemented, it will be possible to recover orientation knowing base station position. | ||
|
||
## Sensors | ||
|
||
[robot_localization documentation](http://docs.ros.org/en/melodic/api/robot_localization/html/integrating_gps.html) nicely describes | ||
how to get wheel odometry, GPS and IMU sensors data fusion to get an accurate localization. | ||
|
||
![Senor data flow](http://docs.ros.org/en/melodic/api/robot_localization/html/_images/navsat_transform_workflow.png) | ||
|
||
### Wheel odometry | ||
|
||
Default motor controller VESC reports wheel odometry. | ||
|
||
### IMU | ||
|
||
Accelerometer and gyroscope is required. Magnetometer is not fused. | ||
|
||
### GPU | ||
|
||
It's expected GPS is RTK capable. Otherwise, localization will be inaccurate. | ||
More on this in [GPS](gps.md) section. | ||
|
||
## Configuration | ||
|
||
<<< ../src/openmower/config/robot_localization.yaml{yaml} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export OM_DATUM_LAT=-22.9 | ||
export OM_DATUM_LONG=-43.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.