Remove LtsElevation from Release 2a scope
- Exclude LtsElevation library (depends on AssetManagement, needed only for Release 2b services) - Update GROUP3_TARGETS to remove LtsElevation - Comment out LtsElevation subdirectory in CMakeLists.txt Co-authored-by: Copilot <2235566219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
68381278dd
commit
8d511d935c
616 files changed
+409071
-4
No files matched your search
Executable
+571
@@ -0,0 +1,571 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Description
|
||||
XML QoS Profile for a project with DDS
|
||||
|
||||
For more information about XML QoS Profiles see Chapter 15 in the
|
||||
RTI Connext user manual.
|
||||
-->
|
||||
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="/opt/RTI/resource/qos_profiles_5.1.0/schema/rti_dds_qos_profiles.xsd">
|
||||
<!-- QoS Library containing the default QoS profile for the project
|
||||
|
||||
A QoS library is a named set of QoS profiles.
|
||||
-->
|
||||
<qos_library name="LtsProfiles">
|
||||
<!-- QoS profile used to configure reliable communication between the DataWriter and DataReader
|
||||
|
||||
A QoS profile groups a set of related QoS.
|
||||
-->
|
||||
|
||||
<qos_profile name="Base" base_name="BuiltinQosLibExp::Generic.StrictReliable" is_default_qos="true">
|
||||
<!-- Participent QoS -->
|
||||
<participant_qos>
|
||||
<property>
|
||||
<value>
|
||||
<element>
|
||||
<name>dds.transport.shmem.builtin.receive_buffer_size</name>
|
||||
<value>20971520</value> <!-- 20MB -->
|
||||
</element>
|
||||
</value>
|
||||
<!--FRAN: allow IP fragmentation (30jun2020)-->
|
||||
<value>
|
||||
<element>
|
||||
<name>dds.transport.UDPv4.builtin.parent.message_size_max</name>
|
||||
<value>1450</value>
|
||||
</element>
|
||||
</value>
|
||||
<value>
|
||||
<element>
|
||||
<name>dds.transport.UDPv4.builtin.multicast_ttl</name>
|
||||
<value>5</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.flow_controller.token_bucket.my_2_5Mbps_fc.token_bucket.period.sec</name>
|
||||
<value>0</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.flow_controller.token_bucket.my_2_5Mbps_fc.token_bucket.period.nanosec</name>
|
||||
<value>100000000</value>
|
||||
</element>
|
||||
<!-- UDP MTU -->
|
||||
<element>
|
||||
<name>dds.flow_controller.token_bucket.my_2_5Mbps_fc.token_bucket.bytes_per_token</name>
|
||||
<value>3072</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.flow_controller.token_bucket.my_2_5Mbps_fc.token_bucket.tokens_leaked_per_period</name>
|
||||
<value>0</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.flow_controller.token_bucket.my_2_5Mbps_fc.token_bucket.tokens_added_per_period</name>
|
||||
<value>1</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.flow_controller.token_bucket.my_2_5Mbps_fc.token_bucket.max_tokens</name>
|
||||
<value>1</value>
|
||||
</element>
|
||||
</value>
|
||||
</property>
|
||||
<resource_limits>
|
||||
<!-- type_code is not needed for RTI 5.x and above-->
|
||||
<type_code_max_serialized_length>0</type_code_max_serialized_length>
|
||||
<!-- type_object is only needed if someone wants to dynamically decode the structures
|
||||
without haveing this info otherwise (e.g. programatically) which is not the case
|
||||
in our system-->
|
||||
<type_object_max_serialized_length>0</type_object_max_serialized_length>
|
||||
</resource_limits>
|
||||
<discovery_config>
|
||||
<!--FRAN: disable sending DATA(p) packets to domain 0, RTPX (30jun2020)-->
|
||||
<default_domain_announcement_period>
|
||||
<sec>DURATION_INFINITE_SEC</sec>
|
||||
<nanosec>DURATION_INFINITE_NSEC</nanosec>
|
||||
</default_domain_announcement_period>
|
||||
<publication_writer_publish_mode>
|
||||
<kind>ASYNCHRONOUS_PUBLISH_MODE_QOS</kind>
|
||||
<!-- <flow_controller_name>dds.flow_controller.token_bucket.my_2_5Mbps_fc</flow_controller_name> -->
|
||||
</publication_writer_publish_mode>
|
||||
<subscription_writer_publish_mode>
|
||||
<kind>ASYNCHRONOUS_PUBLISH_MODE_QOS</kind>
|
||||
<!-- <flow_controller_name>dds.flow_controller.token_bucket.my_2_5Mbps_fc</flow_controller_name> -->
|
||||
</subscription_writer_publish_mode>
|
||||
<participant_liveliness_assert_period>
|
||||
<sec>5</sec>
|
||||
<nanosec>0</nanosec>
|
||||
</participant_liveliness_assert_period>
|
||||
<participant_liveliness_lease_duration>
|
||||
<sec>20</sec>
|
||||
<nanosec>0</nanosec>
|
||||
</participant_liveliness_lease_duration>
|
||||
<max_liveliness_loss_detection_period>
|
||||
<sec>10</sec>
|
||||
<nanosec>0</nanosec>
|
||||
</max_liveliness_loss_detection_period>
|
||||
<publication_writer>
|
||||
<enable_multicast_periodic_heartbeat>1</enable_multicast_periodic_heartbeat>
|
||||
<!--FRAN: why these values?-->
|
||||
<min_send_window_size>20</min_send_window_size>
|
||||
<max_send_window_size>400</max_send_window_size>
|
||||
<heartbeats_per_max_samples>50</heartbeats_per_max_samples>
|
||||
<!--FRAN: set to 500ms instead of 50ms (30jun2020)-->
|
||||
<fast_heartbeat_period>
|
||||
<sec>0</sec>
|
||||
<nanosec>500000000</nanosec>
|
||||
</fast_heartbeat_period>
|
||||
<late_joiner_heartbeat_period>
|
||||
<sec>0</sec>
|
||||
<nanosec>500000000</nanosec>
|
||||
</late_joiner_heartbeat_period>
|
||||
<max_nack_response_delay>
|
||||
<sec>0</sec>
|
||||
<nanosec>500000000</nanosec>
|
||||
</max_nack_response_delay>
|
||||
</publication_writer>
|
||||
<subscription_writer>
|
||||
<enable_multicast_periodic_heartbeat>1</enable_multicast_periodic_heartbeat>
|
||||
<!--FRAN: set to 500ms instead of 50ms (30jun2020)-->
|
||||
<min_send_window_size>20</min_send_window_size>
|
||||
<max_send_window_size>400</max_send_window_size>
|
||||
<heartbeats_per_max_samples>50</heartbeats_per_max_samples>
|
||||
<fast_heartbeat_period>
|
||||
<sec>0</sec>
|
||||
<nanosec>500000000</nanosec>
|
||||
</fast_heartbeat_period>
|
||||
<late_joiner_heartbeat_period>
|
||||
<sec>0</sec>
|
||||
<nanosec>500000000</nanosec>
|
||||
</late_joiner_heartbeat_period>
|
||||
<max_nack_response_delay>
|
||||
<sec>0</sec>
|
||||
<nanosec>500000000</nanosec>
|
||||
</max_nack_response_delay>
|
||||
</subscription_writer>
|
||||
</discovery_config>
|
||||
</participant_qos>
|
||||
<!-- Publisher QOS -->
|
||||
|
||||
|
||||
<!--Patric: we enabled coherent sets -->
|
||||
<!-- QoS used to configure the data writer -->
|
||||
<!--
|
||||
<publisher_qos>
|
||||
<presentation>
|
||||
<access_scope>TOPIC_PRESENTATION_QOS</access_scope>
|
||||
<coherent_access>true</coherent_access>
|
||||
</presentation>
|
||||
</publisher_qos>
|
||||
<subscriber_qos>
|
||||
<presentation>
|
||||
<access_scope>TOPIC_PRESENTATION_QOS</access_scope>
|
||||
<coherent_access>true</coherent_access>
|
||||
</presentation>
|
||||
</subscriber_qos>
|
||||
-->
|
||||
|
||||
|
||||
<!-- QoS used to configure the data writer -->
|
||||
<datawriter_qos>
|
||||
<publish_mode>
|
||||
<kind>ASYNCHRONOUS_PUBLISH_MODE_QOS</kind>
|
||||
</publish_mode>
|
||||
<property>
|
||||
<value>
|
||||
<!-- The next setting is used to force dynamic memory
|
||||
allocation for samples with a serialized size of
|
||||
larger than 2K. Without setting
|
||||
pool_buffer_max_size, all memory would be obtained
|
||||
from a pre-allocated pool, which would greatly
|
||||
increase the memory usage in an application which
|
||||
sends large data.
|
||||
-->
|
||||
<element>
|
||||
<name>dds.data_writer.history.memory_manager.fast_pool.pool_buffer_max_size</name>
|
||||
<value>2048</value>
|
||||
</element>
|
||||
</value>
|
||||
</property>
|
||||
<reliability>
|
||||
<kind>RELIABLE_RELIABILITY_QOS</kind>
|
||||
<!--FRAN: why 60 seconds?-->
|
||||
<max_blocking_time>
|
||||
<sec>60</sec>
|
||||
</max_blocking_time>
|
||||
</reliability>
|
||||
<durability>
|
||||
<kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind>
|
||||
</durability>
|
||||
<history>
|
||||
<kind>KEEP_LAST_HISTORY_QOS</kind>
|
||||
<depth>1</depth>
|
||||
</history>
|
||||
<resource_limits>
|
||||
<!--<max_samples_per_instance>1</max_samples_per_instance>-->
|
||||
<max_samples>8000</max_samples>
|
||||
</resource_limits>
|
||||
<protocol>
|
||||
<rtps_reliable_writer>
|
||||
<!--FRAN: why these values?-->
|
||||
<min_send_window_size>20</min_send_window_size>
|
||||
<max_send_window_size>400</max_send_window_size>
|
||||
<heartbeats_per_max_samples>50</heartbeats_per_max_samples>
|
||||
</rtps_reliable_writer>
|
||||
</protocol>
|
||||
<writer_resource_limits>
|
||||
<autoregister_instances>true</autoregister_instances>
|
||||
</writer_resource_limits>
|
||||
</datawriter_qos>
|
||||
|
||||
|
||||
|
||||
<datareader_qos>
|
||||
<reliability>
|
||||
<kind>RELIABLE_RELIABILITY_QOS</kind>
|
||||
</reliability>
|
||||
<reader_data_lifecycle>
|
||||
<autopurge_nowriter_samples_delay>
|
||||
<sec>5</sec>
|
||||
<nanosec>DURATION_ZERO_NSEC</nanosec>
|
||||
</autopurge_nowriter_samples_delay>
|
||||
<autopurge_disposed_samples_delay>
|
||||
<sec>5</sec>
|
||||
<nanosec>DURATION_ZERO_NSEC</nanosec>
|
||||
</autopurge_disposed_samples_delay>
|
||||
</reader_data_lifecycle>
|
||||
<durability>
|
||||
<kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind>
|
||||
<!-- Set this field to 0 if you want brokered communication (all communication
|
||||
passes through the persistence service before being received by the datareader;
|
||||
i.e. datawriter and datareader cannot 'see' each other directly)
|
||||
-->
|
||||
<direct_communication>true</direct_communication>
|
||||
</durability>
|
||||
<history>
|
||||
<kind>KEEP_LAST_HISTORY_QOS</kind>
|
||||
<depth>1</depth>
|
||||
</history>
|
||||
<resource_limits>
|
||||
<!--<initial_samples>200</initial_samples> -->
|
||||
<!--<max_samples_per_instance>1</max_samples_per_instance> -->
|
||||
<!-- We limit max_samples on the reader so that if the
|
||||
writer is publishing samples faster than the reader is
|
||||
taking them then the reader will start sending NACKs
|
||||
for samples received after the number of samples in
|
||||
its queue reaches max_samples. This behavior will put
|
||||
pressure on the writer to throttle back its publishing
|
||||
speed.
|
||||
-->
|
||||
<max_samples>8000</max_samples>
|
||||
</resource_limits>
|
||||
<reader_resource_limits>
|
||||
<!-- Determines whether the DataReader pre-allocates
|
||||
storage for storing fragmented samples. This setting
|
||||
can be used to limit upfront memory allocation costs
|
||||
in applications which are dealing with large data
|
||||
-->
|
||||
<dynamically_allocate_fragmented_samples>true</dynamically_allocate_fragmented_samples>
|
||||
<max_samples_per_read>8000</max_samples_per_read>
|
||||
</reader_resource_limits>
|
||||
<property>
|
||||
<value>
|
||||
<!-- The next setting is used to force dynamic memory
|
||||
allocation for samples with a serialized size of
|
||||
larger than 2K. Without setting
|
||||
pool_buffer_max_size, all memory would be obtained
|
||||
from a pre-allocated pool, which would greatly
|
||||
increase the memory usage in an application which
|
||||
sends large data.
|
||||
-->
|
||||
<element>
|
||||
<name>dds.data_reader.history.memory_manager.fast_pool.pool_buffer_max_size</name>
|
||||
<value>2048</value>
|
||||
</element>
|
||||
</value>
|
||||
</property>
|
||||
</datareader_qos>
|
||||
</qos_profile>
|
||||
|
||||
<!--FRAN: who uses this profile?-->
|
||||
<!--Function topic. tablets->server-->
|
||||
<qos_profile name="DataReaderWriter.FT" base_name="LtsProfiles::Base">
|
||||
<datareader_qos>
|
||||
<durability>
|
||||
<kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind>
|
||||
</durability>
|
||||
<history>
|
||||
<kind>KEEP_ALL_HISTORY_QOS</kind>
|
||||
</history>
|
||||
</datareader_qos>
|
||||
<datawriter_qos>
|
||||
<publish_mode>
|
||||
<kind>ASYNCHRONOUS_PUBLISH_MODE_QOS</kind>
|
||||
</publish_mode>
|
||||
<durability>
|
||||
<kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind>
|
||||
</durability>
|
||||
<history>
|
||||
<kind>KEEP_LAST_HISTORY_QOS</kind>
|
||||
<depth>1</depth>
|
||||
</history>
|
||||
</datawriter_qos>
|
||||
</qos_profile>
|
||||
<!--Mostly used by the tablets as a special mode-->
|
||||
<qos_profile name="DomainParticipant.Shm" base_name="LtsProfiles::Base">
|
||||
<participant_qos>
|
||||
<transport_builtin>
|
||||
<mask>SHMEM</mask>
|
||||
</transport_builtin>
|
||||
<discovery>
|
||||
<multicast_receive_addresses/>
|
||||
<accept_unknown_peers>false</accept_unknown_peers>
|
||||
<initial_peers>
|
||||
<element>30@builtin.shmem://</element>
|
||||
</initial_peers>
|
||||
</discovery>
|
||||
</participant_qos>
|
||||
</qos_profile>
|
||||
|
||||
<!--Used by both tablets and server-->
|
||||
<qos_profile name="DomainParticipant.ShmUdp" base_name="LtsProfiles::Base">
|
||||
<participant_qos>
|
||||
<transport_builtin>
|
||||
<mask>UDPv4 | SHMEM</mask>
|
||||
</transport_builtin>
|
||||
</participant_qos>
|
||||
</qos_profile>
|
||||
|
||||
<!-- Both server and clients. Maybe not used-->
|
||||
<qos_profile name="DomainParticipant.ShmUdpLocalhost" base_name="DomainParticipant.ShmUdp">
|
||||
<participant_qos>
|
||||
<discovery>
|
||||
<multicast_receive_addresses/>
|
||||
<accept_unknown_peers>false</accept_unknown_peers>
|
||||
<initial_peers>
|
||||
<element>builtin.shmem://</element>
|
||||
<element>builtin.udpv4://127.0.0.1</element>
|
||||
</initial_peers>
|
||||
</discovery>
|
||||
<property>
|
||||
<value>
|
||||
<element>
|
||||
<name>dds.transport.UDPv4.builtin.multicast_enabled</name>
|
||||
<value>0</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.UDPv4.builtin.parent.allow_interfaces</name>
|
||||
<value>127.0.0.1</value>
|
||||
</element>
|
||||
</value>
|
||||
</property>
|
||||
</participant_qos>
|
||||
</qos_profile>
|
||||
<!-- configured for tcp client -> listenport = -1 -->
|
||||
<qos_profile name="DomainParticipant.Tcp" base_name="LtsProfiles::Base">
|
||||
<participant_qos>
|
||||
<transport_builtin>
|
||||
<mask>MASK_NONE</mask>
|
||||
</transport_builtin>
|
||||
<property>
|
||||
<value>
|
||||
<element>
|
||||
<name>dds.transport.load_plugins</name>
|
||||
<value>dds.transport.TCPv4.tcp1</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.library</name>
|
||||
<value>nddstransporttcp</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.create_function</name>
|
||||
<value>NDDS_Transport_TCPv4_create</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.parent.classid</name>
|
||||
<value>NDDS_TRANSPORT_CLASSID_TCPV4_LAN</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.server_bind_port</name>
|
||||
<value>-1</value>
|
||||
</element>
|
||||
<!--
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.logging_verbosity_bitmap</name>
|
||||
<value>159</value>
|
||||
</element>
|
||||
-->
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.disable_nagle</name>
|
||||
<value>1</value>
|
||||
</element>
|
||||
<!--
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.send_max_wait_sec</name>
|
||||
<value>-1</value>
|
||||
</element>
|
||||
-->
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.max_packet_size</name>
|
||||
<value>63020</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.parent.message_size_max</name>
|
||||
<value>63020</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.recv_socket_buffer_size</name>
|
||||
<value>8388608</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.send_socket_buffer_size</name>
|
||||
<value>8388608</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.connection_liveliness.enable</name>
|
||||
<value>1</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.connection_liveliness.lease_duration</name>
|
||||
<value>5</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.connection_liveliness.assertions_per_lease_duration</name>
|
||||
<value>2</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.outstanding_connection_cookies</name>
|
||||
<value>100</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.outstanding_connection_cookies_life_span</name>
|
||||
<value>5</value>
|
||||
</element>
|
||||
<element>
|
||||
<name>dds.transport.TCPv4.tcp1.force_asynchronous_send</name>
|
||||
<value>1</value>
|
||||
</element>
|
||||
</value>
|
||||
</property>
|
||||
<discovery_config>
|
||||
<participant_liveliness_assert_period>
|
||||
<sec>2</sec>
|
||||
<nanosec>0</nanosec>
|
||||
</participant_liveliness_assert_period>
|
||||
<participant_liveliness_lease_duration>
|
||||
<sec>5</sec>
|
||||
<nanosec>0</nanosec>
|
||||
</participant_liveliness_lease_duration>
|
||||
<max_liveliness_loss_detection_period>
|
||||
<sec>2</sec>
|
||||
<nanosec>0</nanosec>
|
||||
</max_liveliness_loss_detection_period>
|
||||
</discovery_config>
|
||||
</participant_qos>
|
||||
</qos_profile>
|
||||
|
||||
|
||||
<!--FRAN: 3 new profiles for each kind of host (30jun2020)-->
|
||||
<!--This implements asymmetric discovery-->
|
||||
<qos_profile name="DomainParticipant.Client" base_name="DomainParticipant.ShmUdp">
|
||||
<participant_qos>
|
||||
<discovery>
|
||||
<initial_peers>
|
||||
<element>239.255.0.2</element>
|
||||
</initial_peers>
|
||||
<multicast_receive_addresses>
|
||||
<element>239.255.0.3</element>
|
||||
</multicast_receive_addresses>
|
||||
</discovery>
|
||||
</participant_qos>
|
||||
<!-- QoS used to configure the data reader -->
|
||||
<!--Patric: reader want all our LTS Topics via multicast now -->
|
||||
<datareader_qos>
|
||||
<multicast>
|
||||
<value>
|
||||
<element>
|
||||
<receive_address>239.255.1.7</receive_address>
|
||||
</element>
|
||||
</value>
|
||||
</multicast>
|
||||
<reliability>
|
||||
<kind>RELIABLE_RELIABILITY_QOS</kind>
|
||||
</reliability>
|
||||
<reader_data_lifecycle>
|
||||
<autopurge_nowriter_samples_delay>
|
||||
<sec>5</sec>
|
||||
<nanosec>DURATION_ZERO_NSEC</nanosec>
|
||||
</autopurge_nowriter_samples_delay>
|
||||
<autopurge_disposed_samples_delay>
|
||||
<sec>5</sec>
|
||||
<nanosec>DURATION_ZERO_NSEC</nanosec>
|
||||
</autopurge_disposed_samples_delay>
|
||||
</reader_data_lifecycle>
|
||||
<durability>
|
||||
<kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind>
|
||||
<!-- Set this field to 0 if you want brokered communication (all communication
|
||||
passes through the persistence service before being received by the datareader;
|
||||
i.e. datawriter and datareader cannot 'see' each other directly)
|
||||
-->
|
||||
<direct_communication>true</direct_communication>
|
||||
</durability>
|
||||
<history>
|
||||
<kind>KEEP_LAST_HISTORY_QOS</kind>
|
||||
<depth>1</depth>
|
||||
</history>
|
||||
<resource_limits>
|
||||
<!--<initial_samples>200</initial_samples> -->
|
||||
<!--<max_samples_per_instance>1</max_samples_per_instance> -->
|
||||
<!-- We limit max_samples on the reader so that if the
|
||||
writer is publishing samples faster than the reader is
|
||||
taking them then the reader will start sending NACKs
|
||||
for samples received after the number of samples in
|
||||
its queue reaches max_samples. This behavior will put
|
||||
pressure on the writer to throttle back its publishing
|
||||
speed.
|
||||
-->
|
||||
<max_samples>8000</max_samples>
|
||||
</resource_limits>
|
||||
<reader_resource_limits>
|
||||
<!-- Determines whether the DataReader pre-allocates
|
||||
storage for storing fragmented samples. This setting
|
||||
can be used to limit upfront memory allocation costs
|
||||
in applications which are dealing with large data
|
||||
-->
|
||||
<dynamically_allocate_fragmented_samples>true</dynamically_allocate_fragmented_samples>
|
||||
<max_samples_per_read>8000</max_samples_per_read>
|
||||
</reader_resource_limits>
|
||||
</datareader_qos>
|
||||
|
||||
|
||||
|
||||
</qos_profile>
|
||||
|
||||
<!--FRAN: 3 new profiles for each kind of host (30jun2020)-->
|
||||
<!--This implements asymmetric discovery-->
|
||||
<qos_profile name="DomainParticipant.Server" base_name="DomainParticipant.ShmUdp">
|
||||
<participant_qos>
|
||||
<discovery>
|
||||
<initial_peers>
|
||||
<element>239.255.0.1</element>
|
||||
<element>239.255.0.3</element>
|
||||
<element>127.0.0.1</element>
|
||||
</initial_peers>
|
||||
<multicast_receive_addresses>
|
||||
<element>239.255.0.2</element>
|
||||
</multicast_receive_addresses>
|
||||
</discovery>
|
||||
</participant_qos>
|
||||
</qos_profile>
|
||||
<!--FRAN: 3 new profiles for each kind of host (30jun2020)-->
|
||||
<!--This implements asymmetric discovery-->
|
||||
<qos_profile name="DomainParticipant.Tablet" base_name="DomainParticipant.ShmUdp">
|
||||
<participant_qos>
|
||||
<discovery>
|
||||
<initial_peers>
|
||||
<element>239.255.0.2</element>
|
||||
</initial_peers>
|
||||
<multicast_receive_addresses>
|
||||
<element>239.255.0.1</element>
|
||||
</multicast_receive_addresses>
|
||||
</discovery>
|
||||
</participant_qos>
|
||||
</qos_profile>
|
||||
</qos_library>
|
||||
</dds>
|
||||
@@ -0,0 +1,108 @@
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA core
|
||||
GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_core;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA core
|
||||
GRANT SELECT, REFERENCES ON TABLES TO ets_ro;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA core
|
||||
GRANT EXECUTE ON FUNCTIONS TO ets_core;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA core
|
||||
GRANT ALL ON SEQUENCES TO ets_core;
|
||||
SET SEARCH_PATH TO core, PUBLIC;
|
||||
|
||||
-- Drop tables/views/sequences/constraints
|
||||
ALTER TABLE IF EXISTS ft_reply_state DROP CONSTRAINT IF EXISTS PK_ft_reply_state_id CASCADE;
|
||||
ALTER TABLE IF EXISTS replay_type DROP CONSTRAINT IF EXISTS PK_replay_type_id CASCADE;
|
||||
ALTER TABLE IF EXISTS running_state DROP CONSTRAINT IF EXISTS PK_running_state_id CASCADE;
|
||||
ALTER TABLE IF EXISTS service_group_type DROP CONSTRAINT IF EXISTS PK_service_group_type_id CASCADE;
|
||||
ALTER TABLE IF EXISTS z_reference DROP CONSTRAINT IF EXISTS PK_z_reference_id CASCADE;
|
||||
DROP TABLE IF EXISTS ft_reply_state CASCADE;
|
||||
DROP TABLE IF EXISTS replay_type CASCADE;
|
||||
DROP TABLE IF EXISTS running_state CASCADE;
|
||||
DROP TABLE IF EXISTS service_group_type CASCADE;
|
||||
DROP TABLE IF EXISTS z_reference CASCADE;
|
||||
|
||||
-- Create tables
|
||||
CREATE TABLE IF NOT EXISTS ft_reply_state (
|
||||
id integer,
|
||||
name text
|
||||
);
|
||||
COMMENT ON TABLE ft_reply_state IS 'static data (not project specific) generate from enum';
|
||||
CREATE TABLE IF NOT EXISTS replay_type (
|
||||
id integer,
|
||||
name text
|
||||
);
|
||||
COMMENT ON TABLE replay_type IS 'Type of replay (Data for reports/events or situation)';
|
||||
CREATE TABLE IF NOT EXISTS running_state (
|
||||
id integer,
|
||||
name text
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS service_group_type (
|
||||
id integer,
|
||||
name text
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS z_reference (
|
||||
id integer,
|
||||
name text
|
||||
);
|
||||
|
||||
-- Create sequence(s)
|
||||
|
||||
-- Create primary keys
|
||||
ALTER TABLE IF EXISTS ft_reply_state ADD CONSTRAINT PK_ft_reply_state_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS replay_type ADD CONSTRAINT PK_replay_type_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS running_state ADD CONSTRAINT PK_running_state_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS service_group_type ADD CONSTRAINT PK_service_group_type_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS z_reference ADD CONSTRAINT PK_z_reference_id PRIMARY KEY (id);
|
||||
|
||||
-- Create foreign keys
|
||||
|
||||
-- Create views
|
||||
|
||||
-- --------------------------------------------------------------------------------
|
||||
|
||||
-- Inserts for static data i.e. enums
|
||||
|
||||
INSERT INTO ft_reply_state (id, name) VALUES (0, 'NotStarted');
|
||||
INSERT INTO ft_reply_state (id, name) VALUES (1, 'InProgress');
|
||||
INSERT INTO ft_reply_state (id, name) VALUES (2, 'Completed');
|
||||
INSERT INTO ft_reply_state (id, name) VALUES (4, 'Error');
|
||||
INSERT INTO replay_type (id, name) VALUES (0, 'UnknownData');
|
||||
INSERT INTO replay_type (id, name) VALUES (1, 'SituationData');
|
||||
INSERT INTO replay_type (id, name) VALUES (2, 'ReportData');
|
||||
INSERT INTO replay_type (id, name) VALUES (3, 'EventData');
|
||||
INSERT INTO replay_type (id, name) VALUES (4, 'OtherData');
|
||||
INSERT INTO replay_type (id, name) VALUES (5, 'SnapshotData');
|
||||
INSERT INTO running_state (id, name) VALUES (0, 'NotYetStarted');
|
||||
INSERT INTO running_state (id, name) VALUES (1, 'Starting');
|
||||
INSERT INTO running_state (id, name) VALUES (2, 'StartingError');
|
||||
INSERT INTO running_state (id, name) VALUES (3, 'Running');
|
||||
INSERT INTO running_state (id, name) VALUES (4, 'Stopping');
|
||||
INSERT INTO running_state (id, name) VALUES (5, 'StoppedNormally');
|
||||
INSERT INTO running_state (id, name) VALUES (6, 'StoppedError');
|
||||
INSERT INTO service_group_type (id, name) VALUES (0, 'Master');
|
||||
INSERT INTO service_group_type (id, name) VALUES (1, 'Core');
|
||||
INSERT INTO service_group_type (id, name) VALUES (2, 'ExercisePreparation');
|
||||
INSERT INTO service_group_type (id, name) VALUES (3, 'ExerciseExecution');
|
||||
INSERT INTO service_group_type (id, name) VALUES (4, 'ExercisePaused');
|
||||
INSERT INTO service_group_type (id, name) VALUES (5, 'ExerciseAfterActionReview');
|
||||
INSERT INTO service_group_type (id, name) VALUES (6, 'Playback');
|
||||
INSERT INTO z_reference (id, name) VALUES (0, 'ZrUndefined');
|
||||
INSERT INTO z_reference (id, name) VALUES (1, 'Zr_Unused');
|
||||
INSERT INTO z_reference (id, name) VALUES (100, 'ZrRelativeAGL');
|
||||
INSERT INTO z_reference (id, name) VALUES (200, 'ZrAbsolute');
|
||||
INSERT INTO z_reference (id, name) VALUES (300, 'ZrDrapedOnGround');
|
||||
INSERT INTO z_reference (id, name) VALUES (400, 'ZrRelativeToDefinedValue');
|
||||
|
||||
-- --------------------------------------------------------------------------------
|
||||
|
||||
-- Notify functions for callbacks (signals in db interface)
|
||||
|
||||
|
||||
-- --------------------------------------------------------------------------------
|
||||
|
||||
-- Notify function trigger for callbacks (signals in db interface)
|
||||
|
||||
|
||||
-- --------------------------------------------------------------------------------
|
||||
|
||||
-- Indexes
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
+2
@@ -0,0 +1,2 @@
|
||||
BEGIN;
|
||||
END;
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
BEGIN;
|
||||
--- Offset: 486539264 = 0x1d000000
|
||||
|
||||
--- Charge Visibility - 0x1d010000 = 486604800
|
||||
INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (486604800, 'Charge Visibility', 'Charge Visibility', 4, false);
|
||||
--- Base: 486604800, ChargeVisibilityEdit - 486604801 = 0x1d010001
|
||||
INSERT INTO opm.opm_access_control_level (id, name, description) VALUES (486604801, 'ChargeVisibilityEdit', 'Edit Charge Visibility');
|
||||
INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (486539264, 'ChargeVisibilityEdit', 'Edit Charge Visibility', 1, true);
|
||||
INSERT INTO opm.opm_acl_allow (group_id, acl_id) VALUES (486539264, 486604801); -- group_id is: 486539264 = 0x1d000000
|
||||
INSERT INTO opm.opm_group_group (group_id, is_member_of_group_id) VALUES (486604800, 486539264); -- Charge Visibility
|
||||
|
||||
END;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
BEGIN;
|
||||
END;
|
||||
+204
@@ -0,0 +1,204 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<service namespace="Core" abbreviation="CORE" procNames="Core" exerciseDependency="Global">
|
||||
<rcs>
|
||||
<Id Id="$Id$"/>
|
||||
<HeadURL HeadURL="$HeadURL$"/>
|
||||
<Author Author="$Author$"/>
|
||||
</rcs>
|
||||
<tables>
|
||||
<table name="ft_reply_state" comment="static data (not project specific) generate from enum">
|
||||
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
||||
<column name="name" datatype="text"/>
|
||||
</table>
|
||||
<table name="replay_type" comment="Type of replay (Data for reports/events or situation)">
|
||||
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
||||
<column name="name" datatype="text"/>
|
||||
</table>
|
||||
<table name="running_state">
|
||||
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
||||
<column name="name" datatype="text"/>
|
||||
</table>
|
||||
<table name="service_group_type">
|
||||
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
||||
<column name="name" datatype="text"/>
|
||||
</table>
|
||||
<table name="z_reference">
|
||||
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
||||
<column name="name" datatype="text"/>
|
||||
</table>
|
||||
</tables>
|
||||
<views/>
|
||||
<topicTypes>
|
||||
<topicType name="BaseEntity">
|
||||
<column name="id" idlType="long" isKey="1"/>
|
||||
<column name="name" idlType="string"/>
|
||||
<column name="isDeleted" idlType="boolean"/>
|
||||
<column name="isUsed" idlType="boolean" comment="Defines if it is used by others (i.e. foreign key constraint)"/>
|
||||
</topicType>
|
||||
<topicType name="BaseEntityTranslatable">
|
||||
<column name="id" idlType="long" isKey="1"/>
|
||||
<column name="name" idlType="string" isTranslatable="1"/>
|
||||
<column name="isDeleted" idlType="boolean"/>
|
||||
<column name="isUsed" idlType="boolean" comment="Defines if it is used by others (i.e. foreign key constraint)"/>
|
||||
</topicType>
|
||||
<topicType name="BaseEntityWithSampleTime" baseValueType="BaseEntity">
|
||||
<column name="sampleTime" idlType="long long" comment="Timestamp"/>
|
||||
</topicType>
|
||||
<topicType name="CurrentRunningState" isDataObject="1" routeToClient="0" routeToServer="0" routeInReplay="0">
|
||||
<column name="pid" idlType="long long" isKey="1"/>
|
||||
<column name="runningState" idlType="RunningState"/>
|
||||
<column name="ports" idlType="sequence<PortInformation>" isOptional="1"/>
|
||||
<column name="errorString" idlType="string" isOptional="1"/>
|
||||
</topicType>
|
||||
<topicType name="FunctionReply">
|
||||
<column name="id" idlType="long"/>
|
||||
<column name="errorString" idlType="string"/>
|
||||
<column name="errorParams" idlType="sequence<string>"/>
|
||||
<column name="additionalInfo" idlType="string"/>
|
||||
</topicType>
|
||||
<topicType name="FunctionReplyWithState" baseValueType="FunctionReply">
|
||||
<column name="replyState" idlType="FtReplyState"/>
|
||||
</topicType>
|
||||
<topicType name="GeoPositionAbsoluteTime" baseValueType="GeoPosition">
|
||||
<column name="absoluteTime" idlType="long long" comment="Timestamp"/>
|
||||
</topicType>
|
||||
<topicType name="GeoPositionRelativeTime" baseValueType="GeoPosition">
|
||||
<column name="relativeTime" idlType="long long" comment="Timestamp"/>
|
||||
</topicType>
|
||||
<topicType name="GeoPosition" baseValueType="GeoPosition2D">
|
||||
<column name="z" idlType="double" comment="height above ground"/>
|
||||
</topicType>
|
||||
<topicType name="GeoPosition2D">
|
||||
<column name="lon" idlType="double" comment="[m]"/>
|
||||
<column name="lat" idlType="double" comment="[m]"/>
|
||||
</topicType>
|
||||
<topicType name="LockEntityError">
|
||||
<column name="workstationName" idlType="string"/>
|
||||
<column name="operatorName" idlType="string"/>
|
||||
</topicType>
|
||||
<topicType name="TryLockEntityReply" baseValueType="FunctionReply">
|
||||
<column name="alreadyLocked" idlType="LockEntityError" isOptional="1"/>
|
||||
</topicType>
|
||||
<topicType name="LockedEntity" isDataObject="1" routeToClient="0" routeToServer="0" routeInReplay="0" baseValueType="LockedEntityBase">
|
||||
<column name="id" idlType="long long" isKey="1"/>
|
||||
</topicType>
|
||||
<topicType name="LockedEntityBase">
|
||||
<column name="operatorId" idlType="long"/>
|
||||
<column name="workstationId" idlType="long"/>
|
||||
<column name="exerciseId" idlType="long"/>
|
||||
<column name="entityId" idlType="long long"/>
|
||||
<column name="entityTypeName" idlType="string"/>
|
||||
</topicType>
|
||||
<topicType name="TryLockEntityRequest" baseValueType="LockedEntityBase">
|
||||
<column name="id" idlType="long"/>
|
||||
</topicType>
|
||||
<topicType name="TryUnlockEntityRequest">
|
||||
<column name="id" idlType="long"/>
|
||||
</topicType>
|
||||
<topicType name="Orientation">
|
||||
<column name="heave" idlType="double"/>
|
||||
<column name="pitch" idlType="double"/>
|
||||
<column name="roll" idlType="double"/>
|
||||
</topicType>
|
||||
<topicType name="PartitionTime" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
||||
<column name="timeStamp" idlType="long long"/>
|
||||
</topicType>
|
||||
<topicType name="PortInformation">
|
||||
<column name="number" idlType="long"/>
|
||||
<column name="type" idlType="CorePortType"/>
|
||||
<column name="properties" idlType="string"/>
|
||||
</topicType>
|
||||
<topicType name="RelativePosition">
|
||||
<column name="offsetX" idlType="double" comment="in meter"/>
|
||||
<column name="offsetY" idlType="double" comment="in meter"/>
|
||||
<column name="offsetZ" idlType="double" comment="in meter"/>
|
||||
</topicType>
|
||||
<topicType name="RelativePositionAbsoluteTime" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0" baseValueType="RelativePosition">
|
||||
<column name="absoluteTime" idlType="long long" comment="TimeStamp"/>
|
||||
</topicType>
|
||||
<topicType name="RelativePositionRelativeTime" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0" baseValueType="RelativePosition">
|
||||
<column name="relativeTime" idlType="long long" comment="TimeStamp"/>
|
||||
</topicType>
|
||||
<topicType name="RemoveElementRequest">
|
||||
<column name="id" idlType="long"/>
|
||||
</topicType>
|
||||
<topicType name="ReplayPartition" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
||||
<column name="id" idlType="long" isKey="1"/>
|
||||
<column name="name" idlType="string"/>
|
||||
<column name="exerciseId" idlType="long"/>
|
||||
<column name="workstationId" idlType="long"/>
|
||||
<column name="operatorId" idlType="long"/>
|
||||
<column name="replayType" idlType="ReplayType"/>
|
||||
<column name="domainId" idlType="long"/>
|
||||
<column name="tcpConnectionUrl" idlType="string"/>
|
||||
</topicType>
|
||||
<topicType name="Velocity">
|
||||
<column name="x" idlType="double"/>
|
||||
<column name="y" idlType="double"/>
|
||||
<column name="z" idlType="double"/>
|
||||
</topicType>
|
||||
</topicTypes>
|
||||
<functionTopics>
|
||||
<functionTopic name="TryLockEntity" requestTopicType="TryLockEntityRequest" replyTopicType="TryLockEntityReply" requestTopicName="TryLockEntityRequest" replyTopicName="TryLockEntityReply" routeInReplay="1"/>
|
||||
<!-- <functionTopic name="TryLockEntity" requestTopicType="LockedEntityBase" replyTopicType="TryLockEntityReply" requestTopicName="TryLockEntityRequest" replyTopicName="TryLockEntityReply" routeInReplay="1"/>-->-->
|
||||
<functionTopic name="TryUnlockEntity" requestTopicType="TryUnlockEntityRequest" replyTopicType="FunctionReply" requestTopicName="TryUnlockEntityRequest" replyTopicName="TryUnlockEntityReply" routeInReplay="1"/>
|
||||
</functionTopics>
|
||||
<enumerations>
|
||||
<enumeration name="FtReplyState" table="ft_reply_state">
|
||||
<attribute key="NotStarted" value="0"/>
|
||||
<attribute key="InProgress" value="1"/>
|
||||
<attribute key="Completed" value="2"/>
|
||||
<attribute key="Error" value="4"/>
|
||||
</enumeration>
|
||||
<enumeration name="CorePortType">
|
||||
<attribute key="Unknown" value="0"/>
|
||||
<attribute key="WebSocketServer" value="1"/>
|
||||
<attribute key="WebSocketPositionServer" value="2"/>
|
||||
<attribute key="WebSocketAdlerServer" value="3"/>
|
||||
</enumeration>
|
||||
<enumeration name="PositionReportingSource">
|
||||
<attribute key="Gps" value="0"/>
|
||||
<attribute key="Wls" value="1"/>
|
||||
<attribute key="Ops" value="2"/>
|
||||
<attribute key="External" value="3"/>
|
||||
<attribute key="SetByOperator" value="4"/>
|
||||
<attribute key="MovementSimulation" value="5"/>
|
||||
<attribute key="OpsTunnel" value="6"/>
|
||||
<attribute key="OpsBuilding" value="7"/>
|
||||
</enumeration>
|
||||
<enumeration name="ReplayType" table="replay_type">
|
||||
<attribute key="UnknownData" value="0"/>
|
||||
<attribute key="SituationData" value="1"/>
|
||||
<attribute key="ReportData" value="2"/>
|
||||
<attribute key="EventData" value="3"/>
|
||||
<attribute key="OtherData" value="4"/>
|
||||
<attribute key="SnapshotData" value="5"/>
|
||||
</enumeration>
|
||||
<enumeration name="RunningState" table="running_state">
|
||||
<attribute key="NotYetStarted" value="0"/>
|
||||
<attribute key="Starting" value="1"/>
|
||||
<attribute key="StartingError" value="2"/>
|
||||
<attribute key="Running" value="3"/>
|
||||
<attribute key="Stopping" value="4"/>
|
||||
<attribute key="StoppedNormally" value="5"/>
|
||||
<attribute key="StoppedError" value="6"/>
|
||||
</enumeration>
|
||||
<enumeration name="ServiceGroupType" table="service_group_type">
|
||||
<attribute key="Master" value="0"/>
|
||||
<attribute key="Core" value="1"/>
|
||||
<attribute key="ExercisePreparation" value="2"/>
|
||||
<attribute key="ExerciseExecution" value="3"/>
|
||||
<attribute key="ExercisePaused" value="4"/>
|
||||
<attribute key="ExerciseAfterActionReview" value="5"/>
|
||||
<attribute key="Playback" value="6"/>
|
||||
</enumeration>
|
||||
<enumeration name="ZReference" table="z_reference">
|
||||
<attribute key="ZrUndefined" value="0"/>
|
||||
<attribute key="Zr_Unused" value="1"/>
|
||||
<attribute key="ZrRelativeAGL" value="100"/>
|
||||
<attribute key="ZrAbsolute" value="200"/>
|
||||
<attribute key="ZrDrapedOnGround" value="300"/>
|
||||
<attribute key="ZrRelativeToDefinedValue" value="400"/>
|
||||
</enumeration>
|
||||
</enumerations>
|
||||
</service>
|
||||
+1571
File diff suppressed because it is too large.
Load diff
+1176
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user