Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto-abarzua committed Oct 16, 2023
1 parent 26323e2 commit a7b3f4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
8 changes: 1 addition & 7 deletions backend/src/utils/general.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import os
from pathlib import Path

import numpy as np
import toml
from fastapi import Depends
from robot_arm_controller.control.arm_kinematics import ArmParameters
from robot_arm_controller.controller import (
ArmController,
Settings,
SingletonArmController,
)
from robot_arm_controller.controller import ArmController, SingletonArmController

PARENT_DIR = Path(__file__).parent.parent
CONFIG_FILE = PARENT_DIR / "config" / "main_arm.toml"
Expand Down
3 changes: 1 addition & 2 deletions controller/src/robot_arm_controller/controller.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import dataclasses
import time
from enum import Enum
from os import walk
from pathlib import Path
from typing import Callable, Dict, List, Optional

import numpy as np
import toml
import toml # type: ignore

from robot_arm_controller.control.arm_kinematics import (
ArmKinematics,
Expand Down
4 changes: 2 additions & 2 deletions firmware/components/movement/movement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ bool MovementDriver::step() {
this->last_step_time = get_current_time_microseconds();
return false;
}
run_delay_microseconds(50);
run_delay_microseconds(10);
} else {
run_delay_microseconds(100);
run_delay_microseconds(30);
}
}

Expand Down

0 comments on commit a7b3f4c

Please sign in to comment.