Element with 4 attributes crashes ros-Gazebo
I have created a custom plugin with 4 attributes, example below:
<door name="name" left_joint="left_joint' right_joint="right_joint" type="swingDoor"/>
But I have found that whenever I launch the launch file I get
gzserver: symbol lookup error: /home/abilash/ros1_workspaces/caato_ws/devel/lib/libdoor.so: undefined symbol: _ZN23rmf_building_sim_common10DoorCommonC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN3ros10NodeHandleEERKNS_12MotionParamsERKSt13unordered_mapIS6_NS0_11DoorElementESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIS7_SH_EEE
[gazebo-2] process has died [pid 445601, exit code 127, cmd /opt/ros/noetic/lib/gazebo_ros/gzserver -e ode /home/abilash/ros1_workspaces/caato_ws/src/decada_sim_assets/worlds/hello.world __name:=gazebo __log:=/home/abilash/.ros/log/619a4644-22c7-11ed-9792-995dd1a9839b/gazebo-2.log].
log file: /home/abilash/.ros/log/619a4644-22c7-11ed-9792-995dd1a9839b/gazebo-2*.log
Which is driving me crazy. So I thought it had something to do with my custom plugin, but realized, there is no issue when I have three attributes. Its only on the fourth attribute, that the process dies. Does not matter the order or which attribute I take out, it will always die on the fourth attribute insertion.
Would appreciate some help on this!
Asked by choobacca-bacca on 2022-08-23 04:49:34 UTC
Comments