|
Post by kendra on Jun 2, 2017 18:42:01 GMT -7
I am planning to do a flight tomorrow to test the range of the streaming video payload.
I updated the antenna tracker software for the new website and the GPS data seems to be coming in, but the GUI locks up when I Update Settings and it seems the Ground Station Data is not displaying.
The error on Spyder says:
C: \Anaconda2\lib\site-pacakges\matplotlib\_init_.py:1350: UserWarning: This call to matplotlib.use() has no effect because the backend has already been chosen; matplotlib.use() must be called *before* pylon, matplotlib.pyplot, or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
So this looks like some library is not set up right anymore.
What do I need to do to fix this?
Kendra
|
|
|
Post by kendra on Jun 3, 2017 4:49:58 GMT -7
I also updated Windows. So, it seems that some setting got changed and it isn't accepting the "Change Settings" after I try to change the ports.
I looked for the original setup information from the workshop, but cannot find it.
We will need to scrub the mission for today if this cannot be fixed.
Kendra
|
|
|
Post by irowe on Jun 5, 2017 7:59:37 GMT -7
kendra The warning you are getting is totally normal and shouldn't affect the performance of the program. Ours always does this. When you click update settings, the GUI will stop responding. This means the IMU has not been calibrated. Switch over to Spyder and look in the terminal window, where it should be printing a series of calibration values (Gyro, accel, mag, sys). Go through the calibration routine for the IMU and when all the values reach 3's, the GUI will update and respond again. Hope this helps!
|
|
|
Post by irowe on Jun 5, 2017 8:02:23 GMT -7
If you by chance don't know how to calibrate the IMU, check out slides 19 - 26 in this document
|
|
|
Post by kendra on Jun 6, 2017 15:25:10 GMT -7
The problem we were having was that it was locking up every time and not starting the calibration. So, we were not getting the input from the Arduino and it was freezing on the prior error.
After checking the cables and resetting the software on the Arduino, we set it up today and it seemed to be working.
|
|
|
Post by Marcel on Jun 9, 2017 16:02:35 GMT -7
Hi,
We're having the same issue where the GUI doesn't respond after clicking on "update settings" and there's no calibration being done on the spyder console. We checked to see if the arduino and IMU are working and checked all the cables but still haven't figured out a solution. Any ideas of where to go from here?
Thank you
|
|
|
Post by kendra on Jun 11, 2017 19:00:38 GMT -7
Marcel,
One thing you can do is check to make sure the COM ports haven't changed. Ours were always the same prior to the update so I stopped checking after a half dozen times setting everything up the same way.
Kendra
|
|
|
Post by Trevor MSGC on Jun 11, 2017 21:31:58 GMT -7
Hi Marcel,
Which version of the antenna tracker code is your team using?
Trevor
|
|
|
Post by usc on Jun 13, 2017 11:23:06 GMT -7
Hi Kendra,
I've been checking the COM ports but the GUI still freezes. We're using the latest version of the code and the IMU calibration window pops up but isn't reading any values and freezes again. Also, Kendra, you mentioned that your team checked the cables and reset the software on the arduino, how did you specifically reset it?
|
|
|
Post by Trevor MSGC on Jun 13, 2017 11:25:32 GMT -7
Included in the antenna_tracker repo is a rom clear code. Load that code into your arduino, let it run for a minute and then upload the uno v5 code that was updated yesterday afternoon. Make sure you grab the newest code.
-Trevor
|
|
|
Post by kendra on Jun 13, 2017 18:21:43 GMT -7
Trevor, I got the new version of the software to open the GUI after updating the pyserial, but we are running into the same problem again that USC is having. The new IMU calibration window pops up, but does not read values and freezes.
I uploaded the newest version (from yesterday afternoon) of the tracker this morning and I made sure that it had the rom clear code, but it must not have run.
How do I load just the rom clear code on the Arduino and then upload just the uno v5 code?
Also, will I need to do this every time or just once?
Kendra
|
|
|
Post by Trevor MSGC on Jun 14, 2017 13:05:44 GMT -7
Kendra,
Just to verify you have the right code, can you send me where you downloaded the new code from?
-Trevor
|
|
|
Post by kendra on Jun 14, 2017 13:18:51 GMT -7
|
|
|
Post by kendra on Jun 14, 2017 13:21:29 GMT -7
We plan on running our APRS for the flight, but it is not an Eagle flight computer. Should we put in our call sign above the IMEI number or not?
|
|
|
Post by usc on Jun 14, 2017 19:11:51 GMT -7
We got our calibration to work. We first opened up the GUI and then ran the ROM code for a 1 min and next ran the GroundStation_UnoV5 code and let the code run. After hitting update settings, it no longer froze. Also Kendra, to run the code separately you need to download the Arduino software IDE (free online).
|
|