Open osrf-migration opened 7 years ago
Original comment by Kenneth Blomqvist (Bitbucket: kekeblom).
Ok so that turned out to be the issue. I changed those to knuckle_L1_L2_1 and knuckle_L1_L2_2 and that works.
I guess we should look into crashing with some sort of error message instead of segfaulting.
Thanks a lot! I'll have a quick look if I can somehow make the experience a little bit better in this case .
Original comment by Kenneth Blomqvist (Bitbucket: kekeblom).
It appears that the Joint::GetAngle
method no longer exists in the default branch and that there has been quite a lot of changes in newer versions.
What do you think we should do? Close the issue? Happy to help if someone points me in the right direction.
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
I think the problem is in gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp where it dereferences the joint pointer without checking that it is non-null. It should probably be checked at load time before being added to the joints_ vector. Would you be willing to make a pull request to gazebo_ros_pkgs
to add a pointer check and error message if a joint by the specified name is not found?
Original comment by Kenneth Blomqvist (Bitbucket: kekeblom).
I did just that. The pull request is here: https://github.com/ros-simulation/gazebo_ros_pkgs/pull/609
Original report (archived issue) by Kenneth Blomqvist (Bitbucket: kekeblom).
I'm launching gazebo through roslaunch using a launch file and get the following error:
It also mentions a log file gazebo-5*.log but it does not exist.
If I run the command using the debug flag I get into gdb and I am able to recover the following backtrace:
The launch file I used is rather simple and is as follows:
Running
gz sdf -p <urdf file>
of my urdf model outputs this which looks fine to me:If I greatly simplify my model by removing the gripper gazebo starts fine. However I am kind of stuck at this point and would appreciate any tips on how I can debug this further to figure out where the issue is.
Let me know if there is anything more I can do to find the problem here.
I am running gazebo version 7.5.0.