Skip to content

terminate called after throwing an instance of 'rclcpp_action::exceptions::UnknownGoalHandleError' , what(): Goal handle is not known to this client. #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Rizano1 opened this issue Feb 21, 2025 · 0 comments

Comments

@Rizano1
Copy link

Rizano1 commented Feb 21, 2025

tree:

<root BTCPP_format="4" main_tree_to_execute="MainTree" >
  <BehaviorTree ID="MainTree">
    <Repeat num_cycles="100">
      <Sequence>
        <Fallback name="MainSequence">
            <KeepRunningUntilFailure>
                <IsEmergencyOn default_status="SUCCESS"/>
            </KeepRunningUntilFailure>
              <ReactiveFallback>
                  <IsEmergencyOn />
                  <Sequence>
                      <MoveForward mode="time" value="5" joy_thrust="50"/>
                      <MoveForward mode="time" value="20" joy_thrust="50"/>
                  </Sequence>
              </ReactiveFallback>
        </Fallback>
      </Sequence>
    </Repeat>
  </BehaviorTree>
</root>

"IsEmergencyOn" is a sub-node/condition node, and "moveForward" is an action node. I am writing the behavior tree node and its server using an example as a reference.

I tried making IsEmergencyOn return SUCCESS in the middle of moveForward, causing the tree to restart due to repeat and getting blocked by KeepRunningUntilFailure until IsEmergencyOn returns FAILURE. I repeated this process multiple times, but after several repeats, an error occurred:

[behaviorNode-3] terminate called after throwing an instance of 'rclcpp_action::exceptions::UnknownGoalHandleError'
[behaviorNode-3] what(): Goal handle is not known to this client.
[ERROR] [behaviorNode-3]: process has died [pid 16286, exit code -6, cmd '/home/banyubramanta/Documents/ros2_ws_sauvc_2025/install/banyu_behavior_client/lib/banyu_behavior_client/behaviorNode --ros-args -r __node:=behaviorNode'].

@Rizano1 Rizano1 changed the title [behaviorNode-3] terminate called after throwing an instance of 'rclcpp_action::exceptions::UnknownGoalHandleError' [behaviorNode-3] what(): Goal handle is not known to this client. terminate called after throwing an instance of 'rclcpp_action::exceptions::UnknownGoalHandleError' , what(): Goal handle is not known to this client. Feb 21, 2025
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

No branches or pull requests

1 participant