Skip to content

Commit 590512d

Browse files
committed
Remove unused SHOULD_FAIL_NORMAL_MISSION
1 parent cfa4eef commit 590512d

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ pip install -r requirements.txt -e .[dev]
3333

3434
Specific mission and task behaviours can be configured as enviorment variables. These are optional and do not have to be set. These allow for always failing specific mission types, failing specific task types, setting custom task durations, and setting custom mission durations. The following list shows all configurable environment variables. In this case "normal" means non-localization or return to home tasks.
3535

36-
The variable names and types are as follows:
36+
The variable names and types are as follows:
37+
3738
```env
3839
TASK_DURATION_IN_SECONDS: float
3940
MISSION_DURATION_IN_SECONDS: float
4041
SHOULD_FAIL_NORMAL_TASK: bool
41-
SHOULD_FAIL_NORMAL_MISSION: bool
42-
SHOULD_FAIL_RETURN_TO_HOME_TASK: bool
42+
SHOULD_FAIL_RETURN_TO_HOME_TASK: bool
4343
SHOULD_FAIL_RETURN_TO_HOME_MISSION: bool
4444
```
4545

46-
Every configuration variable is defined in [settings.py](https://github.com/equinor/isar-robot/blob/main/src/isar_robot/config/settings.py), and they may all be overwritten by specifying the variables in your ".env" file in [ISAR](https://github.com/equinor/isar). Note that the configuration variable must be prefixed with ROBOT_ when specified in the ISAR environment file.
46+
Every configuration variable is defined in [settings.py](https://github.com/equinor/isar-robot/blob/main/src/isar_robot/config/settings.py), and they may all be overwritten by specifying the variables in your ".env" file in [ISAR](https://github.com/equinor/isar). Note that the configuration variable must be prefixed with ROBOT\_ when specified in the ISAR environment file.
4747

4848
# Dependencies
4949

src/isar_robot/config/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def __init__(self) -> None:
1515

1616
TASK_DURATION_IN_SECONDS: float = Field(default=5.0)
1717
INITIATE_MISSION_DURATION_IN_SECONDS: float = Field(default=0.1)
18-
SHOULD_FAIL_NORMAL_MISSION: bool = Field(default=False)
1918
SHOULD_FAIL_NORMAL_TASK: bool = Field(default=False)
2019
SHOULD_FAIL_RETURN_TO_HOME_TASK: bool = Field(default=False)
2120
SHOULD_FAIL_RETURN_TO_HOME_MISSION: bool = Field(default=False)

0 commit comments

Comments
 (0)