Commit edbdf8e7 authored by oscar's avatar oscar

修改编译错误

parent 8a31e3e8
......@@ -236,6 +236,12 @@ void get_camera_left_tolidar_loc(float u, float v, float& x, float& y)
y = sry + 2 ;
}
inline int _GET_VALID_VALUE(unsigned char position, int bits)
{
unsigned int the_mask = (((unsigned int)1) << position);
return (the_mask &= bits) >> position;
}
TrackingRos::~TrackingRos()
{
if (m_isTrackingRun == true)
......@@ -676,11 +682,6 @@ void TrackingRos::TrackingCallBackFunc(const jfx_common_msgs::det_tracking_array
//m_pubCloud.publish(msg->cloud);
}
inline int _GET_VALID_VALUE(unsigned char position, int bits)
{
unsigned int the_mask = (((unsigned int)1) << position);
return (the_mask &= bits) >> position;
}
void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesConstPtr& msg)
{
......
......@@ -115,7 +115,7 @@ int TimeQueueObj::GetQueueData(std::vector<TimeQueueDataPtr>& outs)
int isFinish = 0;
if (obj == pos)
isFinish = 1;
if ((*iter)->dataType != m_baseEnum)
if ((*obj)->dataType != m_baseEnum)
{
if (m_enumCount[static_cast<int>((*iter)->dataType)] == 1)
obj++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment