Open Ekanshh opened 2 weeks ago
After investigating based on the logs, I found that there was a null reference in this conditional statement. It seems that mj_pose_service_node_
did not initialize before calling mj_pose_service_node_->hasUpdates()
, which leads to the segmentation fault.
mj_yaml
in the robot_description
robot_description = Command(
[
FindExecutable(name="xacro"),
" ",
franka_xacro_file,
" arm_id:=panda",
" hand:=",
load_gripper,
" scene_xml:=",
scene_xml,
" mj_yaml:=",
mj_yaml,
]
)
if(mj_pose_service_node_ && mj_pose_service_node_->hasUpdates())
. I am not sure whether these two workarounds can be a potential solution to fix the error. It needs more investigation. I would appreciate your thoughts and any guidance on this issue.
Issue
Environment Setup:
Description
I encountered a segmentation fault error while launching
franka_sim.launch.py
. After investigating based on the logs, I found that there was a null reference in this conditional statement. It seems thatmj_pose_service_node_
did not initialize before callingmj_pose_service_node_->hasUpdates()
, which leads to the segmentation fault.Logs