-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dronecan/protocol: add Stats and CanStats messages
- Loading branch information
1 parent
6537918
commit de93d9c
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
# | ||
# monitor the status of the DroneCAN Protocol decoder on the node | ||
# | ||
|
||
uint32 tx_frames # Number of transmitted frames | ||
uint16 tx_errors # Number of errors during transmission | ||
uint32 rx_frames # Number of received frames | ||
uint16 rx_error_oom # Number of out-of-memory errors | ||
uint16 rx_error_internal # Number of internal errors | ||
uint16 rx_error_missed_start # Number of missed start bits | ||
uint16 rx_error_wrong_toggle # Number of wrong toggle bits | ||
uint16 rx_error_short_frame # Number of frames that were too short | ||
uint16 rx_error_bad_crc # Number of frames with bad CRC | ||
uint16 rx_ignored_wrong_address # Number of frames with wrong address | ||
uint16 rx_ignored_not_wanted # Number of frames that were not wanted | ||
uint16 rx_ignored_unexpected_tid # Number of frames with unexpected TID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# Monitor the stats of physical layer on the node | ||
# | ||
|
||
uint8 interface # interface number | ||
uint32 tx_requests # number of tx requests | ||
uint16 tx_rejected # number of tx requests rejected | ||
uint16 tx_overflow # number of tx requests overflow | ||
uint16 tx_success # number of tx requests success | ||
uint16 tx_timedout # number of tx requests timedout | ||
uint16 tx_abort # number of tx requests aborted | ||
uint32 rx_received # number of rx received | ||
uint16 rx_overflow # number of rx overflow | ||
uint16 rx_errors # number of rx errors | ||
uint16 busoff_errors # number of busoff errors |