arduino-libraries / Arduino_Braccio_plusplus

GNU Lesser General Public License v2.1
7 stars 3 forks source link

Learn&Repeat example - ENTER BUTTON as click #72

Closed 91volt closed 2 years ago

91volt commented 2 years ago

A UX improvement in the learn and repeat example: addition of the carrier enter button as input for clicking the actions proposed by the UI (same event triggered by the joystick click).

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Ernesto Voltaggio seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

github-actions[bot] commented 2 years ago

Memory usage change @ d8b4421c73bce5ea7fe3bc451592cd940928b4d8

Board flash % RAM for global variables %
arduino:mbed_nano:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table Board|examples/Braccio_Learn_and_Repeat
flash|%|examples/Braccio_Learn_and_Repeat
RAM for global variables|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/01_creating_a_button
flash|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/01_creating_a_button
RAM for global variables|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/02_designing_the_button
flash|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/02_designing_the_button
RAM for global variables|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/03_creating_a_menu
flash|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/03_creating_a_menu
RAM for global variables|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/04_testing_it_out
flash|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/04_testing_it_out
RAM for global variables|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/05_display_challenge
flash|%|examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/05_display_challenge
RAM for global variables|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/01_playing_with_the_Joystick
flash|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/01_playing_with_the_Joystick
RAM for global variables|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/02_handling_events_in_the_menu
flash|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/02_handling_events_in_the_menu
RAM for global variables|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/03_navigate_challenge_I
flash|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/03_navigate_challenge_I
RAM for global variables|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/04_navigate_challenge_II
flash|%|examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/04_navigate_challenge_II
RAM for global variables|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/01_playing_with_the_motors
flash|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/01_playing_with_the_motors
RAM for global variables|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/02_selecting_the_motor_with_the_enter_button
flash|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/02_selecting_the_motor_with_the_enter_button
RAM for global variables|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/03_moving_the_motors_with_the_joystick
flash|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/03_moving_the_motors_with_the_joystick
RAM for global variables|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/04_servo_motors_challenge
flash|%|examples/Platform_Tutorials/lessons/03-playing-with-the-motors/04_servo_motors_challenge
RAM for global variables|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/01_playing_with_a_joint_angle_gauge
flash|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/01_playing_with_a_joint_angle_gauge
RAM for global variables|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/02_selecting_the_motor_in_the_LCD_menu
flash|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/02_selecting_the_motor_in_the_LCD_menu
RAM for global variables|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/03_learnings_challenge_I
flash|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/03_learnings_challenge_I
RAM for global variables|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/04_learnings_challenge_II
flash|%|examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/04_learnings_challenge_II
RAM for global variables|%|examples/Platform_Tutorials/projects/p01-moving-braccio/01_aligning_braccio
flash|%|examples/Platform_Tutorials/projects/p01-moving-braccio/01_aligning_braccio
RAM for global variables|%|examples/Platform_Tutorials/projects/p01-moving-braccio/02_waving_with_Braccio
flash|%|examples/Platform_Tutorials/projects/p01-moving-braccio/02_waving_with_Braccio
RAM for global variables|%|examples/Platform_Tutorials/projects/p01-moving-braccio/03_moving_challenge
flash|%|examples/Platform_Tutorials/projects/p01-moving-braccio/03_moving_challenge
RAM for global variables|%|examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/01_controlling_manually_Braccio
flash|%|examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/01_controlling_manually_Braccio
RAM for global variables|%|examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/02_manual_control_challenge
flash|%|examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/02_manual_control_challenge
RAM for global variables|%|examples/Platform_Tutorials/projects/p03-learning-mode/01_Braccio_learning_mode
flash|%|examples/Platform_Tutorials/projects/p03-learning-mode/01_Braccio_learning_mode
RAM for global variables|%|examples/Platform_Tutorials/projects/p03-learning-mode/02_learning_challenge
flash|%|examples/Platform_Tutorials/projects/p03-learning-mode/02_learning_challenge
RAM for global variables|%|examples/Tools/Braccio_Basic
flash|%|examples/Tools/Braccio_Basic
RAM for global variables|%|examples/Tools/Braccio_LearnByDoing
flash|%|examples/Tools/Braccio_LearnByDoing
RAM for global variables|%|examples/Tools/Factory_Set_ID_Interactive
flash|%|examples/Tools/Factory_Set_ID_Interactive
RAM for global variables|%|examples/Tools/Factory_Set_Initial_Servo_Position
flash|%|examples/Tools/Factory_Set_Initial_Servo_Position
RAM for global variables|%|examples/Tools/LCD_Custom_Menu
flash|%|examples/Tools/LCD_Custom_Menu
RAM for global variables|%|examples/Tools/LCD_Menu_Joystick
flash|%|examples/Tools/LCD_Menu_Joystick
RAM for global variables|%|examples/Tools/LCD_Motors
flash|%|examples/Tools/LCD_Motors
RAM for global variables|%|examples/Tools/Test_Inputs
flash|%|examples/Tools/Test_Inputs
RAM for global variables|%|examples/Tools/Test_Motor_Angular_Control
flash|%|examples/Tools/Test_Motor_Angular_Control
RAM for global variables|%|examples/Tools/Test_Motor_Communication
flash|%|examples/Tools/Test_Motor_Communication
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- arduino:mbed_nano:nanorp2040connect|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0
Click for full report CSV ``` Board,examples/Braccio_Learn_and_Repeat
flash,%,examples/Braccio_Learn_and_Repeat
RAM for global variables,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/01_creating_a_button
flash,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/01_creating_a_button
RAM for global variables,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/02_designing_the_button
flash,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/02_designing_the_button
RAM for global variables,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/03_creating_a_menu
flash,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/03_creating_a_menu
RAM for global variables,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/04_testing_it_out
flash,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/04_testing_it_out
RAM for global variables,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/05_display_challenge
flash,%,examples/Platform_Tutorials/lessons/01-programming-the-braccio-display/05_display_challenge
RAM for global variables,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/01_playing_with_the_Joystick
flash,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/01_playing_with_the_Joystick
RAM for global variables,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/02_handling_events_in_the_menu
flash,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/02_handling_events_in_the_menu
RAM for global variables,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/03_navigate_challenge_I
flash,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/03_navigate_challenge_I
RAM for global variables,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/04_navigate_challenge_II
flash,%,examples/Platform_Tutorials/lessons/02-navigatting-the-display-menu/04_navigate_challenge_II
RAM for global variables,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/01_playing_with_the_motors
flash,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/01_playing_with_the_motors
RAM for global variables,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/02_selecting_the_motor_with_the_enter_button
flash,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/02_selecting_the_motor_with_the_enter_button
RAM for global variables,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/03_moving_the_motors_with_the_joystick
flash,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/03_moving_the_motors_with_the_joystick
RAM for global variables,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/04_servo_motors_challenge
flash,%,examples/Platform_Tutorials/lessons/03-playing-with-the-motors/04_servo_motors_challenge
RAM for global variables,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/01_playing_with_a_joint_angle_gauge
flash,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/01_playing_with_a_joint_angle_gauge
RAM for global variables,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/02_selecting_the_motor_in_the_LCD_menu
flash,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/02_selecting_the_motor_in_the_LCD_menu
RAM for global variables,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/03_learnings_challenge_I
flash,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/03_learnings_challenge_I
RAM for global variables,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/04_learnings_challenge_II
flash,%,examples/Platform_Tutorials/lessons/04-integration-of-previous-learnings/04_learnings_challenge_II
RAM for global variables,%,examples/Platform_Tutorials/projects/p01-moving-braccio/01_aligning_braccio
flash,%,examples/Platform_Tutorials/projects/p01-moving-braccio/01_aligning_braccio
RAM for global variables,%,examples/Platform_Tutorials/projects/p01-moving-braccio/02_waving_with_Braccio
flash,%,examples/Platform_Tutorials/projects/p01-moving-braccio/02_waving_with_Braccio
RAM for global variables,%,examples/Platform_Tutorials/projects/p01-moving-braccio/03_moving_challenge
flash,%,examples/Platform_Tutorials/projects/p01-moving-braccio/03_moving_challenge
RAM for global variables,%,examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/01_controlling_manually_Braccio
flash,%,examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/01_controlling_manually_Braccio
RAM for global variables,%,examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/02_manual_control_challenge
flash,%,examples/Platform_Tutorials/projects/p02-controlling-braccio-manually/02_manual_control_challenge
RAM for global variables,%,examples/Platform_Tutorials/projects/p03-learning-mode/01_Braccio_learning_mode
flash,%,examples/Platform_Tutorials/projects/p03-learning-mode/01_Braccio_learning_mode
RAM for global variables,%,examples/Platform_Tutorials/projects/p03-learning-mode/02_learning_challenge
flash,%,examples/Platform_Tutorials/projects/p03-learning-mode/02_learning_challenge
RAM for global variables,%,examples/Tools/Braccio_Basic
flash,%,examples/Tools/Braccio_Basic
RAM for global variables,%,examples/Tools/Braccio_LearnByDoing
flash,%,examples/Tools/Braccio_LearnByDoing
RAM for global variables,%,examples/Tools/Factory_Set_ID_Interactive
flash,%,examples/Tools/Factory_Set_ID_Interactive
RAM for global variables,%,examples/Tools/Factory_Set_Initial_Servo_Position
flash,%,examples/Tools/Factory_Set_Initial_Servo_Position
RAM for global variables,%,examples/Tools/LCD_Custom_Menu
flash,%,examples/Tools/LCD_Custom_Menu
RAM for global variables,%,examples/Tools/LCD_Menu_Joystick
flash,%,examples/Tools/LCD_Menu_Joystick
RAM for global variables,%,examples/Tools/LCD_Motors
flash,%,examples/Tools/LCD_Motors
RAM for global variables,%,examples/Tools/Test_Inputs
flash,%,examples/Tools/Test_Inputs
RAM for global variables,%,examples/Tools/Test_Motor_Angular_Control
flash,%,examples/Tools/Test_Motor_Angular_Control
RAM for global variables,%,examples/Tools/Test_Motor_Communication
flash,%,examples/Tools/Test_Motor_Communication
RAM for global variables,% arduino:mbed_nano:nanorp2040connect,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 ```
Esquirio commented 2 years ago

Hello @91volt! The new feature worked, and now we can use the enter button to select an option in the screen menu. Ony one recommendation, It is missing the Braccio.lvgl_lock/unlock statements to avoid multi-threaded access to LVGL.