Skip to content

Commit 3d7e093

Browse files
committed
refactor smartdamp instance
1 parent 7bf1a43 commit 3d7e093

8 files changed

+1156
-12
lines changed

.idea/workspace.xml

+10-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/mecanum_roboclaw_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from roboclaw import Roboclaw
21
from architecture.scheduler import Scheduler
32
from architecture.architecture_relationships import Command, DelayCommand, Topic, Subscriber, Message
43
import numpy as np
@@ -346,6 +345,7 @@ def main():
346345
# determine if we are running on the robot based on if the roboclaws exist.
347346
is_running_on_robot = True
348347
try:
348+
from roboclaw import Roboclaw
349349
roboclaw1 = Roboclaw('/dev/ttyACM1', BAUD)
350350
roboclaw2 = Roboclaw('/dev/ttyACM0', BAUD)
351351
roboclaw1.Open()

0 commit comments

Comments
 (0)