Skip to content

Comments

BT nodes not able to accept parameter values (#3988)#29

Closed
RBT22 wants to merge 1 commit intohumblefrom
backport-variable-input
Closed

BT nodes not able to accept parameter values (#3988)#29
RBT22 wants to merge 1 commit intohumblefrom
backport-variable-input

Conversation

@RBT22
Copy link

@RBT22 RBT22 commented Oct 24, 2024

* fix simple cases

* fix on_tick type in drive_on_heading node

* fix linting and fixed other nodes

* Revert "fix linting and fixed other nodes"

This reverts commit c1cd575.

* fix linting

* fixes for subscription cases in action nodes

* fixes in condition nodes

* fix input usage

* fix uncrustify

* .

* fix typo in back_up_action.cpp

* fix in drive_on_heading_action

* remove unnecessary first_use variables

* typo

* typo

* typo

* fixed typos

* move initialize() method above tick()

* revert changes in truncate_path_action node

* revert changes in case of creating subscription in constructor

* remove global_frame_ in remove_passed_goals_action node

* changes in is_path_valid and rate_controller nodes

* change bt_cancel_action node

* change bt_action_node

* add xml_tag parameter

* revert changes in bt_action and bt_cancel_action nodes

* pre-commit

* .
@redvinaa
Copy link
Collaborator

redvinaa commented Oct 24, 2024

The problem with this is that IDLE (aka first tick since last halted) is not the same as initialized == false (aka first tick since construction). And if we load the blackboard from the navigator at the start of every new task (which we do), it could cause problems. Specifically if these values change between task calls, like they do for executing_sound. It works now because we call getInput on every tick, but in other cases it could cause problems.

@RBT22
Copy link
Author

RBT22 commented Nov 13, 2024

Closing in favor of #33

@RBT22 RBT22 closed this Nov 13, 2024
@RBT22 RBT22 deleted the backport-variable-input branch November 13, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants