Skip to content

catch exceptions by reference and print relevent information - #706

Merged
SteveMacenski merged 3 commits into
masterfrom
catch_references
Jul 11, 2019
Merged

SteveMacenski merged 3 commits into
masterfrom
catch_references

Conversation

@SteveMacenski

Copy link
Copy Markdown
Member

Basic Info

Info Please fill out this column
Ticket(s) this addresses #659
Primary OS tested on (N/A
Robotic platform tested on N/A

Description of contribution in a few bullet points

  • Catch exception by references across stack
  • print exceptions as needed

Future work that may be required in bullet points


I'd like to request maintainer: to review this PR.

@SteveMacenski
SteveMacenski requested review from bpwilcox, mhpanah and mjeronimo and removed request for mhpanah and mjeronimo May 11, 2019 23:09
@codecov

codecov Bot commented May 11, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #706 into master will increase coverage by 5.83%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #706      +/-   ##
==========================================
+ Coverage   21.13%   26.97%   +5.83%     
==========================================
  Files         184      235      +51     
  Lines        9448     9451       +3     
  Branches     2313     2768     +455     
==========================================
+ Hits         1997     2549     +552     
+ Misses       6311     5196    -1115     
- Partials     1140     1706     +566
Impacted Files Coverage Δ
src/navigation2/nav2_util/src/pf/pf_pdf.c 0% <0%> (-90%) ⬇️
src/navigation2/nav2_util/src/pf/pf_kdtree.c 0% <0%> (-84.26%) ⬇️
src/navigation2/nav2_util/src/pf/pf.c 0% <0%> (-79.22%) ⬇️
...il/include/nav2_util/motion_model/motion_model.hpp 0% <0%> (-75%) ⬇️
..._util/src/sensors/laser/likelihood_field_model.cpp 0% <0%> (-75%) ⬇️
...til/src/motion_model/differential_motion_model.cpp 0% <0%> (-67.57%) ⬇️
src/navigation2/nav2_util/src/map/map_cspace.cpp 0% <0%> (-64.29%) ⬇️
src/navigation2/nav2_util/src/pf/pf_vector.c 0% <0%> (-48.44%) ⬇️
src/navigation2/nav2_util/src/map/map.c 0% <0%> (-47.37%) ⬇️
src/navigation2/nav2_util/src/pf/eig3.c 0% <0%> (-39.34%) ⬇️
... and 200 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da5360a...6071b41. Read the comment docs.

Comment thread nav2_map_server/src/map_server.cpp Resolved
@SteveMacenski

Copy link
Copy Markdown
Member Author

Not sure why the debug build failed, looks like some caching issue in Circle. I'm going to add an extraneous line to trigger a total new build. Rerunning the workflow only did the failed bit which I think had the caching problem.

@ghost

ghost commented May 16, 2019

Copy link
Copy Markdown

@SteveMacenski FYI - Since you have full write privileges to this repo, you can just rerun the build. Click on the build log, log in to travis or circleCI with your github account, and then you should have a restart build option

@SteveMacenski

Copy link
Copy Markdown
Member Author

Hi,

I saw a button for rerun workflow, but CircleCI automatically cached the successfully built parts and then when it came to the last section, it was looking for a file that didnt exist. I couldnt find a way to rerun the entire job, Travis I know how to rerun but I guess I need to spend some more time with Circle to find those options.

@ghost ghost added this to the D Turtle Release milestone May 16, 2019
@SteveMacenski

Copy link
Copy Markdown
Member Author

@mhpanah @mjeronimo can I get a second review? This is a small change

@SteveMacenski
SteveMacenski requested a review from mkhansenbot May 31, 2019 19:21
@SteveMacenski

Copy link
Copy Markdown
Member Author

Checking back on this -- very small change that would help build on 18.10 -- can I get a second OK to merge? @mhpanah @mjeronimo

@ghost

ghost commented Jun 1, 2019

Copy link
Copy Markdown

Everyone is focussed on getting the lifecycle branch integrated with master right now. There's a reluctance to add anything else to master to avoid additional rebase conflicts, unless it is necessary to unbreak the build.

This one is in a grey area with respect to unbreaking the build. It unbreaks the build for 18.10 but isn't needed for the official build.

Because this touches amcl, which is probably the worst rebase conflict on the lifecycle branch, and because master is so broken all the time for everybody due to the constant API changes, I'm inclined to want to hold onto this until lifecycle is merged to master. Are you OK with that?

@SteveMacenski

Copy link
Copy Markdown
Member Author

@crdelsey that works, I'm just starting to get a few PRs backed up and I like to clean house before moving forward. What's the timeline on the lifecycle diff landing?

@ghost

ghost commented Jun 3, 2019

Copy link
Copy Markdown

@SteveMacenski I think lifecycle will be merged towards the end of this week.

@SteveMacenski

Copy link
Copy Markdown
Member Author

Sounds good

@ghost ghost added the 0 - Critical Critical to project, highest priority label Jun 10, 2019
@ghost

ghost commented Jun 10, 2019

Copy link
Copy Markdown

@SteveMacenski The lifecycle branch has been merged to master now.

@orduno
orduno self-requested a review June 17, 2019 16:36

@mhpanah mhpanah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@ghost

ghost commented Jun 19, 2019

Copy link
Copy Markdown

@SteveMacenski Are you available to rebase this? If not, I can tackle that.

@ghost

ghost commented Jun 19, 2019

Copy link
Copy Markdown

There's overlap with #871. It catches exceptions by reference, but doesn't add the extra error output.

@ghost ghost added 2 - Medium Medium Priority and removed 0 - Critical Critical to project, highest priority labels Jun 20, 2019
@SteveMacenski
SteveMacenski merged commit 728edfe into master Jul 11, 2019
@SteveMacenski
SteveMacenski deleted the catch_references branch July 11, 2019 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 - Medium Medium Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants