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

Include required header Scalar.h #559

Merged
merged 2 commits into from
Nov 11, 2022
Merged

Include required header Scalar.h #559

merged 2 commits into from
Nov 11, 2022

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Nov 5, 2022

I noticed downstream code was working around this bug here: https://github.com/locusrobotics/tf2_2d/blob/beb6a7a29fcdba7abb1540d9524e81cb9795b9ac/include/tf2_2d/rotation_impl.h#L37-L38

Scalar.h is needed for the TF2SIMD_FORCE_INLINE value to be defined.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz added the bug Something isn't working label Nov 5, 2022
@sloretz sloretz self-assigned this Nov 5, 2022
@@ -17,6 +17,8 @@ subject to the following restrictions:
#ifndef GEN_MINMAX_H
#define GEN_MINMAX_H

#include <tf2/LinearMath/Scalar.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

For better or worse, the style used here (as seen in QuadWord.h and Vector3.h) seems to be:

Suggested change
#include <tf2/LinearMath/Scalar.h>
#include "Scalar.h"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

quotes in f89398d

Copy link

@methylDragon methylDragon left a comment

Choose a reason for hiding this comment

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

LGTM pending merge of Chris' suggestion

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz
Copy link
Contributor Author

sloretz commented Nov 10, 2022

CI (build: --packages-up-to tf2 test_tf2 test: --packages-select tf2 test_tf2)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@sloretz sloretz merged commit 7719d62 into rolling Nov 11, 2022
@delete-merged-branch delete-merged-branch bot deleted the sloretz__include_scalar branch November 11, 2022 01:22
@sloretz
Copy link
Contributor Author

sloretz commented Nov 11, 2022

@Mergifyio backport humble galactic foxy

mergify bot pushed a commit that referenced this pull request Nov 11, 2022
* Include required header Scalar.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* brackets to quotes

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 7719d62)
mergify bot pushed a commit that referenced this pull request Nov 11, 2022
* Include required header Scalar.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* brackets to quotes

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 7719d62)
@mergify
Copy link
Contributor

mergify bot commented Nov 11, 2022

backport humble galactic foxy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Nov 11, 2022
* Include required header Scalar.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* brackets to quotes

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 7719d62)
timdietereberhardt pushed a commit to timdietereberhardt/geometry2 that referenced this pull request Nov 26, 2022
* Include required header Scalar.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* brackets to quotes

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 7719d62)

Issue 1: Can't import tf2_sensor_msgs package from own .py file
Added 'ament_python_install_package(${PROJECT_NAME})' to build the Python package.
To use the command, it's necessary to put the py Files in /tf2_sensor_msgs/tf2_sensor_msgs

Issue 2: For using create_cloud() in tf2_sensor_msgs.py the input must be a list with 16 properties instead of 3
Next to the new transformed x,y,z cloud values from the variable "p_out" the other old data (Range, Speed, ..) from
a new varable "points" will be safed in the list "points_out".

Issue 3: The package "rospy" is only for ROS1
Delete import rospy
clalancette pushed a commit that referenced this pull request Nov 28, 2022
* Include required header Scalar.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* brackets to quotes

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 7719d62)

Co-authored-by: Shane Loretz <sloretz@openrobotics.org>
clalancette pushed a commit that referenced this pull request Nov 28, 2022
* Include required header Scalar.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* brackets to quotes

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 7719d62)

Co-authored-by: Shane Loretz <sloretz@openrobotics.org>
clalancette pushed a commit that referenced this pull request Nov 28, 2022
* Include required header Scalar.h

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* brackets to quotes

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 7719d62)

Co-authored-by: Shane Loretz <sloretz@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants