forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: M. Fatih Cırıt <[email protected]>
- Loading branch information
M. Fatih Cırıt
committed
May 6, 2024
1 parent
f72ce74
commit 0d85b8e
Showing
19 changed files
with
394 additions
and
389 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
localization/autoware_pose_covariance_modifier/CMakeLists.txt
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,19 @@ | ||
cmake_minimum_required(VERSION 3.14) | ||
project(autoware_pose_covariance_modifier) | ||
|
||
find_package(autoware_cmake REQUIRED) | ||
autoware_package() | ||
|
||
ament_auto_add_library(${PROJECT_NAME} SHARED | ||
src/pose_covariance_modifier.cpp | ||
) | ||
|
||
rclcpp_components_register_node(${PROJECT_NAME} | ||
PLUGIN "autoware::pose_covariance_modifier::PoseCovarianceModifierNode" | ||
EXECUTABLE ${PROJECT_NAME}_node | ||
) | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
config | ||
launch | ||
) |
File renamed without changes.
18 changes: 18 additions & 0 deletions
18
localization/autoware_pose_covariance_modifier/config/pose_covariance_modifier.param.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/**: | ||
ros__parameters: | ||
# If GNSS yaw standard deviation values are larger than this, trust only NDT | ||
threshold_gnss_stddev_yaw_deg_max: 0.3 | ||
|
||
# If GNSS position Z standard deviation values are larger than this, trust only NDT | ||
threshold_gnss_stddev_z_max: 0.1 | ||
|
||
# If GNSS position XY standard deviation values are lower than this, trust only GNSS | ||
threshold_gnss_stddev_xy_bound_lower: 0.1 | ||
|
||
# If GNSS position XY standard deviation values are higher than this, trust only NDT | ||
threshold_gnss_stddev_xy_bound_upper: 0.25 | ||
|
||
# If GNSS data is not received for this duration, trust only NDT | ||
gnss_pose_timeout_sec: 1.0 | ||
|
||
enable_debug_topics: true |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...ce_modifier_node/media/formula.drawio.svg → ...ariance_modifier/media/formula.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions
6
...ndt_stddev_calculation_formula.drawio.svg → ...ndt_stddev_calculation_formula.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>autoware_pose_covariance_modifier_node</name> | ||
<name>autoware_pose_covariance_modifier</name> | ||
<version>1.0.0</version> | ||
<description>Converts an autoware_msgs message to autoware_auto_msgs version and publishes it.</description> | ||
<description> Add a description. </description> | ||
|
||
<maintainer email="[email protected]">Melike Tanrikulu</maintainer> | ||
|
||
|
@@ -15,8 +15,10 @@ | |
<build_depend>rosidl_default_generators</build_depend> | ||
|
||
<depend>geometry_msgs</depend> | ||
<depend>interpolation</depend> | ||
<depend>rclcpp</depend> | ||
<depend>rclcpp_components</depend> | ||
<depend>std_msgs</depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
|
67 changes: 67 additions & 0 deletions
67
localization/autoware_pose_covariance_modifier/schema/pose_covariance_modifier.schema.json
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,67 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Pose Covariance Modifier Node Parameters", | ||
"type": "object", | ||
"actual_parameters": { | ||
"type": "object", | ||
"properties": { | ||
"threshold_gnss_stddev_yaw_deg_max": { | ||
"type": "number", | ||
"default": 0.3, | ||
"description": "If GNSS yaw standard deviation values are larger than this, trust only NDT" | ||
}, | ||
"threshold_gnss_stddev_z_max": { | ||
"type": "number", | ||
"default": 0.1, | ||
"description": "If GNSS position Z standard deviation values are larger than this, trust only NDT" | ||
}, | ||
"threshold_gnss_stddev_xy_bound_lower": { | ||
"type": "number", | ||
"default": 0.1, | ||
"description": "If GNSS position XY standard deviation values are lower than this, trust only GNSS" | ||
}, | ||
"threshold_gnss_stddev_xy_bound_upper": { | ||
"type": "number", | ||
"default": 0.25, | ||
"description": "If GNSS position XY standard deviation values are higher than this, trust only NDT" | ||
}, | ||
"gnss_pose_timeout_sec": { | ||
"type": "number", | ||
"default": 1.0, | ||
"description": "If GNSS data is not received for this duration, trust only NDT" | ||
}, | ||
"enable_debug_topics": { | ||
"type": "boolean", | ||
"default": true, | ||
"description": "Publish additional debug topics" | ||
} | ||
}, | ||
"required": [ | ||
"threshold_gnss_stddev_yaw_deg_max", | ||
"threshold_gnss_stddev_z_max", | ||
"threshold_gnss_stddev_xy_bound_lower", | ||
"threshold_gnss_stddev_xy_bound_upper", | ||
"gnss_pose_timeout_sec", | ||
"enable_debug_topics" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/actual_parameters" | ||
} | ||
}, | ||
"required": [ | ||
"ros__parameters" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"/**" | ||
], | ||
"additionalProperties": false | ||
} |
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.