Namespaces | Macros | Variables
DbwNode.cpp File Reference
#include "DbwNode.h"
#include <dbw_mkz_can/dispatch.h>
#include <dbw_mkz_can/pedal_lut.h>
#include <dbw_mkz_can/sonar_lut.h>
Include dependency graph for DbwNode.cpp:

Go to the source code of this file.

Namespaces

 dbw_mkz_can
 

Macros

#define ROS_DEBUG_ONCE_ID(id, ...)   ROS_LOG_ONCE_ID(id, ::ros::console::levels::Debug, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)
 
#define ROS_ERROR_ONCE_ID(id, ...)   ROS_LOG_ONCE_ID(id, ::ros::console::levels::Error, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)
 
#define ROS_FATAL_ONCE_ID(id, ...)   ROS_LOG_ONCE_ID(id, ::ros::console::levels::Fatal, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)
 
#define ROS_INFO_ONCE_ID(id, ...)   ROS_LOG_ONCE_ID(id, ::ros::console::levels::Info, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)
 
#define ROS_LOG_ONCE_ID(id, level, name, ...)
 
#define ROS_WARN_ONCE_ID(id, ...)   ROS_LOG_ONCE_ID(id, ::ros::console::levels::Warn, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)
 

Variables

PlatformMap dbw_mkz_can::FIRMWARE_CMDTYPE ({{PlatformVersion(P_FORD_CD4, M_BPEC, ModuleVersion(2, 0, 7))},{PlatformVersion(P_FORD_CD4, M_TPEC, ModuleVersion(2, 0, 7))},})
 
PlatformMap dbw_mkz_can::FIRMWARE_HIGH_RATE_LIMIT ({{PlatformVersion(P_FORD_CD4, M_STEER, ModuleVersion(2, 2, 0))},{PlatformVersion(P_FORD_P5, M_STEER, ModuleVersion(1, 1, 0))},})
 
PlatformMap dbw_mkz_can::FIRMWARE_LATEST ({{PlatformVersion(P_FORD_CD4, M_BPEC, ModuleVersion(2, 4, 2))},{PlatformVersion(P_FORD_CD4, M_TPEC, ModuleVersion(2, 4, 2))},{PlatformVersion(P_FORD_CD4, M_STEER, ModuleVersion(2, 4, 2))},{PlatformVersion(P_FORD_CD4, M_SHIFT, ModuleVersion(2, 4, 2))},{PlatformVersion(P_FORD_CD5, M_BOO, ModuleVersion(1, 0, 0))},{PlatformVersion(P_FORD_CD5, M_TPEC, ModuleVersion(1, 0, 0))},{PlatformVersion(P_FORD_CD5, M_STEER, ModuleVersion(1, 0, 0))},{PlatformVersion(P_FORD_P5, M_TPEC, ModuleVersion(1, 3, 2))},{PlatformVersion(P_FORD_P5, M_STEER, ModuleVersion(1, 3, 2))},{PlatformVersion(P_FORD_P5, M_SHIFT, ModuleVersion(1, 3, 2))},{PlatformVersion(P_FORD_P5, M_ABS, ModuleVersion(1, 3, 2))},{PlatformVersion(P_FORD_P5, M_BOO, ModuleVersion(1, 3, 2))},{PlatformVersion(P_FORD_T6, M_TPEC, ModuleVersion(0, 1, 2))},{PlatformVersion(P_FORD_T6, M_STEER, ModuleVersion(0, 1, 2))},{PlatformVersion(P_FORD_U6, M_TPEC, ModuleVersion(0, 1, 2))},{PlatformVersion(P_FORD_U6, M_STEER, ModuleVersion(0, 1, 2))},{PlatformVersion(P_FORD_U6, M_SHIFT, ModuleVersion(0, 1, 2))},{PlatformVersion(P_FORD_U6, M_ABS, ModuleVersion(0, 1, 2))},{PlatformVersion(P_FORD_U6, M_BOO, ModuleVersion(0, 1, 2))},{PlatformVersion(P_FORD_C1, M_TPEC, ModuleVersion(1, 1, 2))},{PlatformVersion(P_FORD_C1, M_STEER, ModuleVersion(1, 1, 2))},{PlatformVersion(P_FORD_C1, M_SHIFT, ModuleVersion(1, 1, 2))},{PlatformVersion(P_FORD_C1, M_ABS, ModuleVersion(1, 1, 2))},{PlatformVersion(P_FORD_C1, M_BOO, ModuleVersion(1, 1, 2))},{PlatformVersion(P_FORD_C1, M_EPS, ModuleVersion(1, 1, 2))},})
 
PlatformMap dbw_mkz_can::FIRMWARE_TIMEOUT ({{PlatformVersion(P_FORD_CD4, M_BPEC, ModuleVersion(2, 0, 0))},{PlatformVersion(P_FORD_CD4, M_TPEC, ModuleVersion(2, 0, 0))},{PlatformVersion(P_FORD_CD4, M_STEER, ModuleVersion(2, 0, 0))},})
 

Macro Definition Documentation

#define ROS_DEBUG_ONCE_ID (   id,
  ... 
)    ROS_LOG_ONCE_ID(id, ::ros::console::levels::Debug, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)

Definition at line 53 of file DbwNode.cpp.

#define ROS_ERROR_ONCE_ID (   id,
  ... 
)    ROS_LOG_ONCE_ID(id, ::ros::console::levels::Error, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)

Definition at line 56 of file DbwNode.cpp.

#define ROS_FATAL_ONCE_ID (   id,
  ... 
)    ROS_LOG_ONCE_ID(id, ::ros::console::levels::Fatal, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)

Definition at line 57 of file DbwNode.cpp.

#define ROS_INFO_ONCE_ID (   id,
  ... 
)    ROS_LOG_ONCE_ID(id, ::ros::console::levels::Info, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)

Definition at line 54 of file DbwNode.cpp.

#define ROS_LOG_ONCE_ID (   id,
  level,
  name,
  ... 
)
Value:
do \
{ \
ROSCONSOLE_DEFINE_LOCATION(true, level, name); \
static std::map<int, bool> map; \
bool &hit = map[id]; \
if (ROS_UNLIKELY(__rosconsole_define_location__enabled) && ROS_UNLIKELY(!hit)) \
{ \
hit = true; \
ROSCONSOLE_PRINT_AT_LOCATION(__VA_ARGS__); \
} \
} while(false)
#define ROS_UNLIKELY(x)

Definition at line 41 of file DbwNode.cpp.

#define ROS_WARN_ONCE_ID (   id,
  ... 
)    ROS_LOG_ONCE_ID(id, ::ros::console::levels::Warn, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__)

Definition at line 55 of file DbwNode.cpp.



dbw_mkz_can
Author(s): Kevin Hallenbeck
autogenerated on Fri May 14 2021 02:47:08