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

View File

@@ -17,6 +17,9 @@ subject to the following restrictions:
#ifndef GEN_MINMAX_H
#define GEN_MINMAX_H
#include "Scalar.h"
template <class T>
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)
{
tf3SetMax(m_floats[0], other.m_floats[0]);
tf3SetMax(m_floats[1], other.m_floats[1]);
tf3SetMax(m_floats[2], other.m_floats[2]);
tf3SetMax(m_floats[3], other.m_floats[3]);
// tf3SetMax(m_floats[0], other.m_floats[0]);
// tf3SetMax(m_floats[1], other.m_floats[1]);
// tf3SetMax(m_floats[2], other.m_floats[2]);
// 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
* @param other The other QuadWord to compare with
*/
TF3SIMD_FORCE_INLINE void setMin(const QuadWord& other)
{
tf3SetMin(m_floats[0], other.m_floats[0]);
tf3SetMin(m_floats[1], other.m_floats[1]);
tf3SetMin(m_floats[2], other.m_floats[2]);
tf3SetMin(m_floats[3], other.m_floats[3]);
// tf3SetMin(m_floats[0], other.m_floats[0]);
// tf3SetMin(m_floats[1], other.m_floats[1]);
// tf3SetMin(m_floats[2], other.m_floats[2]);
// tf3SetMin(m_floats[3], other.m_floats[3]);
}

View File

@@ -22,7 +22,8 @@ file(GLOB HEADERS "include/move_base_core/*.h")
# Tạo INTERFACE library (header-only)
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
target_include_directories(move_base_core