Balloon Collaboration
December 14, 2019, 01:36:58 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Hosting for barntek.net has been extended for another 3 years
 
   Home   Help Search gallery Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Camera Package  (Read 1597 times)
Larry
Administrator
Hero Member
*****
Posts: 1167



View Profile
« on: June 14, 2015, 03:39:03 AM »

Ok, for those who don't know, the camera package was a dismal failure.  I got 1 picture of Randy, 1 picture of the sky - looking up from the ground, 1 video looking at the ground from ground level, and 1 video looking at the ground from altitude.  I will post when I cipher out just where the balloon was for this last video.

The GPS data I planned on collecting was very odd.  GPS statements with a 1200 hr time stamp commingled with statements with a 1900 hr time stamp.  The pictures and videos all had the exact same time stamp.

What I finally found was that I "accidentally" ran my altitude simulator along with the GPS reading program.  That really confused things.  I have to make sure next time I eliminate this from possibly happening again.

I will post code and upgrades later as I work it all out.
Logged
Larry
Administrator
Hero Member
*****
Posts: 1167



View Profile
« Reply #1 on: June 14, 2015, 05:55:00 PM »

Ok, my laptop still had the last session up and availible from when I hooked to the Flight Package and started everything.  If I had been paying attention, I would have seen in a couple of places what was going on and could have fixed it prior to launch.  Danny bought me plenty of time to do this with his radio issues, but I didn't take advantage of it.  We (I) need to be more careful next time.

These clues both occurred prior to my disconnecting the laptop.  Had I paid attention to what was actually going on, I would have caught it, and corrected it before launch.

Quote
larry@Ezmarelda ~ $ ssh pi@192.168.1.35    Loggin into the Pi
pi@192.168.1.35's password:
Linux RPiGPS 3.18.14+ #792 PREEMPT Sat May 23 15:53:19 BST 2015 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jun 11 18:55:35 2015 from ezmarelda.local
pi@RPiGPS ~ $ sudo mount /dev/sda1 /mnt/usb             Mounting the USB Memory Stick
pi@RPiGPS ~ $ cd /mnt/usb
pi@RPiGPS /mnt/usb $ ls
Data
pi@RPiGPS /mnt/usb $ cd Data
pi@RPiGPS /mnt/usb/Data $ ls
allgps.dat  Current.dat  GPGGA.dat  GPRMC.dat  Launch.dat  Pics  Vids
pi@RPiGPS /mnt/usb/Data $ sudo rm all*                       Removing all unnecessary files
pi@RPiGPS /mnt/usb/Data $ sudo rm GP*
pi@RPiGPS /mnt/usb/Data $ ls
Current.dat  Launch.dat  Pics  Vids
pi@RPiGPS /mnt/usb/Data $ sudo rm Launch*
pi@RPiGPS /mnt/usb/Data $ cd Pics
pi@RPiGPS /mnt/usb/Data/Pics $ ls
PreLaunch_182630.jpg  PreLaunch_211502.jpg  PreLaunch_212921.jpg  PreLaunch_214653.jpg  PreLaunch_221057.jpg
PreLaunch_182639.jpg  PreLaunch_211516.jpg  PreLaunch_214642.jpg  PreLaunch_214742.jpg
pi@RPiGPS /mnt/usb/Data/Pics $ sudo rm *
pi@RPiGPS /mnt/usb/Data/Pics $ cd ../vids
pi@RPiGPS /mnt/usb/Data/vids $ ls
Launch1_211516.h264  Launch1_214742.h264  Launch1_221057.h264  Launch2_182639.h264
pi@RPiGPS /mnt/usb/Data/vids $ sudo rm *
pi@RPiGPS /mnt/usb/Data/vids $ ls
pi@RPiGPS /mnt/usb/Data/vids $ cd                                               Entering the Mission Directory
pi@RPiGPS ~ $ cd Mission
pi@RPiGPS ~/Mission $ ls
altSim.py  gpsParse.py  gpsPoll.py  gpsRecord.py  gpsView.py  piCAM.py  start.py  test  test1.py
pi@RPiGPS ~/Mission $ sudo ./start.py &                                        Starting the main controlling program
[1] 2425                                                                                    It starts all the other programs
pi@RPiGPS ~/Mission $ gpsPoll.py 2427                                         gpsPoll.py starts - reports PID
gpsRecord.py 2428                                                                     gpsRecord.py starts - reports PID
gpsParse.py 2429                                                                       gpsParse.py starts - reports PID
altSim.py 2430                                                                           altSim.py starts - Ooops
piCAM.py 2431                                                                           piCAM starts - reports PID
gpsRecord.py running...
altSim.py running...   My first clue: This program was not supposed to run.
gpsPoll running...
gpsParse.py running...
Using hardware: PWM
PW increments:  10us
piCAM.py running...
Initializing channel 0...
add_channel_pulse: channel=0, gpio=23, start=0, width=220
init_gpio 23
clear_channel_gpio: channel=0, gpio=23
add_channel_pulse: channel=0, gpio=23, start=0, width=40
clear_channel_gpio: channel=0, gpio=23
add_channel_pulse: channel=0, gpio=23, start=0, width=120
Seq: 1 - Prelaunch
Current file Read and Parsed...
EXIF Tags prepped...
/mnt/usb/Data/Pics/PreLaunch_125503.jpg
76.0
Current file Read and Parsed...
EXIF Tags prepped...
/mnt/usb/Data/Pics/PreLaunch_125503.jpg
Interupt: Pin 22  Value 0
Current file Read and Parsed...
Launch
clear_channel_gpio: channel=0, gpio=23
add_channel_pulse: channel=0, gpio=23, start=0, width=220
clear_channel: channel=0
Looking DOWN
76.0
Seq: 2 - Launch Video
Traceback (most recent call last):         My second clue: This alarm was generated by altsim.py
 File "altSim.py", line 26, in <module>
    sock.sendto(data1,(UDP_IP,p))
socket.error: [Errno 101] Network is unreachable

Current file Read and Parsed...
76.0
Current file Read and Parsed...
76.0
Current file Read and Parsed...
76.0
Current file Read and Parsed...
76.0
« Last Edit: June 14, 2015, 06:03:25 PM by Larry » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!