ladislas

ladislas

CTO @leka

Member Since 9 years ago

Leka Inc. - @leka , Paris, France

Experience Points
69
follower
Lessons Completed
268
follow
Lessons Completed
385
stars
Best Reply Awards
58
repos

1550 contributions in the last year

Pinned
⚡ Start your Arduino projects right out of the box
⚡ LekaOS is Leka's firmware based on Mbed OS
⚡ Homebrew AVR Toolchain
⚡ Lean 'n' Clean Neovim Config
⚡ A simple and easy to use event manager
Activity
May
13
6 days ago
pull request

ladislas pull request leka/LekaOS

ladislas
ladislas

✨ (bootloader): Add ConfigKit - Write version, Read battery hysteresis offset


Spike: app/bootloader

Tests obligatoires

  • Ajouter les logs et vérifier que la valeur du fichier bootloader_battery_hysteresis_offset est bien celle lue dans la fonction batteryHysteresisOffset
  • Vérifier que le fichier bootloader_version a pour seul byte la valeur 0x01 avec Hex Fiend par exemple

Tests facultatifs

  • En l’absence d’un fichier bootloader_version, un nouveau est créé dans le dossier config
  • En l’asbence d’un fichier bootloader_battery_hysteresis_offset, un nouveau est créé dans le dossier config
push

ladislas push leka/LekaOS

ladislas
ladislas

:adhesive_bandage: (LogKit): Double message/output buffers' size

ladislas
ladislas

:adhesive_bandage: (LogKit): Fix timestamp formatting

Microseconds was using : instead of ,

ladislas
ladislas

:hammer: (stats): Add ENABLE_SYSTEM_STATS option

This options adds the ability to compile with -DMBED_CPU_STATS_ENABLED to access important information about the system.

ladislas
ladislas

:white_check_mark: (config): Define XXX_STATS for unit tests

ladislas
ladislas

:loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage

ladislas
ladislas

:wrench: (vscode): cmake.configuration add ENABLE_SYSTEM_STATS ON

ladislas
ladislas

:twisted_rightwards_arrows: Merge branch 'ladislas/feature/log-sleep-statistics' into develop

ladislas
ladislas

:children_crossing: (bootloader): Change red blinking color to nice blue

Red was perceived by the user as "there is something wrong with your robot"

We want to actually convey the total opposite: "your robot is fine, it is charging and will wake up when it has enough battery"

ladislas
ladislas

:twisted_rightwards_arrows: Merge branch 'sibylle/feature/bootloader-update-blinking-color' into develop

ladislas
ladislas

:sparkles: (bootloader): Add ConfigKit - Read battery hysteresis offset

ladislas
ladislas

:sparkles: (bootloader): Register bootloader version in SD

commit sha: 9d41bef90714df484ad7686120dbacd8ebaa892f

push time in 6 days ago
Activity icon
delete

ladislas in leka/LekaOS delete branch sibylle/feature/bootloader-update-blinking-color

deleted time in 6 days ago
pull request

ladislas pull request leka/LekaOS

ladislas
ladislas

:children_crossing: (bootloader): Change red blinking color to nice blue

Red was perceived by the user as "there is something wrong with your robot"

We want to actually convey the total opposite: "your robot is fine, it is charging and will wake up when it has enough battery"

push

ladislas push leka/LekaOS

ladislas
ladislas

:children_crossing: (bootloader): Change red blinking color to nice blue

Red was perceived by the user as "there is something wrong with your robot"

We want to actually convey the total opposite: "your robot is fine, it is charging and will wake up when it has enough battery"

ladislas
ladislas

:twisted_rightwards_arrows: Merge branch 'sibylle/feature/bootloader-update-blinking-color' into develop

commit sha: 12ac75868dbe002342eac13c59be297d5210821a

push time in 6 days ago
Activity icon
issue

ladislas issue comment leka/LekaOS

ladislas
ladislas

:construction: add blue

blue {0x00,0x22,0x43}

pull request

ladislas pull request leka/LekaOS

ladislas
ladislas

:children_crossing: (bootloader): Change red blinking color to nice blue

Red was perceived by the user as "there is something wrong with your robot"

We want to actually convey the total opposite: "your robot is fine, it is charging and will wake up when it has enough battery"

Activity icon
delete

ladislas in leka/LekaOS delete branch add_blue

deleted time in 6 days ago
pull request

ladislas pull request leka/LekaOS

ladislas
ladislas

:construction: add blue

blue {0x00,0x22,0x43}

Activity icon
created branch

ladislas in leka/LekaOS create branch sibylle/feature/bootloader-update-blinking-color

createdAt 6 days ago
pull request

ladislas merge to leka/LekaOS

ladislas
ladislas

:construction: add blue

blue {0x00,0x22,0x43}

push

ladislas push leka/LekaOS

ladislas
ladislas

:adhesive_bandage: (LogKit): Double message/output buffers' size

ladislas
ladislas

:adhesive_bandage: (LogKit): Fix timestamp formatting

Microseconds was using : instead of ,

ladislas
ladislas

:hammer: (stats): Add ENABLE_SYSTEM_STATS option

This options adds the ability to compile with -DMBED_CPU_STATS_ENABLED to access important information about the system.

ladislas
ladislas

:white_check_mark: (config): Define XXX_STATS for unit tests

ladislas
ladislas

:loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage

ladislas
ladislas

:wrench: (vscode): cmake.configuration add ENABLE_SYSTEM_STATS ON

ladislas
ladislas

:twisted_rightwards_arrows: Merge branch 'ladislas/feature/log-sleep-statistics' into develop

ladislas
ladislas

:children_crossing: (bootloader): Change red blinking color to nice blue

Red was perceived by the user as "there is something wrong with your robot"

We want to actually convey the total opposite: "your robot is fine, it is charging and will wake up when it has enough battery"

commit sha: 83ab7bba6486fb0301b7fc74f3eb5fd2d3038346

push time in 6 days ago
Activity icon
delete

ladislas in leka/LekaOS delete branch ladislas/feature/log-sleep-statistics

deleted time in 6 days ago
pull request

ladislas pull request leka/LekaOS

ladislas
ladislas

ladislas/feature/log sleep statistics

  • :adhesive_bandage: (LogKit): Double message/output buffers' size
  • :adhesive_bandage: (LogKit): Fix timestamp formatting
  • :hammer: (stats): Add ENABLE_SYSTEM_STATS option
  • :white_check_mark: (config): Define XXX_STATS for unit tests
  • :loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage
push

ladislas push leka/LekaOS

ladislas
ladislas

:adhesive_bandage: (LogKit): Double message/output buffers' size

ladislas
ladislas

:adhesive_bandage: (LogKit): Fix timestamp formatting

Microseconds was using : instead of ,

ladislas
ladislas

:hammer: (stats): Add ENABLE_SYSTEM_STATS option

This options adds the ability to compile with -DMBED_CPU_STATS_ENABLED to access important information about the system.

ladislas
ladislas

:white_check_mark: (config): Define XXX_STATS for unit tests

ladislas
ladislas

:loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage

ladislas
ladislas

:wrench: (vscode): cmake.configuration add ENABLE_SYSTEM_STATS ON

ladislas
ladislas

:twisted_rightwards_arrows: Merge branch 'ladislas/feature/log-sleep-statistics' into develop

commit sha: 89947e93d918d9624e7ddbfa84052de216887a0f

push time in 6 days ago
push

ladislas push leka/LekaOS

ladislas
ladislas

:hammer: (stats): Add ENABLE_SYSTEM_STATS option

This options adds the ability to compile with -DMBED_CPU_STATS_ENABLED to access important information about the system.

ladislas
ladislas

:white_check_mark: (config): Define XXX_STATS for unit tests

ladislas
ladislas

:loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage

ladislas
ladislas

:wrench: (vscode): cmake.configuration add ENABLE_SYSTEM_STATS ON

commit sha: 553f1f97a0f7ee530449993e5ab37bc6ab8972cc

push time in 6 days ago
Activity icon
created branch

ladislas in leka/LekaOS create branch ladislas/feature/log-sleep-statistics

createdAt 6 days ago
pull request

ladislas pull request leka/LekaOS

ladislas
ladislas

ladislas/feature/log sleep statistics

  • :adhesive_bandage: (LogKit): Double message/output buffers' size
  • :adhesive_bandage: (LogKit): Fix timestamp formatting
  • :hammer: (stats): Add ENABLE_SYSTEM_STATS option
  • :white_check_mark: (config): Define XXX_STATS for unit tests
  • :loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage
Activity icon
issue

ladislas issue leka/LekaOS

ladislas
ladislas

BLE Connection - when charging, connecting doesn't turn isBleConnected to true

May
12
1 week ago
Activity icon
issue

ladislas issue leka/LekaOS

ladislas
ladislas

Functional Tests - Add readme to docs

Activity icon
issue

ladislas issue comment leka/LekaOS

ladislas
ladislas

HTTPS - List CA certificates in config file

(cc @MMyster)

Instead of listing the CA certificates in an array in code, move the list in a config file.

https://github.com/leka/LekaOS/blob/7dc784d1094a8e8582886d30bb9375dbcbe7103a/spikes/lk_file_reception/main.cpp#L56-L58

Advantages of doing so:

  • the list can be expanded/modified without updating the firmware
  • new certificates can be downloaded and then added to the list without updating the firmware

Requirements:

  • for the moment, config files only store binary values
  • config files should have a return type: uint8_t, uint16_t, float, container of values

in the case of container of values:

  • if the number of values is known and won't change in the future --> std::array<T, fixed_size> can be used
  • if the number of values is not known:
    • etl::std::vector can be explored
    • a "big" std::array can be used to store the values and also return the number of values to be used in std::span
ladislas
ladislas
May
11
1 week ago
pull request

ladislas merge to multiplemonomials/mbed-os

ladislas
ladislas

Mbed CE upload methods

This PR adds the mbed-cmake upload method system to Mbed OS, with a few changes:

  • Added automatically used, default upload method configs for each target, allowing the use of cmake uploading without writing any config files in most cases
  • Refactored code to clean some things up and extract common code into only one place
  • Made the Mbed OS greentea tests use upload methods
Activity icon
issue

ladislas issue comment leka/LekaOS

ladislas
ladislas

BLE - Connection animation

On BLE connection, we want to have a little LED animation to notify the user of the connection.

One idea:

ladislas
ladislas

closed by 08cc133b450e0db10c540493ddbd76ed49f34955

Activity icon
issue

ladislas issue leka/LekaOS

ladislas
ladislas

BLE - Connection animation

On BLE connection, we want to have a little LED animation to notify the user of the connection.

One idea:

Activity icon
issue

ladislas issue leka/LekaOS

ladislas
ladislas

MCU stats - Decide if enabled in firmware

Activity icon
delete

ladislas in leka/LekaOS delete branch ladisals/feature/log-interesting-informations

deleted time in 1 week ago
pull request

ladislas pull request leka/LekaOS

ladislas
ladislas

ladisals/feature/log interesting informations

  • :sparkles: (RobotKit): Add isBleConnected() method
  • :loud_sound: (os): Log battery level, charging status & ble status

It looks like this:

000:00:10:043 [INFO] [main.cpp:350] watchdog_kick > ts: 10043, dt: 5000, kck: 3, ble: 0, lvl: 96, chr: 1
000:00:15:043 [INFO] [main.cpp:350] watchdog_kick > ts: 15043, dt: 5000, kck: 4, ble: 0, lvl: 96, chr: 1
000:00:20:043 [INFO] [main.cpp:350] watchdog_kick > ts: 20043, dt: 5000, kck: 5, ble: 0, lvl: 96, chr: 1

image

This PR will help for #776

push

ladislas push leka/LekaOS

ladislas
ladislas

:sparkles: (RobotKit): Add isBleConnected() method

ladislas
ladislas

:loud_sound: (os): Log battery level, charging status & ble status

ladislas
ladislas

:twisted_rightwards_arrows: Merge branch 'ladisals/feature/log-interesting-informations' into develop

commit sha: 7dc784d1094a8e8582886d30bb9375dbcbe7103a

push time in 1 week ago
push

ladislas push leka/LekaOS

ladislas
ladislas

:sparkles: (CommandKit): Add CommandRunner class

This goal of CommandRunner is to run the command received in a different context.

For the moment CommandRunner is not used by CommandKit. It was added as a proof of concept and will be used when we move to the new command specs.

ladislas
ladislas

:sparkles: (CommandKit): Use EventLoopKit to execute command in different context

fixes #640

CommandKit now executes the commands in a different context provided by EventLoopKit. This avoids deadlocks, ISR locks and other (BLE) bugs that we encountered.

The event queue was tested but the result was not satisfying: as we where using pointers, the command was changing between the call and the actual execution of the command.

ladislas
ladislas

:twisted_rightwards_arrows: Merge branch 'ladislas/bugfix/640-fix-command-kit-ble-bug' into develop

ladislas
ladislas

:sparkles: (RobotKit): Add isBleConnected() method

ladislas
ladislas

:loud_sound: (os): Log battery level, charging status & ble status

commit sha: a8fc2286ff5207b77e406523e4d5cc7148031277

push time in 1 week ago
Activity icon
delete

ladislas in leka/LekaOS delete branch ladislas/bugfix/640-fix-command-kit-ble-bug

deleted time in 1 week ago