-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: More improvements on BT Studio action editor | ||
date: 2024-05-13 14:00:00 +0100 | ||
tags: [weekly progress] # TAG names should always be lowercase | ||
author: javier | ||
img_path: /assets/img/ | ||
toc: true | ||
comments: true | ||
--- | ||
|
||
The goal of this week was to find what caused the bug in the new edit action modal. | ||
|
||
## List of changes to BT Studio | ||
|
||
This is a list of all of changes that will be done to BT Studio before the merge is done. | ||
|
||
- [X] Buttons hover correctly | ||
- [X] Projects list | ||
- [ ] Redesign color choices and css (Maybe) | ||
- [X] New dialog window for creating new files | ||
- [X] New dialog window for editing actions | ||
- [ ] Quick ? for simple stuff related to how the bt editor works | ||
- [X] Autosave file in change | ||
- [X] When creating a file always en with .py | ||
- [X] Autosave project in change | ||
- [X] Not show editor if no file is open | ||
- [X] If modified one action all copies of that action must be updated | ||
- [ ] Indicator that input or output is from blackboard | ||
- [ ] BT sort button | ||
- [ ] Show the link between 2 nodes connected incorrectly in other color OR link by clicking | ||
- [X] Create file from templates | ||
- [ ] Horizontal Bt (Maybe) | ||
- [ ] Add toggle between horizontal bt and vertical (Maybe) | ||
- [ ] Solving the Tab mistery from ACE | ||
- [ ] Better error popups | ||
|
||
## Work in progress | ||
|
||
Finally the bug that caused the diagram to revert to a previous state has been fixed and now I can start working fully in the modal window. What caused this bug was the way the rerendering was implemented in the diagram editor that created a new engine each time it needed to be rendered. | ||
|
||
Here is a video of the new feature: | ||
|
||
{% include embed/youtube.html id='L5csX8V78iw' %} | ||
|
||
Here is the PR I created for [this](https://github.com/JdeRobot/bt-studio/pull/89) and for now it is implemented to open a new modal window to change color,inputs and outputs of all the action nodes of that action created and also the future ones. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: Finishing new action modal for BT Studio | ||
date: 2024-05-20 14:00:00 +0100 | ||
tags: [weekly progress] # TAG names should always be lowercase | ||
author: javier | ||
img_path: /assets/img/ | ||
toc: true | ||
comments: true | ||
--- | ||
|
||
The goal of this week was to finished the changes done last week on the updated version of BT Studio and finish the merge of gloal navigation. | ||
|
||
HAcer una localized_vacuum_cleaner aspiradora | ||
Demo publicar la semana que viene | ||
Posibilidad ROSCON España | ||
|
||
The goal of this week was to finished the changes done last week on the updated version of BT Studio and finish the merge of gloal navigation. | ||
|
||
## List of changes to BT Studio | ||
|
||
This is a list of all of changes that will be done to BT Studio before the merge is done. | ||
|
||
- [X] Buttons hover correctly | ||
- [X] Projects list | ||
- [ ] Redesign color choices and css (Maybe) | ||
- [X] New dialog window for creating new files | ||
- [X] New dialog window for editing actions | ||
- [ ] Quick ? for simple stuff related to how the bt editor works | ||
- [X] Autosave file in change | ||
- [X] When creating a file always en with .py | ||
- [X] Autosave project in change | ||
- [X] Not show editor if no file is open | ||
- [X] If modified one action all copies of that action must be updated | ||
- [ ] Indicator that input or output is from blackboard | ||
- [ ] BT sort button | ||
- [ ] Show the link between 2 nodes connected incorrectly in other color OR link by clicking | ||
- [X] Create file from templates | ||
- [ ] Horizontal Bt (Maybe) | ||
- [ ] Add toggle between horizontal bt and vertical (Maybe) | ||
- [ ] Solving the Tab mistery from ACE | ||
- [ ] Better error popups | ||
|
||
## New dialog window for editing actions | ||
|
||
Now finally it is finished and it doesn't have any (I hope) bugs. | ||
|
||
With this addition, now the number of times when you are required to input something in a browser prompt has been reduced to 0. | ||
|
||
The next steps are to connect the action explorer and the diagram engine in order to change the names of the actions in various places in order to make it cohesive. | ||
|
||
The PR for this ca be found [here](https://github.com/JdeRobot/bt-studio/pull/89) and this is a video of how the new action editor works, it may change in the future (the color chooser will change for sure). | ||
|
||
{% include embed/youtube.html id='D2iweX-6EpI' %} | ||
|
||
Here is the PR I created for [this](https://github.com/JdeRobot/bt-studio/pull/89) and for now it is implemented to open a new modal window to change color,inputs and outputs of all the action nodes of that action created and also the future ones. | ||
|
||
## Outside of BT Studio | ||
|
||
I also started the migration of the localiced vacuum cleaner to ros humble in order to finished the job done by [Oscar](https://github.com/OscarMrZ), but because of some problems with the threading library of Python not working properly I was not able to test if it worked. |