You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
376 B
19 lines
376 B
2 years ago
|
#!/usr/bin/env python
|
||
|
import sys
|
||
|
|
||
|
from panda import PandaJungle
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
jungle = PandaJungle()
|
||
|
|
||
|
# If first argument specified, it sets the ignition (0 or 1)
|
||
|
if len(sys.argv) > 1:
|
||
|
if sys.argv[1] == '1':
|
||
|
jungle.set_ignition(True)
|
||
|
else:
|
||
|
jungle.set_ignition(False)
|
||
|
jungle.set_harness_orientation(1)
|
||
|
jungle.set_panda_power(True)
|
||
|
|
||
|
|