
#include "Beowulf/Beowulf.H"#include "Beowulf/BeowulfOpts.H"#include "Component/ModelManager.H"#include "Devices/DeviceOpts.H"#include "Devices/FrameGrabberConfigurator.H"#include "Devices/KeyBoard.H"#include "Devices/RadioDecoder.H"#include "Devices/lcd.H"#include "Gist/FFN.H"#include "Image/FFTWWrapper.H"#include "Image/Image.H"#include "Image/Pixels.H"#include "Transport/FrameIstream.H"#include "Util/Timer.H"#include "Util/log.H"#include <math.h>#include <pthread.h>#include <signal.h>#include <stdio.h>#include <stdlib.h>
Go to the source code of this file.
Defines | |
| #define | OUTPATH "/home/tmp/7/gistNav/" |
| #define | HBLOCKS 4 |
| #define | WBLOCKS 4 |
| #define | DIMSINALL 640 |
| #define | DIMSIN 40 |
| #define | DIMSHID 90 |
| #define | DIMS1HID 40 |
| #define | DIMS2HID 40 |
| #define | DIMSOUT 13 |
| #define | IMAGEHEIGHT 120 |
| #define | IMAGEWIDTH 160 |
| #define | IMAGESIZE IMAGEHEIGHT*IMAGEWIDTH |
| #define | WINDOWHEIGHT 30 |
| #define | WINDOWWIDTH 40 |
| #define | WINDOWSIZE WINDOWHEIGHT*WINDOWWIDTH |
| #define | LEARNRATE 0.5 |
| #define | MOMENTUM 0.0 |
Functions | |
| void | terminate (int s) |
| Signal handler (e.g., for control-C). | |
| void | gzWriteFrame (int frameNum, Image< PixRGB< byte > > &imag) |
| void * | imageWriterThread (void *junk) |
| void | grabCycleInit (KeyBoard &myKB, nub::soft_ref< lcd > lcdDisp, nub::soft_ref< FrameIstream > &gb) |
| void | grabCycle (KeyBoard &myKB, nub::soft_ref< lcd > lcdDisp, nub::soft_ref< FrameIstream > &gb) |
| int | main (const int argc, const char **argv) |
Variables | |
| char | dir [10] |
| bool | doWrite |
| bool | grabOk |
| bool | doQuit |
| bool | quitGrab |
| int | frame = 0 |
| Will turn false on interrupt signal. | |
| static bool | goforever = true |
| double | compsteer |
| double | compspeed |
| Image< PixRGB< byte > > | ima (IMAGEWIDTH, IMAGEHEIGHT, NO_INIT) |
-- An autonomous visual navigation using image intensity amplitude spectrum components FFT (fast and free from fftw.com) via object FFTWWrapper. Computes outputs with a back-prop network (FFN.H&.C) and online learning. -- Christopher Ackerman, 7/30/2003
Definition in file test-gistNav-master.C.
| void terminate | ( | int | s | ) |
Signal handler (e.g., for control-C).
Definition at line 86 of file test-gistNav-master.C.
References goforever.
| int frame = 0 |
Will turn false on interrupt signal.
Definition at line 79 of file test-gistNav-master.C.
1.6.3