|
Post by deniseund on Aug 9, 2017 19:05:21 GMT -7
Hello, We are trying to zero our servos and are getting an import error while running the ServoController.py- it says "cannot import SerialDevice from Antenna_Tracker_and_RFD_Controls_GUI". This issue has happened on both of our ground station computers. We did zero our servos a couple of days before the Aug 3 update with the old Maestro Servo Control program and everything ran smoothly. Unfortunately we overwrote this program when installing the new antenna tracker software, and do not have a copy of the old functional program anywhere; it has also been erased from Github. Has anyone else encountered this issue, and does anyone have a copy of the old software that we can use instead, in case we are unable to fix the new code issue? Screenshot of the error message below.
|
|
|
Post by Trevor MSGC on Aug 10, 2017 9:56:57 GMT -7
How are you trying to launch the ground station code?
|
|
|
Post by deniseund on Aug 10, 2017 11:52:19 GMT -7
We have tried by clicking on the program in the folder and by launching through cmd.
|
|
|
Post by anamika on Aug 10, 2017 13:26:36 GMT -7
I tried to resolve the error which it gives while importing the SerialDevice class from the Antenna_Tracker_and_RFD_Controls_GUI.py file by creating a empty python file named "__init__.py". Also, I tried to change the initial code in the ServoController.py file from "from Antenna_Tracker_and_RFD_Controls_GUI import SerialDevice" to "from Antenna_Tracker_and_RFD_Controls_GUI import *", though the import error stopped coming after these changes but it doesn't pops up any GUI program for the ServoController as shown in the youtube video:
.
|
|
|
Post by deniseund on Aug 12, 2017 16:38:10 GMT -7
We are still unable to figure out a solution- has anyone else encountered this? We plan on wrapping our ground station very thoroughly, but are travelling about 15 hours to our launch site for the eclipse and are worried about the trip if we are unable to get the servos zeroed.
|
|
|
Post by Trevor MSGC on Aug 14, 2017 10:18:00 GMT -7
I would try deleting your local copy and re-downloading the repository.
|
|
|
Post by anamika on Aug 14, 2017 15:27:03 GMT -7
I have deleted the local copy of Antenna_Tracker and downloaded the latest repository again from git but it still giving the same issue.
|
|
|
Post by Trevor MSGC on Aug 16, 2017 9:19:10 GMT -7
Try updating the pyserial library
|
|
|
Post by anamika on Aug 16, 2017 15:56:37 GMT -7
Updated pyserial using pip command but still facing the issue. Servo Controller GUI never pops!
|
|