Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
acce59a7
Commit
acce59a7
authored
Mar 14, 2018
by
Andreas Schmidt
Browse files
Fix RTprop overestimation due to off-by-one timestamp diff.
parent
5b1f5b0c
Pipeline
#2051
failed with stages
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
prrt/proto/processes/dataReceiver.c
View file @
acce59a7
...
...
@@ -303,8 +303,6 @@ void *receive_data_loop(void *ptr) {
XlapTimeStampCycle
(
sock_ptr
,
kind
,
seqno
,
HandlePacketStart
);
send_feedback
(
sock_ptr
,
remote
,
seqno
,
prrt_recv_timestamp
,
sentTimestamp
,
packetType
);
if
(
packetType
==
PACKET_TYPE_DATA
)
{
handle_data_packet
(
sock_ptr
,
packet
);
}
else
if
(
packetType
==
PACKET_TYPE_REDUNDANCY
)
{
...
...
@@ -312,6 +310,7 @@ void *receive_data_loop(void *ptr) {
}
else
{
goto
error
;
}
send_feedback
(
sock_ptr
,
remote
,
seqno
,
prrt_recv_timestamp
,
sentTimestamp
,
packetType
);
XlapTimeStampCycle
(
sock_ptr
,
kind
,
seqno
,
HandlePacketEnd
);
}
else
{
PrrtPacket_print
(
packet
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment