Compare commits
1 Commits
82804ff93a
...
596e067050
| Author | SHA1 | Date | |
|---|---|---|---|
| 596e067050 |
Submodule src/Libraries/common_msgs updated: 32c034225f...fb03bdf2e8
Submodule src/Libraries/robot_cpp updated: ebb46a77d4...9b4252ea91
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ file(GLOB HEADERS "include/move_base_core/*.h")
|
|||||||
|
|
||||||
# Tạo INTERFACE library (header-only)
|
# Tạo 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
|
||||||
|
|||||||
Reference in New Issue
Block a user