The following directories (total size around 9MB for the source version):
MAVCOD
Source files of the mavcod parser.
MAVROS
Source files of the mavros compiler.
ASN1
Librairy needed to link your programs using marshalling functions generated by mavros.
DOC_MAVROS
Contains the man pages.
MANPATH=$HOME/mavros/mavrossave/DOC_MAVROS man mavros
MANPATH=$HOME/mavros/mavrossave/DOC_MAVROS man mavcod
For example, to generate the C library "test.a" for marshalling/unmarshalling functions associated to the specification "test.asn1" you may write:
MAVCOD=$(HOME)/mavros/MAVCOD/mavcod LIBASN1=$(HOME)/mavros/ASN1/ASN1.a MAVROS=$(HOME)/mavros/MAVROS/mavros ASN1=$(HOME)/mavros/ASN1 OPTIONS= CC=gcc CFLAGS= -g ${OPTIONS} -I${ASN1} .c.o: $(CC) -c $(CFLAGS) $*.c all: test.a test.a: test.make test.c test_init.c test.h make -f test.make CFLAGS=" -I${ASN1}" CC="gcc" test.make test.c test.h: test.mvr test_mvr.h ${MAVROS} test.mvr -m test -c -u -a -d test_mvr.h -s test_init.c test.mvr test_mvr.h test_init.c: test.asn1 ${MAVCOD} test.asn1 clean : rm -f *.o *.macros test.mvr test_mvr.h test_init.c test.make test.c test.h test.a