You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the package ros-humble-bondcpp, bonds throw a statemap::TransitionUndefinedException shortly after starting. I believe this may be related to #82 and #97
Run docker compose build (this will build bond and the example from source)
Run docker compose up (this will run two nodes that create and start a bond)
Wait a few seconds for the crash
Expected Behaviour
The nodes should stay alive
Actual Behaviour
The nodes crash with a statemap::TransitionUndefinedException
Workarounds
Switching the Dockerfile to use bond 4.1.0 or ros2 appears to fix the issue, though this would mean building from source
Replacing Node with a LifecycleNode and starting the bond within the node's on_activated callback seems to fix the issue
Given 3.0.2 is 2 years old, would it be possible to produce an up-to-date binary for humble?
Logs
example-1 | [INFO] [launch]: All log files can be found below /root/.ros/log/2024-11-14-17-39-41-914428-docker-desktop-1
example-1 | [INFO] [launch]: Default logging verbosity is set to INFO
example-1 | [INFO] [bond_node-1]: process started with pid [65]
example-1 | [INFO] [bond_node-2]: process started with pid [67]
example-1 | [bond_node-2] terminate called after throwing an instance of 'statemap::TransitionUndefinedException'
example-1 | [bond_node-2] what(): no such transition in current state
example-1 | [bond_node-1] terminate called after throwing an instance of 'statemap::TransitionUndefinedException'
example-1 | [bond_node-1] what(): no such transition in current state
example-1 | [ERROR] [bond_node-2]: process has died [pid 67, exit code -6, cmd '/workspace/install/bond_crash/lib/bond_crash/bond_node --ros-args -r __node:=bond_node_2'].
example-1 | [ERROR] [bond_node-1]: process has died [pid 65, exit code -6, cmd '/workspace/install/bond_crash/lib/bond_crash/bond_node --ros-args -r __node:=bond_node_1'].
The text was updated successfully, but these errors were encountered:
Issue
When using the package
ros-humble-bondcpp
, bonds throw astatemap::TransitionUndefinedException
shortly after starting. I believe this may be related to #82 and #97System
Platform: ROS Humble Image (Ubuntu 22.04)
Bond: 3.02 built from source (I believe the version used by ros-humble-bondcpp)
Reproduction Steps
docker compose build
(this will build bond and the example from source)docker compose up
(this will run two nodes that create and start a bond)Expected Behaviour
The nodes should stay alive
Actual Behaviour
The nodes crash with a
statemap::TransitionUndefinedException
Workarounds
4.1.0
orros2
appears to fix the issue, though this would mean building from sourceNode
with aLifecycleNode
and starting the bond within the node'son_activated
callback seems to fix the issueLogs
The text was updated successfully, but these errors were encountered: