Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIST-QA] Initialized scene_manager_ member varianle in OcTreeRender constructor #1817

Conversation

max-krichenbauer
Copy link
Contributor

@max-krichenbauer max-krichenbauer commented Dec 26, 2019

Description

The member variable scene_manager_ is not initialized in the constructor of OcTreeRender. Since a parameter called scene_manager exists in the constructor arguments, it appears to have been forgotten to initialize sacene_manager_.
This fix adds initialization of scene_manager_ to the OcTreeRender constructor.

This contribution is made by AIST ( https://www.aist.go.jp ) based on static code analysis with klocwork (Perforce Software).

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

- Correct the indication by the static analysis tool.
- Added 'scene_manager_' initializer to constructor.
Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

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

Looks like we aways provided a parent_node...
I will merge this into Melodic, but cleanup for master.

@rhaschke rhaschke merged commit ce69443 into moveit:melodic-devel Jan 1, 2020
rhaschke pushed a commit to ubi-agni/moveit that referenced this pull request Jan 1, 2020
Require a valid parent_node to be passed.
Modified cherry-pick of moveit#1817.
rhaschke added a commit that referenced this pull request Jan 1, 2020
Require a valid parent_node to be passed.
Modified cherry-pick of #1817.
@max-krichenbauer max-krichenbauer deleted the feature/analysis_tool/melodic/Uninitialize_variable_Constructor/moveit_ros branch January 6, 2020 05:09
sjahr pushed a commit to sjahr/moveit that referenced this pull request Jun 21, 2024
This is a proper dependency, and not only a test dependency. It is still
needed when building moveit_core with -DBUILD_TESTING=OFF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants