File tree Expand file tree Collapse file tree 4 files changed +72
-2
lines changed
configuration/packages/bt-plugins/conditions Expand file tree Collapse file tree 4 files changed +72
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ Input Ports
10
10
11
11
:initial_pose_received:
12
12
13
- ===== ========================
14
- Type Default
13
+ ===== = ========================
14
+ Type Default
15
15
----- -------------------------
16
16
bool "{initial_pose_received}"
17
17
===== =========================
Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ IsBatteryCharging
6
6
Checks if the battery is charging by subscribing to a ``sensor_msgs/BatteryState `` topic and checking if the power_supply_status is ``POWER_SUPPLY_STATUS_CHARGING ``.
7
7
Returns SUCCESS in that case, FAILURE otherwise.
8
8
9
+ Input Ports
10
+ -----------
11
+
12
+ :battery_topic:
13
+ =============== ===================
14
+ Type Default
15
+ --------------- -------------------
16
+ string "/battery_status"
17
+ =============== ===================
18
+
19
+ Description
20
+ Topic for battery info.
21
+
9
22
Example
10
23
-------
11
24
Original file line number Diff line number Diff line change @@ -7,6 +7,39 @@ Checks if battery is low by subscribing to a ``sensor_msgs/BatteryState`` topic
7
7
By default percentage (in range 0 to 1) is used to check for low battery. Set the ``is_voltage `` parameter to `true ` to use voltage.
8
8
Returns SUCCESS when battery percentage/voltage is lower than the specified value, FAILURE otherwise.
9
9
10
+ Input Ports
11
+ -----------
12
+
13
+ :min_battery:
14
+ ====== =======
15
+ Type Default
16
+ ------ -------
17
+ double 0.0
18
+ ====== =======
19
+
20
+ Description
21
+ Min battery percentage or voltage before triggering.
22
+
23
+ :battery_topic:
24
+ =============== ===================
25
+ Type Default
26
+ --------------- -------------------
27
+ string "/battery_status"
28
+ =============== ===================
29
+
30
+ Description
31
+ Topic for battery info.
32
+
33
+ :is_voltage:
34
+ ====== =======
35
+ Type Default
36
+ ------ -------
37
+ bool false
38
+ ====== =======
39
+
40
+ Description
41
+ If true voltage will be used to check for low battery.
42
+
10
43
Example
11
44
-------
12
45
Original file line number Diff line number Diff line change @@ -6,6 +6,30 @@ PathExpiringTimer
6
6
Checks if the timer has expired. Returns success if the timer has expired, otherwise it returns failure.
7
7
The timer will reset if the path gets updated.
8
8
9
+ Input Ports
10
+ -----------
11
+
12
+ :seconds:
13
+ ====== =======
14
+ Type Default
15
+ ------ -------
16
+ double 1.0
17
+ ====== =======
18
+
19
+ Description
20
+ Time to check if expired.
21
+
22
+ :path:
23
+ ==================================== =======
24
+ Type Default
25
+ ------------------------------------ -------
26
+ nav_msgs::msg::Path N/A
27
+ ==================================== =======
28
+
29
+ Description
30
+ Check if path has been updated to enable timer reset.
31
+
32
+
9
33
Example
10
34
-------
11
35
You can’t perform that action at this time.
0 commit comments