Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hugo/feature/Add Stabilization to MotionKit #1315

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

HPezz
Copy link
Contributor

@HPezz HPezz commented Mar 6, 2023

Add a yaw stabilization method in MotionKit

  • Validated on robot

@HPezz HPezz requested a review from ladislas March 6, 2023 09:47
@HPezz HPezz changed the base branch from develop to hugo/feature/Update-MotionKit-Rotation-to-Fusion March 6, 2023 09:47
@HPezz HPezz self-assigned this Mar 6, 2023
@HPezz HPezz added the 01 - type: task Something to do label Mar 6, 2023
@HPezz HPezz added this to the Future Release milestone Mar 6, 2023
@HPezz HPezz force-pushed the hugo/feature/Add-Stabilization-to-MotionKit branch from 865de96 to 2e8dd9e Compare March 6, 2023 09:55
@HPezz HPezz force-pushed the hugo/feature/Update-MotionKit-Rotation-to-Fusion branch from 3088d4a to 9bd7ea9 Compare March 6, 2023 09:56
@github-actions
Copy link

github-actions bot commented Mar 6, 2023

🔖 Version comparison

Version Same as filename Same as os_version
os 1.3.0+1678112685 ✔️ ✔️
firmware
(bootloader + os)
1.3.0+1678112685 ✔️ ✔️

@github-actions
Copy link

github-actions bot commented Mar 6, 2023

📈 Changes Impact Analysis Report

📌 Info

  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: OFF
base head
branch hugo/feature/Update-MotionKit-Rotation-to-Fusion hugo/feature/Add-Stabilization-to-MotionKit
sha 9f9fa0c 4aa661a
mbed mbed-os@master+fixes+gcc-11-support mbed-os@master+fixes+gcc-11-support
-std -std=c++20 -std=c++20

🤖 Firmware impact analysis

Target Flash Used (base/head) Flash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 170888 (65%) ø 91256 (34%)
91256 (34%)
30960 (5%) ø
os 446056 (28%)
446120 (28%)
📈
+64 (+0%)
1118616 (71%)
1118552 (71%)
83640 (15%)
83672 (15%)
📈
+32 (+0%)
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

🔬 Detailed impact analysis

Click to show detailed analysis for all targets
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 446056 (21%)
446120 (21%)
📈
+64 (+0%)
83640 (15%)
83672 (15%)
📈
+32 (+0%)
bootloader ✔️ 170888 (8%) ø 30960 (5%) ø
functional_ut_boost_ut ✔️ 394140 (18%) ø 20456 (3%) ø
functional_ut_core_imu ✔️ 377656 (18%) ø 20968 (3%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 360600 (17%) ø 20440 (3%) ø
functional_ut_deep_sleep_core_motor ✔️ 364540 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_core_pwm ✔️ 366676 (17%) ø 20480 (3%) ø
functional_ut_deep_sleep_log_kit ✔️ 352568 (16%) ø 20408 (3%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 354344 (16%) ø 20408 (3%) ø
functional_ut_file_manager ✔️ 376272 (17%) ø 20696 (3%) ø
functional_ut_firmware_kit ✔️ 367084 (17%) ø 20688 (3%) ø
functional_ut_imu_kit ✔️ 381572 (18%) ø 21144 (4%) ø
functional_ut_io_expander ✔️ 359576 (17%) ø 20424 (3%) ø
functional_ut_qdac ✔️ 360744 (17%) ø 20424 (3%) ø
spike_lk_audio ✔️ 127092 (6%) ø 14592 (2%) ø
spike_lk_behavior_kit ✔️ 189440 (9%) ø 48096 (9%) ø
spike_lk_ble ✔️ 229600 (10%) ø 28472 (5%) ø
spike_lk_bluetooth ✔️ 82948 (3%) ø 11544 (2%) ø
spike_lk_cg_animations ✔️ 145976 (6%) ø 46528 (8%) ø
spike_lk_color_kit ✔️ 65840 (3%) ø 13744 (2%) ø
spike_lk_command_kit ✔️ 220712 (10%)
220776 (10%)
📈
+64 (+0%)
52640 (10%)
52672 (10%)
📈
+32 (+0%)
spike_lk_config_kit ✔️ 127324 (6%) ø 14360 (2%) ø
spike_lk_coreled ✔️ 76292 (3%) ø 13688 (2%) ø
spike_lk_core_touch_sensor ✔️ 80508 (3%) ø 12248 (2%) ø
spike_lk_event_queue ✔️ 74800 (3%) ø 12072 (2%) ø
spike_lk_file_manager_kit ✔️ 139528 (6%) ø 14440 (2%) ø
spike_lk_file_reception ✔️ 336000 (16%) ø 27792 (5%) ø
spike_lk_flash_memory ✔️ 63880 (3%) ø 11448 (2%) ø
spike_lk_fs ✔️ 175668 (8%) ø 47928 (9%) ø
spike_lk_imu_kit ✔️ 98860 (4%) ø 13032 (2%) ø
spike_lk_lcd ✔️ 163352 (7%) ø 46680 (8%) ø
spike_lk_led_kit ✔️ 103424 (4%) ø 14528 (2%) ø
spike_lk_log_kit ✔️ 63288 (3%) ø 12256 (2%) ø
spike_lk_motion_kit ✔️ 111268 (5%)
111716 (5%)
📈
+448 (+0%)
15168 (2%)
15200 (2%)
📈
+32 (+0%)
spike_lk_motors ✔️ 62864 (2%) ø 11488 (2%) ø
spike_lk_qdac ✔️ 78852 (3%) ø 11808 (2%) ø
spike_lk_reinforcer ✔️ 217944 (10%)
218008 (10%)
📈
+64 (+0%)
49824 (9%)
49856 (9%)
📈
+32 (+0%)
spike_lk_rfid ✔️ 79084 (3%) ø 11504 (2%) ø
spike_lk_sensors_battery ✔️ 78388 (3%) ø 12600 (2%) ø
spike_lk_sensors_imu_lsm6dsox ✔️ 89468 (4%) ø 12824 (2%) ø
spike_lk_sensors_imu_lsm6dsox_fusion_calibration ✔️ 97916 (4%) ø 12952 (2%) ø
spike_lk_sensors_light ✔️ 60056 (2%) ø 11440 (2%) ø
spike_lk_sensors_microphone ✔️ 72496 (3%) ø 11504 (2%) ø
spike_lk_sensors_temperature_humidity ✔️ 67272 (3%) ø 11424 (2%) ø
spike_lk_serial_number ✔️ 133084 (6%) ø 14304 (2%) ø
spike_lk_ticker_timeout ✔️ 69052 (3%) ø 11632 (2%) ø
spike_lk_touch_sensor_kit ✔️ 87896 (4%) ø 12824 (2%) ø
spike_lk_update_process_app_base ✔️ 145620 (6%) ø 15576 (2%) ø
spike_lk_update_process_app_update ✔️ 77632 (3%) ø 12352 (2%) ø
spike_lk_watchdog_isr ✔️ 80196 (3%) ø 13288 (2%) ø
spike_lk_wifi ✔️ 116544 (5%) ø 14808 (2%) ø
spike_mbed_blinky ✔️ 58032 (2%) ø 11400 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 63208 (3%) ø 12448 (2%) ø
spike_stl_cxxsupport ✔️ 58456 (2%) ø 11400 (2%) ø

🗺️ Map files diff output

LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2023-03-06 14:36:05.561490798 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2023-03-06 14:36:05.929490088 +0000
@@ -1,55 +1,55 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       666(+666) |     10(+10) |     250(+250) |
+| [fill]                     |       694(+694) |     10(+10) |     250(+250) |
 | [lib]/ActivityKit.a        |   10590(+10590) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1476(+1476) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
 | [lib]/BehaviorKit.a        |     1652(+1652) |   460(+460) |         0(+0) |
 | [lib]/ColorKit.a           |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a         |     1120(+1120) |       0(+0) |         0(+0) |
 | [lib]/CoreBattery.a        |       544(+544) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       0(+0) |         0(+0) |
 | [lib]/CoreFlashMemory.a    |       546(+546) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       118(+118) |       0(+0) |         0(+0) |
 | [lib]/CoreMCU.a            |         16(+16) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CoreMutex.a          |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreQSPI.a           |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/CoreRFIDReader.a     |       580(+580) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a            |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a       |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a          |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a     |     1786(+1786) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       944(+944) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       876(+876) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a             |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       878(+878) |       0(+0) |         0(+0) |
 | [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
 | [lib]/ReinforcerKit.a      |     1250(+1250) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       700(+700) |       0(+0) |       36(+36) |
 | [lib]/bootutil.a           |     1362(+1362) |     12(+12) |     132(+132) |
 | [lib]/c.a                  |   49944(+49944) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 180206(+180206) |   773(+773) | 19667(+19667) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   11964(+11964) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj               |   78434(+78434) |   108(+108) | 27490(+27490) |
-| Subtotals                  | 400176(+400176) | 4416(+4416) | 78896(+78896) |
-Total Static RAM memory (data + bss): 83312(+83312) bytes
-Total Flash memory (text + data): 404592(+404592) bytes
+| main.cpp.obj               |   78470(+78470) |   108(+108) | 27522(+27522) |
+| Subtotals                  | 400240(+400240) | 4416(+4416) | 78928(+78928) |
+Total Static RAM memory (data + bss): 83344(+83344) bytes
+Total Flash memory (text + data): 404656(+404656) bytes
 
Flash used: 446120 (21%) / total: 2097152
SRAM used: 83672 (15%) / total: 524288
spike_lk_command_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_command_kit-map.txt	2023-03-06 14:36:16.049476962 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_command_kit-map.txt	2023-03-06 14:36:16.277476863 +0000
@@ -1,40 +1,40 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       260(+260) |       5(+5) |       48(+48) |
+| [fill]                  |       300(+300) |       5(+5) |       48(+48) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a      |     1152(+1152) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a  |       126(+126) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a         |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a |       136(+136) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a     |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1228(+1228) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a          |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a          |       876(+876) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a          |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a       |       878(+878) |       0(+0) |         0(+0) |
 | [lib]/ReinforcerKit.a   |     1734(+1734) |   460(+460) |         0(+0) |
 | [lib]/Utils.a           |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a        |       884(+884) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   42000(+42000) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     5008(+5008) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   74512(+74512) |   464(+464) | 10827(+10827) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10296(+10296) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj            |     5308(+5308) |   278(+278) |   6296(+6296) |
-| Subtotals               | 191184(+191184) | 3800(+3800) | 48520(+48520) |
-Total Static RAM memory (data + bss): 52320(+52320) bytes
-Total Flash memory (text + data): 194984(+194984) bytes
+| main.cpp.obj            |     5332(+5332) |   278(+278) |   6328(+6328) |
+| Subtotals               | 191248(+191248) | 3800(+3800) | 48552(+48552) |
+Total Static RAM memory (data + bss): 52352(+52352) bytes
+Total Flash memory (text + data): 195048(+195048) bytes
 
Flash used: 220776 (10%) / total: 2097152
SRAM used: 52672 (10%) / total: 524288
spike_lk_motion_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_motion_kit-map.txt	2023-03-06 14:36:21.085474683 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_motion_kit-map.txt	2023-03-06 14:36:21.253474600 +0000
@@ -1,29 +1,29 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       196(+196) |       8(+8) |       34(+34) |
+| [fill]                     |       166(+166) |       8(+8) |       34(+34) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         76(+76) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       222(+222) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreRFIDReader.a     |       616(+616) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       876(+876) |       0(+0) |     164(+164) |
-| [lib]/MotionKit.a          |       878(+878) |       0(+0) |         0(+0) |
+| [lib]/MotionKit.a          |     1312(+1312) |       0(+0) |         0(+0) |
 | [lib]/RFIDKit.a            |     1046(+1046) |       0(+0) |         8(+8) |
 | [lib]/c.a                  |   26128(+26128) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     4804(+4804) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   42182(+42182) |   444(+444) |   8772(+8772) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |     4116(+4116) |       8(+8) |       28(+28) |
-| main.cpp.obj               |     1852(+1852) |       0(+0) |   2844(+2844) |
-| Subtotals                  | 100512(+100512) | 2936(+2936) | 11936(+11936) |
-Total Static RAM memory (data + bss): 14872(+14872) bytes
-Total Flash memory (text + data): 103448(+103448) bytes
+| main.cpp.obj               |     1896(+1896) |       0(+0) |   2876(+2876) |
+| Subtotals                  | 100960(+100960) | 2936(+2936) | 11968(+11968) |
+Total Static RAM memory (data + bss): 14904(+14904) bytes
+Total Flash memory (text + data): 103896(+103896) bytes
 
Flash used: 111716 (5%) / total: 2097152
SRAM used: 15200 (2%) / total: 524288
spike_lk_reinforcer (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_reinforcer-map.txt	2023-03-06 14:36:22.189474139 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_reinforcer-map.txt	2023-03-06 14:36:22.413474029 +0000
@@ -1,37 +1,37 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       258(+258) |       3(+3) |       48(+48) |
+| [fill]                  |       298(+298) |       3(+3) |       48(+48) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a  |       126(+126) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a         |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a |       136(+136) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a     |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1228(+1228) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a          |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a          |       876(+876) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a          |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a       |       878(+878) |       0(+0) |         0(+0) |
 | [lib]/ReinforcerKit.a   |     1704(+1704) |   460(+460) |         0(+0) |
 | [lib]/VideoKit.a        |       884(+884) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   42000(+42000) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     5008(+5008) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   74512(+74512) |   464(+464) | 10827(+10827) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10296(+10296) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj            |     4230(+4230) |       8(+8) |   3752(+3752) |
-| Subtotals               | 188880(+188880) | 3528(+3528) | 45976(+45976) |
-Total Static RAM memory (data + bss): 49504(+49504) bytes
-Total Flash memory (text + data): 192408(+192408) bytes
+| main.cpp.obj            |     4254(+4254) |       8(+8) |   3784(+3784) |
+| Subtotals               | 188944(+188944) | 3528(+3528) | 46008(+46008) |
+Total Static RAM memory (data + bss): 49536(+49536) bytes
+Total Flash memory (text + data): 192472(+192472) bytes
 
Flash used: 218008 (10%) / total: 2097152
SRAM used: 49856 (9%) / total: 524288

@github-actions
Copy link

github-actions bot commented Mar 6, 2023

📈 Changes Impact Analysis Report

📌 Info

  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: ON
base head
branch hugo/feature/Update-MotionKit-Rotation-to-Fusion hugo/feature/Add-Stabilization-to-MotionKit
sha 9f9fa0c 4aa661a
mbed mbed-os@master+fixes+gcc-11-support mbed-os@master+fixes+gcc-11-support
-std -std=c++20 -std=c++20

🤖 Firmware impact analysis

Target Flash Used (base/head) Flash Used Δ Flash Available (base/head) Static RAM (base/head) Static RAM Δ
bootloader 183692 (70%) ø 78452 (29%)
78452 (29%)
41664 (7%) ø
os 507612 (32%)
507676 (32%)
📈
+64 (+0%)
1057060 (67%)
1056996 (67%)
94864 (18%)
94896 (18%)
📈
+32 (+0%)
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

🔬 Detailed impact analysis

Click to show detailed analysis for all targets
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 507612 (24%)
507676 (24%)
📈
+64 (+0%)
94864 (18%)
94896 (18%)
📈
+32 (+0%)
bootloader ✔️ 183692 (8%) ø 41664 (7%) ø
functional_ut_boost_ut ✔️ 409276 (19%) ø 30608 (5%) ø
functional_ut_core_imu ✔️ 385140 (18%) ø 31120 (5%) ø
functional_ut_deep_sleep_core_buffered_serial ✔️ 368332 (17%) ø 30560 (5%) ø
functional_ut_deep_sleep_core_motor ✔️ 376140 (17%) ø 30632 (5%) ø
functional_ut_deep_sleep_core_pwm ✔️ 378356 (18%) ø 30632 (5%) ø
functional_ut_deep_sleep_log_kit ✔️ 365268 (17%) ø 30976 (5%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 366712 (17%) ø 30560 (5%) ø
functional_ut_file_manager ✔️ 388092 (18%) ø 30856 (5%) ø
functional_ut_firmware_kit ✔️ 379116 (18%) ø 30848 (5%) ø
functional_ut_imu_kit ✔️ 389120 (18%) ø 31296 (5%) ø
functional_ut_io_expander ✔️ 371176 (17%) ø 30576 (5%) ø
functional_ut_qdac ✔️ 372344 (17%) ø 30576 (5%) ø
spike_lk_audio ✔️ 137724 (6%) ø 25168 (4%) ø
spike_lk_behavior_kit ✔️ 198500 (9%) ø 58672 (11%) ø
spike_lk_ble ✔️ 237980 (11%) ø 39416 (7%) ø
spike_lk_bluetooth ✔️ 92364 (4%) ø 22224 (4%) ø
spike_lk_cg_animations ✔️ 153672 (7%) ø 57224 (10%) ø
spike_lk_color_kit ✔️ 88544 (4%) ø 24376 (4%) ø
spike_lk_command_kit ✔️ 230132 (10%) ø 63728 (12%)
63760 (12%)
📈
+32 (+0%)
spike_lk_config_kit ✔️ 139780 (6%) ø 25184 (4%) ø
spike_lk_coreled ✔️ 88108 (4%) ø 24264 (4%) ø
spike_lk_core_touch_sensor ✔️ 93164 (4%) ø 22824 (4%) ø
spike_lk_event_queue ✔️ 84152 (4%) ø 22904 (4%) ø
spike_lk_file_manager_kit ✔️ 154560 (7%) ø 25520 (4%) ø
spike_lk_file_reception ✔️ 339964 (16%) ø 38448 (7%) ø
spike_lk_flash_memory ✔️ 86776 (4%) ø 22216 (4%) ø
spike_lk_fs ✔️ 178228 (8%) ø 57536 (10%) ø
spike_lk_imu_kit ✔️ 107504 (5%) ø 23744 (4%) ø
spike_lk_lcd ✔️ 173500 (8%) ø 57520 (10%) ø
spike_lk_led_kit ✔️ 115204 (5%) ø 25104 (4%) ø
spike_lk_log_kit ✔️ 84776 (4%) ø 23408 (4%) ø
spike_lk_motion_kit ✔️ 116240 (5%)
116752 (5%)
📈
+512 (+0%)
25712 (4%)
25744 (4%)
📈
+32 (+0%)
spike_lk_motors ✔️ 86336 (4%) ø 22248 (4%) ø
spike_lk_qdac ✔️ 91796 (4%) ø 22768 (4%) ø
spike_lk_reinforcer ✔️ 225588 (10%)
225652 (10%)
📈
+64 (+0%)
60400 (11%)
60432 (11%)
📈
+32 (+0%)
spike_lk_rfid ✔️ 84216 (4%) ø 22184 (4%) ø
spike_lk_sensors_battery ✔️ 87376 (4%) ø 23312 (4%) ø
spike_lk_sensors_imu_lsm6dsox ✔️ 98624 (4%) ø 23536 (4%) ø
spike_lk_sensors_imu_lsm6dsox_fusion_calibration ✔️ 105064 (5%) ø 23104 (4%) ø
spike_lk_sensors_light ✔️ 84072 (4%) ø 22216 (4%) ø
spike_lk_sensors_microphone ✔️ 84824 (4%) ø 22216 (4%) ø
spike_lk_sensors_temperature_humidity ✔️ 90616 (4%) ø 22192 (4%) ø
spike_lk_serial_number ✔️ 145028 (6%) ø 25256 (4%) ø
spike_lk_ticker_timeout ✔️ 82712 (3%) ø 22232 (4%) ø
spike_lk_touch_sensor_kit ✔️ 96668 (4%) ø 23392 (4%) ø
spike_lk_update_process_app_base ✔️ 157932 (7%) ø 26288 (5%) ø
spike_lk_update_process_app_update ✔️ 100456 (4%) ø 23240 (4%) ø
spike_lk_watchdog_isr ✔️ 87520 (4%) ø 24136 (4%) ø
spike_lk_wifi ✔️ 130984 (6%) ø 25528 (4%) ø
spike_mbed_blinky ✔️ 57616 (2%) ø 11496 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 84176 (4%) ø 23080 (4%) ø
spike_stl_cxxsupport ✔️ 83488 (3%) ø 22304 (4%) ø

🗺️ Map files diff output

LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/LekaOS-map.txt	2023-03-06 14:35:07.350890235 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/LekaOS-map.txt	2023-03-06 14:35:07.734895507 +0000
@@ -1,55 +1,55 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       624(+624) |     10(+10) |     271(+271) |
+| [fill]                     |       664(+664) |     10(+10) |     271(+271) |
 | [lib]/ActivityKit.a        |   10590(+10590) |       0(+0) |         0(+0) |
 | [lib]/BLEKit.a             |     1476(+1476) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a         |       324(+324) |       0(+0) |         0(+0) |
 | [lib]/BehaviorKit.a        |     1652(+1652) |   460(+460) |         0(+0) |
 | [lib]/ColorKit.a           |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a         |     1120(+1120) |       0(+0) |         0(+0) |
 | [lib]/CoreBattery.a        |       544(+544) |       0(+0) |         0(+0) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a     |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       0(+0) |         0(+0) |
 | [lib]/CoreFlashMemory.a    |       546(+546) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       118(+118) |       0(+0) |         0(+0) |
 | [lib]/CoreMCU.a            |         16(+16) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CoreMutex.a          |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreQSPI.a           |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/CoreRFIDReader.a     |       580(+580) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a            |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a       |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a          |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a       |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a     |     2294(+2294) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a        |       944(+944) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       876(+876) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a             |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a          |       878(+878) |       0(+0) |         0(+0) |
 | [lib]/RFIDKit.a            |     1054(+1054) |       0(+0) |         8(+8) |
 | [lib]/ReinforcerKit.a      |     1250(+1250) |   460(+460) |         0(+0) |
 | [lib]/SerialNumberKit.a    |       584(+584) |       0(+0) |         0(+0) |
 | [lib]/Utils.a              |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a           |       686(+686) |       0(+0) |       36(+36) |
 | [lib]/bootutil.a           |     1362(+1362) |     12(+12) |     132(+132) |
 | [lib]/c.a                  |   48840(+48840) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     | 181458(+181458) |   773(+773) | 19755(+19755) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |   12012(+12012) |     16(+16) |     204(+204) |
 | __/__                      |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj               | 138714(+138714) |   108(+108) | 38597(+38597) |
-| Subtotals                  | 461104(+461104) | 4416(+4416) | 90112(+90112) |
-Total Static RAM memory (data + bss): 94528(+94528) bytes
-Total Flash memory (text + data): 465520(+465520) bytes
+| main.cpp.obj               | 138738(+138738) |   108(+108) | 38629(+38629) |
+| Subtotals                  | 461168(+461168) | 4416(+4416) | 90144(+90144) |
+Total Static RAM memory (data + bss): 94560(+94560) bytes
+Total Flash memory (text + data): 465584(+465584) bytes
 
Flash used: 507676 (24%) / total: 2097152
SRAM used: 94896 (18%) / total: 524288
spike_lk_command_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_command_kit-map.txt	2023-03-06 14:35:18.475044301 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_command_kit-map.txt	2023-03-06 14:35:18.711047623 +0000
@@ -1,40 +1,40 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       328(+328) |       5(+5) |       52(+52) |
+| [fill]                  |       304(+304) |       5(+5) |       52(+52) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CommandKit.a      |     1152(+1152) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a         |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a |       136(+136) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a     |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1736(+1736) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a          |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a          |       876(+876) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a          |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a       |       878(+878) |       0(+0) |         0(+0) |
 | [lib]/ReinforcerKit.a   |     1734(+1734) |   460(+460) |         0(+0) |
 | [lib]/Utils.a           |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/VideoKit.a        |       870(+870) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   40920(+40920) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   78492(+78492) |   464(+464) | 10951(+10951) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10716(+10716) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj            |     8730(+8730) |   278(+278) | 17248(+17248) |
-| Subtotals               | 198816(+198816) | 3800(+3800) | 59600(+59600) |
-Total Static RAM memory (data + bss): 63400(+63400) bytes
+| main.cpp.obj            |     8754(+8754) |   278(+278) | 17280(+17280) |
+| Subtotals               | 198816(+198816) | 3800(+3800) | 59632(+59632) |
+Total Static RAM memory (data + bss): 63432(+63432) bytes
 Total Flash memory (text + data): 202616(+202616) bytes
 
Flash used: 230132 (10%) / total: 2097152
SRAM used: 63760 (12%) / total: 524288
spike_lk_motion_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_motion_kit-map.txt	2023-03-06 14:35:23.847119797 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_motion_kit-map.txt	2023-03-06 14:35:24.027122235 +0000
@@ -1,30 +1,30 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       174(+174) |       8(+8) |       34(+34) |
+| [fill]                     |       212(+212) |       8(+8) |       34(+34) |
 | [lib]/CoreBufferedSerial.a |       196(+196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a     |         44(+44) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a            |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a            |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a    |       222(+222) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a          |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a            |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreRFIDReader.a     |       616(+616) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a        |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a             |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a         |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a             |       876(+876) |       0(+0) |     164(+164) |
-| [lib]/MotionKit.a          |       878(+878) |       0(+0) |         0(+0) |
+| [lib]/MotionKit.a          |     1312(+1312) |       0(+0) |         0(+0) |
 | [lib]/RFIDKit.a            |     1046(+1046) |       0(+0) |         8(+8) |
 | [lib]/c.a                  |   25048(+25048) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a                |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |     5164(+5164) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   42638(+42638) |   444(+444) |   8860(+8860) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a             |     5424(+5424) |       8(+8) |       44(+44) |
-| main.cpp.obj               |     4134(+4134) |       0(+0) | 13284(+13284) |
-| Subtotals                  | 103792(+103792) | 2936(+2936) | 22480(+22480) |
-Total Static RAM memory (data + bss): 25416(+25416) bytes
-Total Flash memory (text + data): 106728(+106728) bytes
+| main.cpp.obj               |     4174(+4174) |       0(+0) | 13316(+13316) |
+| Subtotals                  | 104304(+104304) | 2936(+2936) | 22512(+22512) |
+Total Static RAM memory (data + bss): 25448(+25448) bytes
+Total Flash memory (text + data): 107240(+107240) bytes
 
Flash used: 116752 (5%) / total: 2097152
SRAM used: 25744 (4%) / total: 524288
spike_lk_reinforcer (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_reinforcer-map.txt	2023-03-06 14:35:25.051136110 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_reinforcer-map.txt	2023-03-06 14:35:25.283139253 +0000
@@ -1,38 +1,38 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       272(+272) |       3(+3) |       52(+52) |
+| [fill]                  |       312(+312) |       3(+3) |       52(+52) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |       138(+138) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreI2C.a         |         36(+36) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     6810(+6810) |       0(+0) |         0(+0) |
 | [lib]/CoreInterruptIn.a |       136(+136) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       176(+176) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         60(+60) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreSTM32Hal.a    |       930(+930) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a     |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CoreVideo.a       |     7954(+7954) |       1(+1) | 30800(+30800) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/EventLoopKit.a    |       348(+348) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |     1736(+1736) |       0(+0) |         0(+0) |
 | [lib]/Fusion.a          |     2036(+2036) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/IMUKit.a          |       876(+876) |       0(+0) |     164(+164) |
 | [lib]/LedKit.a          |   19050(+19050) |       0(+0) |       20(+20) |
 | [lib]/MotionKit.a       |       878(+878) |       0(+0) |         0(+0) |
 | [lib]/ReinforcerKit.a   |     1704(+1704) |   460(+460) |         0(+0) |
 | [lib]/VideoKit.a        |       884(+884) |       0(+0) |       36(+36) |
 | [lib]/c.a               |   40920(+40920) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7688(+7688) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     5368(+5368) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   78492(+78492) |   464(+464) | 10951(+10951) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |   10716(+10716) |     16(+16) |     204(+204) |
 | __/__                   |       108(+108) |       0(+0) |         0(+0) |
-| main.cpp.obj            |     6276(+6276) |       8(+8) | 14192(+14192) |
-| Subtotals               | 195104(+195104) | 3528(+3528) | 56544(+56544) |
-Total Static RAM memory (data + bss): 60072(+60072) bytes
-Total Flash memory (text + data): 198632(+198632) bytes
+| main.cpp.obj            |     6300(+6300) |       8(+8) | 14224(+14224) |
+| Subtotals               | 195168(+195168) | 3528(+3528) | 56576(+56576) |
+Total Static RAM memory (data + bss): 60104(+60104) bytes
+Total Flash memory (text + data): 198696(+198696) bytes
 
Flash used: 225652 (10%) / total: 2097152
SRAM used: 60432 (11%) / total: 524288

@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Merging #1315 (4aa661a) into hugo/feature/Update-MotionKit-Rotation-to-Fusion (9f9fa0c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@                                 Coverage Diff                                  @@
##           hugo/feature/Update-MotionKit-Rotation-to-Fusion    #1315      +/-   ##
====================================================================================
+ Coverage                                             98.73%   98.75%   +0.01%     
====================================================================================
  Files                                                   145      147       +2     
  Lines                                                  3728     3765      +37     
====================================================================================
+ Hits                                                   3681     3718      +37     
  Misses                                                   47       47              
Impacted Files Coverage Δ
libs/MotionKit/include/MotionKit.hpp 100.00% <ø> (ø)
libs/MotionKit/include/StabilizationControl.hpp 100.00% <100.00%> (ø)
libs/MotionKit/source/MotionKit.cpp 100.00% <100.00%> (ø)
libs/MotionKit/source/StabilizationControl.cpp 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@HPezz HPezz force-pushed the hugo/feature/Update-MotionKit-Rotation-to-Fusion branch from 9bd7ea9 to f60a856 Compare March 6, 2023 10:51
@HPezz HPezz force-pushed the hugo/feature/Add-Stabilization-to-MotionKit branch from 2e8dd9e to 8784637 Compare March 6, 2023 10:53
_euler_angles_target = starting_angle;
}

auto StabilizationControl::processStabilizationAngle(EulerAngles current_angles) -> std::tuple<float, Rotation>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this control really needs a PID to achieve its purpose, but it's ok as is.

mock_imukit.call_angles_ready_callback(angles_quarter_left);
}

TEST_F(MotionKitTest, startStabilizationAndStop)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider to add the test with TimeOutOver

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Timeout is not yet implemented for stabilization but if is needed, a test will be add in consequence.

libs/MotionKit/include/StabilizationControl.hpp Outdated Show resolved Hide resolved
@HPezz HPezz force-pushed the hugo/feature/Update-MotionKit-Rotation-to-Fusion branch from f60a856 to ead1e0d Compare March 6, 2023 14:07
@HPezz HPezz force-pushed the hugo/feature/Update-MotionKit-Rotation-to-Fusion branch from ead1e0d to 9f9fa0c Compare March 6, 2023 14:15
@HPezz HPezz force-pushed the hugo/feature/Add-Stabilization-to-MotionKit branch from 8784637 to 4aa661a Compare March 6, 2023 14:21
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
14.5% 14.5% Duplication

@HPezz HPezz force-pushed the hugo/feature/Update-MotionKit-Rotation-to-Fusion branch from b3f6b91 to 4cf6ce9 Compare March 9, 2023 09:59
Base automatically changed from hugo/feature/Update-MotionKit-Rotation-to-Fusion to develop March 9, 2023 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - type: task Something to do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants