Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
Verwendeter Code für die Bachelorarbeit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Markus Scheck
Verwendeter Code für die Bachelorarbeit
Commits
357719ca
Commit
357719ca
authored
4 years ago
by
Markus Scheck
Browse files
Options
Downloads
Patches
Plain Diff
Add comment about RT capabilities on ethernet.
parent
4e42ca71
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Programme/Ethernet/timings_allsize/README.md
+4
-0
4 additions, 0 deletions
Programme/Ethernet/timings_allsize/README.md
Programme/Ethernet/timings_allsize/sender.can
+1
-3
1 addition, 3 deletions
Programme/Ethernet/timings_allsize/sender.can
with
5 additions
and
3 deletions
Programme/Ethernet/timings_allsize/README.md
0 → 100644
+
4
−
0
View file @
357719ca
Zum Ausführen dieses Programms muss ein spezieller CANoe-Realtime-Aufbau verwendet werden. Ansonsten wird der Jitter deutlich höher als erwartet.
Siehe https://assets.vector.com/cms/content/products/canoe/canoe/docs/Fact%20Sheets/CANoe_FactSheet_DE.pdf.
Mit dem Timings_deltas_between_packages werden auch mit einem normalen CANoe-Aufbau ähnliche Werte wie mit dem RT-Fähigen Aufbau erzielt.
This diff is collapsed.
Click to expand it.
Programme/Ethernet/timings_allsize/sender.can
+
1
−
3
View file @
357719ca
...
...
@@ -72,14 +72,12 @@ on ethernetPacket msgChannel2.* {
if(count == num_send) {
snprintf(outbuf, 20, "%ld", txPacket.Length);
write(outbuf);
snprintf(outbuf, 20, "del
ay
: %ld ns", accumulate/8192);
snprintf(outbuf, 20, "del: %ld ns", accumulate/8192);
write(outbuf);
snprintf(outbuf, 20, "min: %ld ns", minTime);
write(outbuf);
snprintf(outbuf, 20, "max: %ld ns", maxTime);
write(outbuf);
snprintf(outbuf, 20, "jitter: %ld ns", maxTime-minTime);
write(outbuf);
// try next length
if(txPacket.Length < 1500 && random == 0) {
txPacket.Length += 1;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment