-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'H180Motor' object has no attribute 'serial' #21
Comments
FYI: I also get these warnings in a loop. This starts to show up when I launch the browser and SRT's Dash.
To fix this, maybe one more parameter should be added to the config file: I also got during env activation:
From activated env I did: |
Temporary fix, see: MITHaystack#21 (comment)
We have H180 and whether it is connected or not we are getting:
I modified https://github.com/MITHaystack/srt-py/blob/master/srt/daemon/rotor_control/motors.py#L352 to:
Motor.__init__(self, port, az_limits=(-0.7,359), el_limits=(8.4,80), baudrate=2400),
and the error is gone. Also (89df766):
Motor.__init__(self, port, az_limits=az_limits, el_limits=el_limits, baudrate=baudrate),
is working. I got :
Doing (esp8266/source-code-examples#26 (comment)):
sudo usermod -a -G tty,dialout $USER
fixed it and now its working.
The text was updated successfully, but these errors were encountered: