src directory

This directory contains the source files of the Samba robot control software.

From the src directory you can find following modules:

Src/Am contains action maps.
Src/Ma contains Markers.
Src/Vs contains Virtual Sensors (Vs_referee, Vs_team_audio)
 

Compiling the software

The program is written under Solaris and it is compiled with GNU's C++ compiler. We have also tried to compile it with Sun's CC and it works fine but our debugging utilities work only when we use GNU.

This program should work with other UNIX systems without (great) changes. But we haven't tried it. If you try to compile it in some other environment we'd like to hear how you succeeded!

You have to modify makefile fields 'CCINC', 'LLIBS' so that your compiler finds required libraries and include files. Also you have to change field 'CC' to your compiler. After that you can run make in the src directory.

If you are using anything but GNU compiler you have to add -DCPP_FILE to CFLAGS field. This prevents online viewing of action maps. We got it working only with GNU not with Sun at all.