-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from husarion/ros2-param-gen
Generate node parameters using generate_parameter_library
- Loading branch information
Showing
33 changed files
with
442 additions
and
142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
battery: | ||
adc: | ||
device0: | ||
type: string | ||
default_value: "/sys/bus/iio/devices/iio:device0" | ||
description: "Internal ADC0 IIO device." | ||
validation: { not_empty<> } | ||
|
||
device1: | ||
type: string | ||
default_value: "/sys/bus/iio/devices/iio:device1" | ||
description: "Internal ADC1 IIO device." | ||
validation: { not_empty<> } | ||
|
||
ma_window_len: | ||
charge: | ||
type: int | ||
default_value: 10 | ||
description: "Window length of a moving average, used to smooth out battery charge readings." | ||
validation: { gt<>: 0 } | ||
|
||
temp: | ||
type: int | ||
default_value: 10 | ||
description: "Window length of a moving average, used to smooth out battery temperature readings." | ||
validation: { gt<>: 0 } | ||
|
||
ma_window_len: | ||
voltage: | ||
type: int | ||
default_value: 10 | ||
description: "Window length of a moving average, used to smooth out battery voltage readings." | ||
validation: { gt<>: 0 } | ||
|
||
current: | ||
type: int | ||
default_value: 10 | ||
description: "Window length of a moving average, used to smooth out battery current readings." | ||
validation: { gt<>: 0 } | ||
|
||
roboteq: | ||
driver_state_timeout: | ||
type: double | ||
default_value: 0.2 | ||
description: "Timeout in seconds after which driver state messages will be considered old. Used as a fallback when ADC data is not available." | ||
validation: { gt<>: 0.0 } | ||
|
||
battery_timeout: | ||
type: double | ||
default_value: 1.0 | ||
description: "Timeout in seconds. If the node fails to read battery data exceeding this duration, the node will publish an unknown battery state." | ||
validation: { gt<>: 0.0 } |
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
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
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.