Skip to content

Commit e841d49

Browse files
committed
fix relative imports
1 parent 8a4086b commit e841d49

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

robot/apriltags3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import numpy as np
2222
import scipy.spatial.transform as transform
2323

24-
from .game_config import MARKER, MARKER_TYPE
24+
from robot.game_config import MARKER, MARKER_TYPE
2525

2626

2727
######################################################################

robot/vision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from typing import NamedTuple, Any
1313

1414

15-
from .game_config import MARKER, WHITE, BASE_MARKER as MarkerInfo
15+
from robot.game_config import MARKER, WHITE, BASE_MARKER as MarkerInfo
1616

1717
import cv2
1818
import numpy as np

robot/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class to their respecitve classes
1919

2020
from .cytron import CytronBoard
2121
from .greengiant import GreenGiantInternal, GreenGiantGPIOPinList, GreenGiantMotors, _GG_SERVO_PWM_BASE, _GG_GPIO_PWM_BASE, _GG_GPIO_GPIO_BASE, _GG_SERVO_GPIO_BASE
22-
from .game_config import TEAM, POEM_ON_STARTUP
22+
from robot.game_config import TEAM, POEM_ON_STARTUP
2323
from . import game_config, vision
2424

2525
from hopper.client import *

0 commit comments

Comments
 (0)