Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Open
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
23 changes: 9 additions & 14 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,21 @@ name: Mark stale issues and pull requests
on:
workflow_dispatch:
schedule:
- cron: '35 8 * * *'
- cron: "35 8 * * *"

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- name: Close Stale Issues
uses: actions/stale@v9.0.0
with:
repo-token: ${{ secrets.STALE_ISSUE_TOKEN }}
stale-issue-message: 'This issue has automatically been marked as stale as there has been no activity for 60 days. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This pull request has automatically been marked as stale as there has been no activity for 30 days. Remove stale label or comment or this will be closed in 7 days.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
close-issue-message: 'This issue has been closed automatically due to a lack of activity.'
close-pr-message: 'This pull request has been closed automatically due to a lack of activity.'
days-before-pr-stale: 30
days-before-close: -1
- name: Close Stale Issues
uses: actions/stale@v9.0.0
with:
repo-token: ${{ secrets.STALE_ISSUE_TOKEN }}
stale-issue-label: "stale"
stale-pr-label: "stale"
days-before-pr-stale: 30
days-before-close: -1
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# isar-exr

**Repo currently not maintained, not working with newest version of ISAR**

Integration and Supervisory control of Autonomous ground Robots - exr

The abbreviation "exr" stands for ExRobotics, the maker of the [ExR-2](https://exrobotics.global/robots/exr-2) robot, which this package is intended for.
Expand Down
20 changes: 10 additions & 10 deletions src/isar_exr/api/models/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@


class AwakeStatus(str, Enum):
Awake: str = "AWAKE"
Asleep: str = "ASLEEP"
WakingUp: str = "WAKING_UP"
GoingToSleep: str = "GOING_TO_SLEEP"
Awake = "AWAKE"
Asleep = "ASLEEP"
WakingUp = "WAKING_UP"
GoingToSleep = "GOING_TO_SLEEP"


class ChargingState(str, Enum):
Discharging: str = "DISCHARGING"
Charging: str = "CHARGING"
Charged: str = "CHARGED"
Discharging = "DISCHARGING"
Charging = "CHARGING"
Charged = "CHARGED"


class ChargerType(str, Enum):
NotConnected: str = "NOT_CONNECTED"
WiredCharger: str = "WIRED_CHARGER"
WirelessCharger: str = "WIRELESS_CHARGER"
NotConnected = "NOT_CONNECTED"
WiredCharger = "WIRED_CHARGER"
WirelessCharger = "WIRELESS_CHARGER"
23 changes: 12 additions & 11 deletions src/isar_exr/api/models/models.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from enum import Enum
from typing import Optional
from isar_exr.api.models.enums import ChargerType, ChargingState

from pydantic import BaseModel, Field

from isar_exr.api.models.enums import ChargerType, ChargingState


class Point3DInput(BaseModel):
x: float
Expand Down Expand Up @@ -31,9 +32,9 @@ class Pose3DStampedInput(BaseModel):


class PointOfInterestTypeEnum(str, Enum):
MANOMETER: str = "MANOMETER"
FIRE_EXTINGUISHER: str = "FIRE_EXTINGUISHER"
GENERIC: str = "GENERIC"
MANOMETER = "MANOMETER"
FIRE_EXTINGUISHER = "FIRE_EXTINGUISHER"
GENERIC = "GENERIC"


class PointOfInterestActionPhotoInput(BaseModel):
Expand Down Expand Up @@ -64,16 +65,16 @@ class PointOfInterestByCustomerTag(BaseModel):


class RobotTypeEnum(str, Enum):
SPOT: str = "SPOT"
EXR2: str = "EXR2"
ROVER: str = "ROVER"
DJI_DRONE: str = "DJI_DRONE"
SPOT = "SPOT"
EXR2 = "EXR2"
ROVER = "ROVER"
DJI_DRONE = "DJI_DRONE"


class PointOfInterestProducerTypeEnum(str, Enum):
ROBOT_TEACHING: str = "ROBOT_TEACHING"
VISUAL_MARKER: str = "VISUAL_MARKER"
MANUAL_IMPORT: str = "MANUAL_IMPORT"
ROBOT_TEACHING = "ROBOT_TEACHING"
VISUAL_MARKER = "VISUAL_MARKER"
MANUAL_IMPORT = "MANUAL_IMPORT"


class PointOfInterestProducerInput(BaseModel):
Expand Down
40 changes: 20 additions & 20 deletions src/isar_exr/models/step_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@


class ExrMissionStatus(str, Enum):
StartRequested: str = "START_REQUESTED"
PauseRequested: str = "PAUSE_REQUESTED"
ResumeRequested: str = "RESUME_REQUESTED"
Rejected: str = "REJECTED"
WakingUp: str = "WAKING_UP"
Starting: str = "STARTING"
InProgress: str = "IN_PROGRESS"
Paused: str = "PAUSED"
Completed: str = "COMPLETED"
ResetRequested: str = "RESET_REQUESTED"
StartRequested = "START_REQUESTED"
PauseRequested = "PAUSE_REQUESTED"
ResumeRequested = "RESUME_REQUESTED"
Rejected = "REJECTED"
WakingUp = "WAKING_UP"
Starting = "STARTING"
InProgress = "IN_PROGRESS"
Paused = "PAUSED"
Completed = "COMPLETED"
ResetRequested = "RESET_REQUESTED"

def to_mission_status(self) -> MissionStatus:
return {
Expand All @@ -32,16 +32,16 @@ def to_mission_status(self) -> MissionStatus:


class ExrStepStatus(str, Enum):
StartRequested: str = "START_REQUESTED"
PauseRequested: str = "PAUSE_REQUESTED"
ResumeRequested: str = "RESUME_REQUESTED"
Rejected: str = "REJECTED"
WakingUp: str = "WAKING_UP"
Starting: str = "STARTING"
InProgress: str = "IN_PROGRESS"
Paused: str = "PAUSED"
Completed: str = "COMPLETED"
ResetRequested: str = "RESET_REQUESTED"
StartRequested = "START_REQUESTED"
PauseRequested = "PAUSE_REQUESTED"
ResumeRequested = "RESUME_REQUESTED"
Rejected = "REJECTED"
WakingUp = "WAKING_UP"
Starting = "STARTING"
InProgress = "IN_PROGRESS"
Paused = "PAUSED"
Completed = "COMPLETED"
ResetRequested = "RESET_REQUESTED"

def to_step_status(self) -> StepStatus:
return {
Expand Down