add slam_gmapping

This commit is contained in:
X-lanni
2025-06-06 16:15:07 +08:00
parent 9187b9fb85
commit a7b75c31cb
141 changed files with 15992 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash
if [ -z "$1" ]; then
echo "Syntax: rtestlib <library>"
exit 1
fi
exit 0
FNAME=`mktemp rtestlibXXXXXX`
echo "int main() { return 0; }" > $FNAME.cpp
g++ $1 $FNAME.cpp -o $FNAME
result=$?
rm -f $FNAME.cpp $FNAME
exit $result
#if g++ $1 $FNAME.cpp -o $FNAME
#then#
# rm -f $FNAME.cpp $FNAME
# exit 1
#else
# rm -f $FNAME.cpp $FNAME
# exit 0
#fi