-
Notifications
You must be signed in to change notification settings - Fork 6
Profiling Main
These tests were carried out using robot=TARGET_SOLDIER
, on the new soldier with all motors
connected, running default commands.
Drivers::mpu6500.read();
Drivers::errorController.update();
Drivers::commandScheduler.run();
Drivers::djiMotorTxHandler.processCanSendData();
-
Debug build
- 309 microseconds to execute with no hardware connected.
-
Drivers::mpu6500.read()
: 228 microseconds. -
Drivers::errorController.update()
: 10 microseconds. -
Drivers::commandScheduler.run()
: 62 microseconds (twoSystemErrors
are being added to the scheduler each iteration, which take a significant time). -
Drivers::djiMotorTxHandler.processCanSendData()
: 9 microseconds.
-
- 309 microseconds to execute with no hardware connected.
-
Release build
- 234 microseconds to execute with no hardware connected.
-
Drivers::mpu6500.read()
: 178 microseconds. -
Drivers::errorController.update()
: 4 microseconds. -
Drivers::commandScheduler.run()
: 47 microseconds (twoSystemErrors
are being added to the scheduler each iteration, which take a significant time). -
Drivers::djiMotorTxHandler.processCanSendData()
: 5 microseconds.
-
- 234 microseconds to execute with no hardware connected.
Drivers::canRxHandler.pollCanData();
Drivers::xavierSerial.updateSerial();
Drivers::refSerial.updateSerial();
Drivers::remote.read();
-
Debug build: takes 8 microseconds to execute with no hardware connected.
-
Release build: takes 5 microseconds to execute with no hardware connected.
getDrivers().mpu6500.read();
getDrivers().errorController.update();
getDrivers().commandScheduler.run();
getDrivers().djiMotorTxHandler.processCanSendData();
-
Debug build
- 307 microseconds to execute with no hardware connected.
-
getDrivers().mpu6500.read()
: 227 microseconds. -
getDrivers().errorController.update()
: 10 microseconds. -
getDrivers().commandScheduler.run()
: 62 microseconds. -
getDrivers().djiMotorTxHandler.processCanSendData()
: 9 microseconds.
-
- 307 microseconds to execute with no hardware connected.
-
Release build
- 232 microseconds to execute with no hardware connected.
-
getDrivers().mpu6500.read()
: 177 microseconds -
getDrivers().errorController.update()
: 3 microseconds. -
getDrivers().commandScheduler.run()
: 47 microseconds (twoSystemErrors
are being added to the scheduler each iteration, which take a significant time). -
getDrivers().djiMotorTxHandler.processCanSendData()
: 5 microseconds
-
- 232 microseconds to execute with no hardware connected.
getDrivers().canRxHandler.pollCanData();
getDrivers().xavierSerial.updateSerial();
getDrivers().refSerial.updateSerial();
getDrivers().remote.read();
-
Debug build: takes 7 microseconds to execute with no hardware connected.
-
Release build: takes 5 microseconds to execute with no hardware connected.
Looking for something else or would like to contribute to the wiki?
This wiki is a readonly mirror of our GitLab wiki. We use mermaid diagrams in this wiki, which are not supported in GitHub. We recommend referring to the GitLab wiki for the best experience or if you would like to contribute.
Architecture Design
- Directory Structure
- Build Targets Overview
- Drivers Architecture
- Command Subsystem Framework
- Generated Documentation
Using Taproot
Software Tools
- Docker Overview
- Debugging Safety Information
- Debugging With ST-Link
- Debugging With J-Link
- Git Tutorial
- How to Chip Erase the MCB
RoboMaster Tools
Software Profiling
System Setup Guides
- Windows Setup
- Debian Linux Setup
- Fedora Linux Setup
- macOS Setup
- Docker Container Setup
- (deprecated) Windows WSL Setup
Control System Design Notes
Miscellaneous and Brainstorming
Submit edits to this wiki via the taproot-wiki-review repo.