Skip to content

fix(bot_state_machine): use namespace-relative lifecycle client names#13

Open
arresejo wants to merge 1 commit into
botbotrobotics:mainfrom
arresejo:fix/state-machine-namespace
Open

fix(bot_state_machine): use namespace-relative lifecycle client names#13
arresejo wants to merge 1 commit into
botbotrobotics:mainfrom
arresejo:fix/state-machine-namespace

Conversation

@arresejo

Copy link
Copy Markdown

create_comms() built transition_event/change_state/get_state names with a leading slash, making them absolute and bypassing the state machine's own namespace. With a robot_name set in robot_config.yaml, all get_state calls failed and every node stayed 'unknown', so bringup never ran.

Relative names resolve inside the node's namespace and are identical to the previous behavior when no robot name is set (namespace '/').

create_comms() built transition_event/change_state/get_state names with a
leading slash, making them absolute and bypassing the state machine's own
namespace. With a robot_name set in robot_config.yaml, all get_state calls
failed and every node stayed 'unknown', so bringup never ran.

Relative names resolve inside the node's namespace and are identical to the
previous behavior when no robot name is set (namespace '/').
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.

1 participant