Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ The variable names and types are as follows:
TASK_DURATION_IN_SECONDS: float
MISSION_DURATION_IN_SECONDS: float
SHOULD_FAIL_NORMAL_TASK: bool
SHOULD_FAIL_NORMAL_MISSION: bool
SHOULD_FAIL_RETURN_TO_HOME_TASK: bool
SHOULD_FAIL_RETURN_TO_HOME_MISSION: bool
SHOULD_FAIL_RETURN_TO_HOME_TASK: bool
```

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.
Expand Down
2 changes: 0 additions & 2 deletions src/isar_robot/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ def __init__(self) -> None:

TASK_DURATION_IN_SECONDS: float = Field(default=5.0)
INITIATE_MISSION_DURATION_IN_SECONDS: float = Field(default=0.1)
SHOULD_FAIL_NORMAL_MISSION: bool = Field(default=False)
SHOULD_FAIL_NORMAL_TASK: bool = Field(default=False)
SHOULD_FAIL_RETURN_TO_HOME_TASK: bool = Field(default=False)
SHOULD_FAIL_RETURN_TO_HOME_MISSION: bool = Field(default=False)
SHOULD_HAVE_RANDOM_BATTERY_LEVEL: bool = Field(default=False)
ROBOT_POSE_PUBLISH_INTERVAL: float = Field(default=5)
ROBOT_BATTERY_PUBLISH_INTERVAL: float = Field(default=2)
Expand Down