Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

@@ -0,0 +1,91 @@
#!/bin/sh
#
# @RDE_HEADER@
# $Id$
# $HeadURL$
# $Author$
#
rm -v /shd/CTC/LOG/ctc_bcu_1.log*
# Since 05-03-2024:
BLDGS="A1 A2 A3 A4"
numOk=0;
numFailure=0;
BLDG_STR="";
for BLDG in ${BLDGS}
do
BLDG_STR="${BLDG_STR} ${BLDG}*"
done
echo " copy and paste template: zip bldgs_2021-XX-XX_rev5000.XXXXX.zip import_baX.csv $BLDG_STR"
for BLDG in ${BLDGS}
do
#echo " work on item: '$BLDG'"
/shd/CTC/TOOLS/TDS/TDS-build-3dws/bin/BuildingControlTestVwmXml /opt/BuildingModels/StaticMeshes/${BLDG}.flt.xml /opt/BuildingModels/StaticMeshes/${BLDG}.flt.VWM_Building.xml
if [ $? -eq 0 ];
then
echo "'$BLDG' okay";
((numOk=numOk+1))
else
echo "------------------------------------";
echo " failure on -> '$BLDG' ";
echo " kate /opt/BuildingModels/StaticMeshes/${BLDG}.flt.xml /opt/BuildingModels/StaticMeshes/${BLDG}.flt.VWM_Building.xml &"
((numFailure=numFailure+1))
fi
echo "grep for '$BLDG':";
grep -E "WARN|ERROR|FATAL" /shd/CTC/LOG/ctc_bcu_1.log* | grep $BLDG
done
echo " numOk = $numOk ";
echo " numFailure = $numFailure ";
# kate /shd/CTC/TOOLS/TDS/TDS-build/bin/log4cxx_bcu.props &
# kate /shd/CTC/LOG/ctc_bcu_1.log &
# False positive:
### A1
###
# Building 'A1' -> Hit on center point for room 2107 will not hit building - maybe according outterWalls (#=10) are vertical? - position: (-18.3005,8.6,7.55), bsm direction: (0,0,1), (hitPos=state = HitPosition::State::NoHit, roomId = 0, outerWallIdx = -1, exclusionZoneIdx = -1, distance = 100000) (Buildings/BuildingControlUnit/VWM/test_vwm_xml.cpp:441)
# ---> Ursache: 4 Innentreppen in 2107 2116 2202 2206
### A2
###
# Wall with fewer than 3 points - modelling error!
# ---> Ursache: roomId: 2202, wallIdx = 2, wElementIdx = 0
# ---> Ursache: roomId: 2203, wallIdx = 4, wElementIdx = 0
# ---> Das sind die 10 schmalen Seitenwände der Pfeiler
# Building 'A2' -> Hit on center point for room 2104 will not hit building - maybe according outterWalls (#=6) are vertical? - position: (-7.1,8.502,7.55), bsm direction: (0,0,1), (hitPos=state = HitPosition::State::NoHit, roomId = 0, outerWallIdx = -1, exclusionZoneIdx = -1, distance = 100000) (Buildings/BuildingControlUnit/VWM/test_vwm_xml.cpp:441)
#Building 'A2' -> Hit on center point for room 2203 will not hit building - maybe according outterWalls (#=6) are vertical? - position: (-7.1,8.552,7.55), bsm direction: (0,0,1), (hitPos=state = HitPosition::State::NoHit, roomId = 0, outerWallIdx = -1, exclusionZoneIdx = -1, distance = 100000) (Buildings/BuildingControlUnit/VWM/test_vwm_xml.cpp:441)
# ---> Ursache: Innentreppe in 2104 2203
### A3
###
# Building 'A3' -> Hit on center point for room 2103 will not hit building - maybe according outterWalls (#=7) are vertical? - position: (20.1505,14.45,7.55), bsm direction: (0,0,1), (hitPos=state = HitPosition::State::NoHit, roomId = 0, outerWallIdx = -1, exclusionZoneIdx = -1, distance = 100000) (ntrolUnit/VWM/test_vwm_xml.cpp:441)
# ---> Ursache: Innentreppe in 2103
### A4
###
# Building 'A4' -> Hit on center point for room 2103 will not hit building - maybe according outterWalls (#=7) are vertical? - position: (18.1505,16.451,7.552), bsm direction: (0,0,1), (hitPos=state = HitPosition::State::NoHit, roomId = 0, outerWallIdx = -1, exclusionZoneIdx = -1, distance = 100000) (ntrolUnit/VWM/test_vwm_xml.cpp:441)
# ---> Ursache: Innentreppe in 2102, 2108, 2203, 2205