Files
PX4-Autopilot/dsdl/uavcan/protocol/dynamic_node_id/server/220.AppendEntries.uavcan
T

21 lines
373 B
Plaintext

#
# This type is a part of the Raft consensus algorithm.
# Please refer to the specification for details.
#
uint16 DEFAULT_REQUEST_TIMEOUT_MS = 100
uint16 DEFAULT_BASE_ELECTION_TIMEOUT_MS = 1000 # request timeout * max cluster size * 2 requests
uint32 term
uint32 prev_log_term
uint8 prev_log_index
uint8 leader_commit
Entry[<=5] entries
---
uint32 term
bool success