Skip to content

Commit

Permalink
refactor(sensing-imu-corrector): rework parameters (#5780)
Browse files Browse the repository at this point in the history
* sensing-imu-corrector

Signed-off-by: karishma <[email protected]>

* sensing-imu-corrector

Signed-off-by: karishma <[email protected]>

* sensing-imu-corrector

Signed-off-by: karishma <[email protected]>

---------

Signed-off-by: karishma <[email protected]>
Co-authored-by: KK <[email protected]>
  • Loading branch information
karishma1911 and kk2491 authored Dec 21, 2023
1 parent a3e3db6 commit 0f8e78f
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions sensing/imu_corrector/schema/imu_corrector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Parameters for imu_corrector",
"type": "object",
"definitions": {
"imu_corrector": {
"type": "object",
"properties": {
"angular_velocity_offset_x": {
"type": "number",
"description": "roll rate offset in imu_link [rad/s]."
},
"angular_velocity_offset_y": {
"type": "number",
"description": "pitch rate offset imu_link [rad/s]."
},
"angular_velocity_offset_z": {
"type": "number",
"description": "yaw rate offset imu_link [rad/s]."
},
"angular_velocity_stddev_xx": {
"type": "number",
"description": "roll rate standard deviation imu_link [rad/s]."
},
"angular_velocity_stddev_yy": {
"type": "number",
"description": "pitch rate standard deviation imu_link [rad/s]."
},
"angular_velocity_stddev_zz": {
"type": "number",
"description": "yaw rate standard deviation imu_link [rad/s]."
},
"acceleration_stddev": {
"type": "number",
"description": "acceleration standard deviation imu_link [m/s^2]."
}
},
"required": [
"angular_velocity_offset_x",
"angular_velocity_offset_y",
"angular_velocity_offset_z",
"angular_velocity_stddev_xx",
"angular_velocity_stddev_yy",
"angular_velocity_stddev_zz",
"acceleration_stddev"
]
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/imu_corrector"
}
},
"required": ["ros__parameters"]
}
},
"required": ["/**"]
}

0 comments on commit 0f8e78f

Please sign in to comment.