RAPOSA procedures: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
Line 9: Line 9:
  - infra has the hole detection's module code
  - infra has the hole detection's module code
  - raposa has the robot's code
  - raposa has the robot's code
  - raposa.reg is a Windows registry file that contains entries that have to be added to the Registry of the PC in use
  - misc has some files needed - raposa.reg needs to be added to the Registry and the source files need to be used when compiling OpenCV


== How to restore RAPOSA flash disk ==
== How to restore RAPOSA flash disk ==

Revision as of 16:39, 20 March 2008

SVN repository access

svn://svn.isr.ist.utl.pt/raposa

- raposaInterface9Rays, SensorSetup and RaposaSubWidgets are the folders with the interface code
- raposa has the robot's code
- dock has the docking's module code
- dummy is a offline testbed for docking module
- infra has the hole detection's module code
- raposa has the robot's code
- misc has some files needed - raposa.reg needs to be added to the Registry and the source files need to be used when compiling OpenCV

How to restore RAPOSA flash disk

- Use fdisk to make the partition in ext2 type
- mk2efs -c -c -v /dev/sdb1 (checking bad blocks also)
- rsync -avn RaposaOS/ /media/disk (to test which files will go to flash)
- rsync -a RaposaOS/ /media/disk
- go to /media/disk/dev and run MAKEDEV generic
- Run grub and type
  - device (hd0) /dev/sdb
  - root (hd0,0)
  - setup (hd0)

How to compile the console code under Visual Studio 2005

- Remove the option /Zl under Project->Properties->Configuration Properties->C/C++->Command Line
- Change the function cvCreateTrackBar in otherlibs/highgui/window_32.cpp and otherlibs/highgui/highgui.h from OpenCV
- Change the function cvThreshold in cv/include/cv.h and cv/src/cvthresh.cpp from OpenCV

How to compile the robot code under VMware

Addition of new files:

- change Makefile.am
     add the new .cpp files to testeagentslot_SOURCES and SOURCES
     add the new .cpp and .h files to EXTRA_DIST
- run automake
- run am_edit
- run configure (with -fexceptions)
- run make