Skip to content

2.0.0

Compare
Choose a tag to compare
@JeromeGalan JeromeGalan released this 21 Sep 12:21
b5734ad

Luos 2.0.0:

🆕 Feature: Profiles to simplify user API
🆕 Feature: Packages to simplify portability
🆕 Feature: Bootloader
🆕 Feature: Gate discovering
🆕 Feature: Pyluos shell

🆕 Added: Unit tests
🆕 Added: Miscellaneous code comment updates

🆕 Changed: Luos API: Containers are renamed to services
🆕 Changed: Luos API: Luos reserved commands and User commands are now separated
🆕 Changed: Luos API: Luos list and routing table return names


🛠️ Fix: During detection we reset msg_allocation outside IRQ
🛠️ Fix : During detection we forbid tx from user messages
🛠️ Fix: During detection we reset big data reception state
🛠️ Fix: Routing table research function all return 0 if service is not found
🛠️ Fix: Typography on OD_linear
🛠️ Fix: Luos assert if too many services on the node


Dependencies:

  • LuosHAL version >= 0.4.0
  • Pyluos version >= 2.0.0

Packages:

  • Luos library
  • Luos library for Arduino environment with example
  • Luos gate library for Arduino environment

Tutorial : How to update your code from Luos v1.x.x to Luos v2.0.0

Since the current version (v2.0.0), Luos API has changed.
If you have already started a project with a former Luos version (v1.x.x), you MUST do the following steps to ensure compatibility with Luos v2.0.0.

  • In your code, replace all these definitions :

    • "container" => "service",
    • "Container" => "Service",
    • "ASK_PUB_CMD" => "GET_CMD",
    • "DCMOTOR_MOD" => "MOTOR_TYPE",
    • "STATE_MOD" => "STATE_TYPE",
    • "CONTROLLER_MOTOR_MOD" => "SERVO_MOTOR_TYPE",
    • "ANGLE_MOD" => "ANGLE_TYPE",
    • "COLOR_MOD" => "COLOR_TYPE",
    • "DISTANCE_MOD" => "DISTANCE_TYPE",
    • "GATE_MOD" => "GATE_TYPE",
    • "IMU_MOD" => "IMU_TYPE",
    • "LIGHT_MOD" => "LIGHT_TYPE",
    • "LOAD_MOD" => "LOAD_TYPE",
    • "PIPE_MOD" => "PIPE_TYPE".
  • If needed, don't forget to update :