Skip to content

Commit

Permalink
fix precommit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes-Thiel committed Dec 6, 2024
1 parent 650aacf commit 03d1643
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions field_friend/app_controls.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import rosys
from rosys.automation import Automator
from rosys.automation import app_controls as RosysAppControls
from rosys.automation import app_controls as RosysAppControls # noqa ignore this due to being a class
from rosys.hardware import RobotBrain

from .hardware.field_friend import FieldFriend
import rosys


class AppControls(RosysAppControls):
Expand All @@ -25,7 +26,7 @@ async def sync(self) -> None:
infos = []

if self.robot.estop.active:
infos.append("E Stop active")
infos.append('E Stop active')
if self.robot.bumper.active_bumpers:
infos.append(f'Bumper ({" ".join(self.robot.bumper.active_bumpers)}) active')
if self.robot.bms.state.is_charging:
Expand Down
3 changes: 2 additions & 1 deletion field_friend/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
import numpy as np
import psutil
import rosys
from .app_controls import AppControls as app_controls

import config.config_selection as config_selector

from . import localization
from .app_controls import AppControls as app_controls
from .automations import (
AutomationWatcher,
BatteryWatcher,
Expand Down

0 comments on commit 03d1643

Please sign in to comment.