This commit is contained in:
HiepLM 2025-12-30 19:09:12 +07:00
parent 82804ff93a
commit 596e067050
5 changed files with 15 additions and 11 deletions

@ -1 +1 @@
Subproject commit 32c034225f911ff8b5b7f3d8f9a8f48084636134 Subproject commit fb03bdf2e8695f3d01ea80a52107bd18d7802062

@ -1 +1 @@
Subproject commit ebb46a77d486531845b49c6c20b60045c7adf74c Subproject commit 9b4252ea912cbc9ec59f285a7d3b8d59d3cb9d38

View File

@ -17,6 +17,9 @@ subject to the following restrictions:
#ifndef GEN_MINMAX_H #ifndef GEN_MINMAX_H
#define GEN_MINMAX_H #define GEN_MINMAX_H
#include "Scalar.h"
template <class T> template <class T>
TF3SIMD_FORCE_INLINE const T& tf3Min(const T& a, const T& b) TF3SIMD_FORCE_INLINE const T& tf3Min(const T& a, const T& b)
{ {

View File

@ -159,20 +159,20 @@ protected:
*/ */
TF3SIMD_FORCE_INLINE void setMax(const QuadWord& other) TF3SIMD_FORCE_INLINE void setMax(const QuadWord& other)
{ {
tf3SetMax(m_floats[0], other.m_floats[0]); // tf3SetMax(m_floats[0], other.m_floats[0]);
tf3SetMax(m_floats[1], other.m_floats[1]); // tf3SetMax(m_floats[1], other.m_floats[1]);
tf3SetMax(m_floats[2], other.m_floats[2]); // tf3SetMax(m_floats[2], other.m_floats[2]);
tf3SetMax(m_floats[3], other.m_floats[3]); // tf3SetMax(m_floats[3], other.m_floats[3]);
} }
/**@brief Set each element to the min of the current values and the values of another QuadWord /**@brief Set each element to the min of the current values and the values of another QuadWord
* @param other The other QuadWord to compare with * @param other The other QuadWord to compare with
*/ */
TF3SIMD_FORCE_INLINE void setMin(const QuadWord& other) TF3SIMD_FORCE_INLINE void setMin(const QuadWord& other)
{ {
tf3SetMin(m_floats[0], other.m_floats[0]); // tf3SetMin(m_floats[0], other.m_floats[0]);
tf3SetMin(m_floats[1], other.m_floats[1]); // tf3SetMin(m_floats[1], other.m_floats[1]);
tf3SetMin(m_floats[2], other.m_floats[2]); // tf3SetMin(m_floats[2], other.m_floats[2]);
tf3SetMin(m_floats[3], other.m_floats[3]); // tf3SetMin(m_floats[3], other.m_floats[3]);
} }

View File

@ -22,7 +22,8 @@ file(GLOB HEADERS "include/move_base_core/*.h")
# To INTERFACE library (header-only) # To INTERFACE library (header-only)
add_library(move_base_core INTERFACE) add_library(move_base_core INTERFACE)
target_link_libraries(move_base_core INTERFACE tf3 robot_time geometry_msgs) target_link_libraries(move_base_core
INTERFACE tf3 robot_time robot_geometry_msgs robot_protocol_msgs)
# Set include directories # Set include directories
target_include_directories(move_base_core target_include_directories(move_base_core