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

Converts float to double #2343

Merged
merged 15 commits into from Sep 14, 2023

Conversation

Shobuj-Paul
Copy link
Contributor

Description

Fixed merge conflicts by keeping the previous PR changes where float was converted to double, and accepted current changes for the rest.

Fixes #2322

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

@Shobuj-Paul
Copy link
Contributor Author

Few changes are required for this PR, currently making those.

@Shobuj-Paul
Copy link
Contributor Author

Changes done. I am not very clear as to what this PR was originally supposed to accomplish, but this fix builds!

@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Patch coverage: 9.53% and project coverage change: +0.03% 🎉

Comparison is base (27e5d0e) 50.72% compared to head (972d827) 50.74%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2343      +/-   ##
==========================================
+ Coverage   50.72%   50.74%   +0.03%     
==========================================
  Files         386      386              
  Lines       31970    31970              
==========================================
+ Hits        16213    16220       +7     
+ Misses      15757    15750       -7     
Files Changed Coverage Δ
...llision_detection/src/collision_octomap_filter.cpp 0.00% <0.00%> (ø)
moveit_core/robot_state/src/robot_state.cpp 50.51% <0.00%> (+0.08%) ⬆️
...meterization/work_space/pose_model_state_space.cpp 0.00% <0.00%> (ø)
...it_ros/robot_interaction/src/robot_interaction.cpp 0.00% <0.00%> (ø)
...iz_plugin_render_tools/robot_state_visualization.h 0.00% <ø> (ø)
...on/rviz_plugin_render_tools/src/octomap_render.cpp 0.00% <0.00%> (ø)
..._plugin_render_tools/src/planning_scene_render.cpp 0.00% <0.00%> (ø)
...ion/rviz_plugin_render_tools/src/render_shapes.cpp 0.00% <0.00%> (ø)
...gin_render_tools/src/robot_state_visualization.cpp 0.00% <0.00%> (ø)
...ugin_render_tools/src/trajectory_visualization.cpp 0.00% <0.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ibrahiminfinite
Copy link
Contributor

There are some clang-tidy complaints, could you fix those ?

@Shobuj-Paul
Copy link
Contributor Author

There are some clang-tidy complaints, could you fix those ?

Yep, done. Just needed to change a couple of variable names in GLRenderer.

Copy link
Collaborator

@sjahr sjahr left a comment

Choose a reason for hiding this comment

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

One minor thing to change. Otherwise, I think this is good to go. Thanks for picking it up!

@Shobuj-Paul Shobuj-Paul force-pushed the converts_float_to_double branch 2 times, most recently from 86297d2 to be8761e Compare September 12, 2023 14:57
@tylerjw tylerjw merged commit 6482350 into ros-planning:main Sep 14, 2023
8 checks passed
@Shobuj-Paul Shobuj-Paul deleted the converts_float_to_double branch September 14, 2023 16:46
m-elwin pushed a commit to m-elwin/moveit2 that referenced this pull request Dec 4, 2023
* Limiting the scope of variables ros-planning#874

Limited the scope of variables in moveit_core/collision_detection

* Update moveit_core/collision_detection/src/collision_octomap_filter.cpp

Co-authored-by: AndyZe <andyz@utexas.edu>

* Update moveit_core/collision_detection/src/collision_octomap_filter.cpp

Co-authored-by: AndyZe <andyz@utexas.edu>

* Update moveit_core/collision_detection/src/collision_octomap_filter.cpp

Co-authored-by: AndyZe <andyz@utexas.edu>

* convert float to double

* change double to float

* Feedback fixes

* Introduced variables removed from previous merge commit

* Updated GL_Renderer function definitions with double instead of float

* Changed update() function arguments to float since it is a derived virtual function and needs to be overriden

* Fixed all override errors in visualization

* *Fixed override errors in perception
*Changed reinterpret_cast to double* from float*

* change variable types to fit function definition

* Fixed clang-tidy warnings

* Fixed scope of reusable variables

---------

Co-authored-by: Salah Soliman <salahsoliman96@gmail.com>
Co-authored-by: AndyZe <andyz@utexas.edu>
Co-authored-by: Henning Kayser <henningkayser@picknik.ai>
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.

Finish "convert floats to double" PR
6 participants