Repository navigation
Conversation
|
Travis failed: i just re-triggered the build because the error doesn't make sense. |
4b93730 to
db64833
Compare
|
I updated the request to work with latest head, but the obscure error persists. |
|
#45 is merged, could you rebase this? |
a23f2f2 to
feb1c1f
Compare
|
The test still fails the assertion, but I can't reproduce this locally. |
|
I locally copied this change into the kinetic branch and ran the tests and it also caused a failure to the moveit_joy test. Looking at it further, I believe its because the moveit_joy test doesn't load a SRDF/URDF and previously it didn't care but with this change it causes the python class Essentially you've caused RobotModelLoader to have a stricter enforcement, which breaks a currently faulty test. I'm not a python developer and don't use gtest with python, so perhaps @130s who originally made the test can improve the test. |
|
Python code should never ever segfault, so it's not just a faulty test. :) |
|
The error is not related to this PR, nor to the |
|
I tracked the bug down |
|
Should i create a PR to disable the faulty joy python test? Talking to @130s today, who created the simple test, he was in favor of this. I'd like to get this PR merged |
|
On Tue, Aug 23, 2016 at 04:42:57PM -0700, Dave Coleman wrote:
+1 |
|
On Wed, Aug 24, 2016 at 02:50:35AM -0700, Robert Haschke wrote:
Too late #143 (comment) |
|
We can't do that anyway, because we need ros-visualization/rviz#1039 to be released. |
| const boost::shared_ptr<srdf::Model> &srdf = rdf_loader_->getSRDF() ? rdf_loader_->getSRDF() : boost::shared_ptr<srdf::Model>(new srdf::Model()); | ||
| model_.reset(new robot_model::RobotModel(rdf_loader_->getURDF(), srdf)); | ||
| } | ||
|
|
There was a problem hiding this comment.
As pointed out in #170 (comment), there should be a warning message, if the model is empty.
There was a problem hiding this comment.
On Fri, Aug 26, 2016 at 01:24:57AM -0700, Robert Haschke wrote:
As pointed out in #170 (comment), there should be a warning message, if the model is empty.
This only indirectly relates to this request.
I've filed #173 to add the appropriate warning.
feb1c1f to
1a78f75
Compare
|
Thinking about #46 (comment), I noticed that the With this PR, getRobotModel() should return an empty shared_ptr as well, if the robot model is defined but empty in order to preserve previous behaviour. Otherwise, indeed other issues might pop up due to this PR. Considering this, will not pass an empty robot model to rviz for visualization and thus would make this PR independent of ros-visualization/rviz#1039. |
|
You are right, it is a well-established interface that getRobotModel might return a However, we still need to fix #47 . |
This requires
ros-visualization/rviz#1039 and
#45 .
This should be "the fix" @davetcoleman mentioned in #43 .
However, because this depends on a bugfix in rviz and we can't influence their release cycle,
this is probably not the road to take to unblock the overdue jade release.
This can be merged once the rviz fix is merged and released.