|
Post by markland on Jul 10, 2017 9:11:44 GMT -7
Hello, Our ground station crashes when trying to update the IMU calibration. Steps used 1.) The program launches with no trouble and has some text in the cmd(linked below). From what I found that text shouldn't cause anything to go wrong. 2.) Now when trying to search for the connected peripherals the program hangs some times and the only way to stop the hang in to click on the cmd and hit "ctrl z" and then the program will start responding and find the peripherals with no problem. We also connect the peripherals after the program has already launched. 3.) Hit the update button and our ground station then is able to get the GPS location of the ground station but no calibration window opens and this is with out the get local (ardunio) selected and the IMEI number for the Iridium not put in yet. If either of those are different no ground station gps data will be shown and the calibration window does pop up. 4.) When the calibration window does pop up the calibration window starts to not respond and is a blank window(linked below). The only way to get out of this is either the close the entire program or to hold "ctrl c" to terminate the calibration when clicked on the cmd. During the calibration process the program starts to display index errors(linked below). That is as far as we have gotten. Does anyone have any idea what could be causing this behavior? Also FYI the Ardunio code has been updated to the most current version. Mark
|
|
|
Post by Austin MnSGC on Jul 10, 2017 12:55:54 GMT -7
1. Most of that text looks fine, your USB devices are being recognized, and that matplotlib warning won't affect anything.
2. How does the program hang when you press the search button? Hitting ctrl-z suspends the process currently running, which may make the window interactive again, but likely suspended the process needed to actually use it.
3. If you don't have Get Local (arduino) selected, there won't be a calibration or calibration window because the ground station isn't going to use the IMU or GPS unit to determine a bearing or location. The GPS coordinates filled in are the ones in the entry boxes, which default to the grey ones in there, and the center bearing is the cardinal direction chosen. Remember that any changes you make to the entries in the settings tab don't take effect until you hit Update Settings. So if you don't enter you IMEI before hitting update settings, you'll have to update them again.
If you do have Get Local selected, the calibration window will pop up, but no ground station GPS data will be filled in until the calibration is complete.
4. The OS will mark a window as (Not Responding) if it's not updating/not interactive. The Index Errors are generated during the calibration routine when the data returned from the arduino is not correct. Because of this, the information is not added to the calibration window, making the OS believe that it's not responding.
I don't know exactly what your issues are based on this post, but I would recommend checking your Arduino serial output if you can, to be sure that it's outputting the correct data. There are a couple reasons that Arduino output tends to be bad. Make sure that the code is actually getting uploaded, you'll probably need to remove the GPS shield to upload to it. Then make sure the switch on the shield is in the correct position for software serial.
|
|
|
Post by markland on Jul 11, 2017 10:25:55 GMT -7
Thank you Austin this has been very informative! We will look into those solutions. Again thank you.
|
|
|
Post by markland on Jul 12, 2017 14:14:00 GMT -7
So as it turns out the IMU was soldered on incorrectly. The Power was going the signal and the signal was going to power! All is fine with the chip, as far as we can tell. We have been able to calibrate the IMU now and are testing the rest of the ground station. So far everything is going well except for incoming GPS data.
|
|