Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+48
@@ -0,0 +1,48 @@
|
||||
#!/bin/bash
|
||||
|
||||
domainId=0
|
||||
|
||||
usage()
|
||||
{
|
||||
echo ""
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
echo "Usage: $0 -d <domainId> "
|
||||
echo " -d <DomainId> : domainId > 0 required "
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
echo ""
|
||||
}
|
||||
|
||||
|
||||
while getopts ":d:" opt "$@"; do
|
||||
case $opt in
|
||||
d)
|
||||
domainId=$OPTARG
|
||||
;;
|
||||
\?)
|
||||
echo "Invalid option: -$OPTARG"
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ $domainId -le 0 ]; then
|
||||
echo "Parameter -d is required"
|
||||
echo "=> Use domainId > 0 (probably the last number of your ip-address)"
|
||||
usage
|
||||
exit 2
|
||||
fi
|
||||
|
||||
DDS_BIN_PATH=/opt/RTI/bin
|
||||
|
||||
${DDS_BIN_PATH}/rtiddsspy -domainId $domainId -typeWidth 30 -topicWidth 30 -printSample &
|
||||
|
||||
# Nur auf SHM (TransportBuiltin Type = 2) lauschen
|
||||
#${DDS_BIN_PATH}/rtiddsspy -typeWidth 30 -topicWidth 30 -printSample -transport 2 &
|
||||
|
||||
#${DDS_BIN_PATH}/rtiddsspy -typeWidth 30 -topicWidth 30 -printSample -qosProfile "myMulticastLib::.dds_profile_without_multicast.xml" &
|
||||
#${DDS_BIN_PATH}/rtiddsspy -typeWidth 30 -topicWidth 30 -printSample -qosFile .dds_profile_without_multicast.xml &
|
||||
|
||||
exit
|
||||
|
||||
|
||||
Reference in new issue
Block a user