RAPOSA procedures: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
Line 17: Line 17:
  - rsync -avn RaposaOS/ /media/disk (to test which files will go to flash)
  - rsync -avn RaposaOS/ /media/disk (to test which files will go to flash)
  - rsync -a RaposaOS/ /media/disk
  - rsync -a RaposaOS/ /media/disk
- go to /media/disk/dev and run MAKEDEV generic
  - Run grub and type
  - Run grub and type
   - device (hd0) /dev/sdb
   - device (hd0) /dev/sdb

Revision as of 15:18, 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
- raposa.reg is a Windows registry file that contains entries that have to be added to the Registry of the PC in use

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

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