CYCLONE DDS COMPATIBILITY: Disable PUSH_MODE
It seems that Cyclone DDS discards a DATA message before it has received a HEARTBEAT, but still ACKs it in the ACKNACKs.
This commit is contained in:
parent
fcbb6f12f5
commit
80eb517eda
@ -94,7 +94,7 @@ package body user_config is
|
||||
procedure set_sim_timing (ref : inout CONFIG_TYPE; sel : in boolean) is
|
||||
begin
|
||||
if (sel) then
|
||||
ref.HEARTBEAT_PERIOD := gen_duration(10 us);
|
||||
ref.HEARTBEAT_PERIOD := gen_duration(50 us);
|
||||
ref.HEARTBEAT_RESPONSE_DELAY := gen_duration(500 ns);
|
||||
ref.HEARTBEAT_SUPPRESSION_DELAY := gen_duration(100 ns);
|
||||
ref.ACKNACK_RESPONSE_DELAY := gen_duration(500 ns);
|
||||
|
||||
@ -430,6 +430,7 @@ package body ros_package is
|
||||
config.MAX_SAMPLES := profile.HISTORY_DEPTH;
|
||||
config.MAX_INSTANCES := profile.HISTORY_DEPTH;
|
||||
config.MAX_SAMPLES_PER_INSTANCE := profile.HISTORY_DEPTH;
|
||||
config.PUSH_MODE := FALSE; -- CycloneDDS compatibility
|
||||
end procedure;
|
||||
|
||||
function gen_fqn(ns : string; node : string; name : string) return USER_STRING_TYPE is
|
||||
|
||||
Loading…
Reference in New Issue
Block a user