[CanProtocol] Added stats in CanProtocol
3 unresolved threads
3 unresolved threads
Added BusLoadInfo in CanProtocol, if we initialize CAN2 we activate CAN1 clock, needed by CAN2
Merge request reports
Activity
changed milestone to %Gemini
assigned to @matteo.pignataro
added 14 commits
-
5af54ca5...c3c32706 - 4 commits from branch
main
- c594cc03 - [CanProtocol] Added BusLoadEstimation to CanProtocol
- 7d04e5b8 - [CanProtocol] Fixed typos
- 73ecd7dd - [BusLoadEstimation] Corrected how we count for sent bit and created a test for canProtocol
- 43a12908 - [CanProtocol] Fixed pipeline
- e00e75ee - [CanProtocol] Fixed default argument bug
- 08fd1b98 - [CanProtocol] Moved loadEstimator initialization in start method
- bb41e264 - [CanDriver] Automatically initialize CAN1 clock if we create a CAN2 CanDriver
- 30cfc728 - [TestCan] Updated test to new interface
- cf981261 - [CanProtocol] Fixed bug when calculating bus velocity
- 6df88831 - [CanProtocol] Get a new tick after sending the first one
Toggle commit list-
5af54ca5...c3c32706 - 4 commits from branch
added 12 commits
- 4c687f71 - [CircularBuffer] Fixed sync bug
- d48f5869 - [CanProtocol] Added BusLoadEstimation to CanProtocol
- c61fe002 - [CanProtocol] Fixed typos
- 3d5dde31 - [BusLoadEstimation] Corrected how we count for sent bit and created a test for canProtocol
- b0ab5cbc - [CanProtocol] Fixed pipeline
- 442138f7 - [CanProtocol] Fixed default argument bug
- 430c09eb - [CanProtocol] Moved loadEstimator initialization in start method
- 0d23a917 - [CanDriver] Automatically initialize CAN1 clock if we create a CAN2 CanDriver
- 05f4a6fc - [TestCan] Updated test to new interface
- 313ef396 - [CanProtocol] Fixed bug when calculating bus velocity
- bd8c57bf - [CanProtocol] Get a new tick after sending the first one
- ec2b65b6 - [CanProtocol] Removed unused include
Toggle commit listadded 11 commits
- 19196784 - [CanProtocol] Added BusLoadEstimation to CanProtocol
- 78e83488 - [CanProtocol] Fixed typos
- 377751d9 - [BusLoadEstimation] Corrected how we count for sent bit and created a test for canProtocol
- a11c5dcb - [CanProtocol] Fixed pipeline
- dc757f09 - [CanProtocol] Fixed default argument bug
- 2ac26ca8 - [CanProtocol] Moved loadEstimator initialization in start method
- ef268d88 - [CanDriver] Automatically initialize CAN1 clock if we create a CAN2 CanDriver
- 1c193782 - [TestCan] Updated test to new interface
- 484f006b - [CanProtocol] Fixed bug when calculating bus velocity
- bcdd0aa2 - [CanProtocol] Get a new tick after sending the first one
- 7ecb0365 - [CanProtocol] Removed unused include
Toggle commit listadded 12 commits
- 4c687f71 - [CircularBuffer] Fixed sync bug
- ed045bef - [CanProtocol] Added BusLoadEstimation to CanProtocol
- fd9c17e2 - [CanProtocol] Fixed typos
- 86f1f499 - [BusLoadEstimation] Corrected how we count for sent bit and created a test for canProtocol
- 57e04809 - [CanProtocol] Fixed pipeline
- b035acaa - [CanProtocol] Fixed default argument bug
- db8f20d4 - [CanProtocol] Moved loadEstimator initialization in start method
- 2f8db32b - [CanDriver] Automatically initialize CAN1 clock if we create a CAN2 CanDriver
- b00d647e - [TestCan] Updated test to new interface
- 4925dd66 - [CanProtocol] Fixed bug when calculating bus velocity
- 9d52fa8b - [CanProtocol] Get a new tick after sending the first one
- 4dec10e6 - [CanProtocol] Removed unused include
Toggle commit listadded 12 commits
-
ac52eaa9 - 1 commit from branch
main
- 2bd0ccf1 - [CanProtocol] Added BusLoadEstimation to CanProtocol
- 0540c7b3 - [CanProtocol] Fixed typos
- 7fb2c95e - [BusLoadEstimation] Corrected how we count for sent bit and created a test for canProtocol
- 9a93d6df - [CanProtocol] Fixed pipeline
- 85485f5f - [CanProtocol] Fixed default argument bug
- 71591894 - [CanProtocol] Moved loadEstimator initialization in start method
- f1b1409a - [CanDriver] Automatically initialize CAN1 clock if we create a CAN2 CanDriver
- 5515cb2e - [TestCan] Updated test to new interface
- 9264bfd0 - [CanProtocol] Fixed bug when calculating bus velocity
- f459fbd0 - [CanProtocol] Get a new tick after sending the first one
- 52e27e6d - [CanProtocol] Removed unused include
Toggle commit list-
ac52eaa9 - 1 commit from branch
added 12 commits
-
d27297d9 - 1 commit from branch
main
- e051e7e2 - [CanProtocol] Added BusLoadEstimation to CanProtocol
- 9197a6c6 - [CanProtocol] Fixed typos
- f9f2f090 - [BusLoadEstimation] Corrected how we count for sent bit and created a test for canProtocol
- c9f8a24e - [CanProtocol] Fixed pipeline
- 809badbe - [CanProtocol] Fixed default argument bug
- c21b6b58 - [CanProtocol] Moved loadEstimator initialization in start method
- 383c881d - [CanDriver] Automatically initialize CAN1 clock if we create a CAN2 CanDriver
- be79741b - [TestCan] Updated test to new interface
- c6927e07 - [CanProtocol] Fixed bug when calculating bus velocity
- 375a00a1 - [CanProtocol] Get a new tick after sending the first one
- 42c3c9fd - [CanProtocol] Removed unused include
Toggle commit list-
d27297d9 - 1 commit from branch
added 11 commits
- a1380238 - [CanDriver] Automatically initialize CAN1 clock if we create a CAN2 CanDriver
- 99d55b0e - [CanProtocol] Added BusLoadEstimation to CanProtocol
- 815aa7db - [CanProtocol] Fixed typos
- 79a21ae5 - [BusLoadEstimation] Corrected how we count for sent bit and created a test for canProtocol
- 8cca312f - [CanProtocol] Fixed pipeline
- ca682d29 - [CanProtocol] Fixed default argument bug
- 208b5e7e - [CanProtocol] Moved loadEstimator initialization in start method
- 3d76f094 - [TestCan] Updated test to new interface
- c057b7da - [CanProtocol] Fixed bug when calculating bus velocity
- 11eff855 - [CanProtocol] Get a new tick after sending the first one
- 6717664c - [CanProtocol] Removed unused include
Toggle commit list30 30 namespace Canbus 31 31 { 32 32 33 CanProtocol::CanProtocol(CanbusDriver* can, MsgHandler onReceive) 34 : can(can), onReceive(onReceive) 33 CanProtocol::CanProtocol(CanbusDriver* can, MsgHandler onReceive, 34 uint32_t baudRate) 35 : can(can), onReceive(onReceive), baudRate(baudRate) 35 36 { 36 37 } 37 38 38 39 bool CanProtocol::start() 39 40 { 40 stopFlag = false; 41 loadEstimator = new BusLoadEstimation(baudRate);
Please register or sign in to reply