-
Notifications
You must be signed in to change notification settings - Fork 198
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
Conversation
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
tf2/include/tf2/LinearMath/MinMax.h
Outdated
@@ -17,6 +17,8 @@ subject to the following restrictions: | |||
#ifndef GEN_MINMAX_H | |||
#define GEN_MINMAX_H | |||
|
|||
#include <tf2/LinearMath/Scalar.h> |
There was a problem hiding this comment.
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:
#include <tf2/LinearMath/Scalar.h> | |
#include "Scalar.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quotes in f89398d
There was a problem hiding this 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>
@Mergifyio backport humble galactic foxy |
* 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)
* 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)
✅ Backports have been created
|
* 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)
* 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
* 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>
* 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>
* 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>
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 theTF2SIMD_FORCE_INLINE
value to be defined.