Files
MotorDriver.Research/ODrive-fw-v0.5.6/Firmware/interface_generator_stub.py
T

14 lines
548 B
Python
Raw Normal View History

2025-05-13 01:34:53 +03:00
#!/bin/python3
import sys
import os
try:
path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'tools', 'fibre-tools', 'interface_generator.py')
exec(compile(open(path).read(), path, 'exec'))
except ImportError as ex:
print(str(ex), file=sys.stderr)
print("Note that there are new compile-time dependencies since around v0.5.1.", file=sys.stderr)
print("Check out https://github.com/odriverobotics/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.", file=sys.stderr)
exit(1)