Skip to content

Commit 13a259a

Browse files
authored
F pedal mock toggle (#55)
* Adding toggle method to pedal mock * Copyright fix * Making pedal mock gracefully fail in non-x-server environments (e.g. CI) * Flow improvments to pedal mock * Lint fixes * No, use the old linter, don't need two people fixing one repo... * OK, never mind
1 parent 3a3ab54 commit 13a259a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sr_pedal/src/sr_pedal/sr_triple_pedal_mock.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
# with this program. If not, see <http://www.gnu.org/licenses/>.
1818

1919
from __future__ import absolute_import
20-
import rospy
20+
2121
import sys
22-
from sr_pedal.msg import Status
2322
from threading import Lock, Thread
2423

24+
import rospy
25+
26+
from sr_pedal.msg import Status
27+
2528
# If we're in a non-X-server (e.g. CI) environment, this import will fail
2629
try:
2730
from pynput import keyboard

0 commit comments

Comments
 (0)