pcan::iteris_frame_t Class Reference

#include <iteris_frame.H>

Inheritance diagram for pcan::iteris_frame_t:
pcan::pcan_frame_t

List of all members.

Public Member Functions

 iteris_frame_t (pcan_frame_t const &frame_)
bool vehicle_speed_status () const
bool system_status () const
bool warning_on_left () const
bool warning_on_right () const
bool type_of_lanemark_on_left () const
bool type_of_lanemark_on_right () const
bool vehicle_crossing_left_lane () const
bool vehicle_crossing_right_lane () const
bool left_lateral_offset_validity () const
bool right_lateral_offset_validity () const
bool lane_curvature_validity () const
bool lane_angle_validity () const
unsigned num_of_lines_on_right () const
unsigned num_of_lines_on_left () const
double lateral_offset_to_left_lane () const
double lateral_offset_to_right_lane () const
double bot_angle_wrt_lane () const
double lane_curvature () const
unsigned lane_detection_dist () const

Static Protected Attributes

static unsigned const STX = 0x550
static unsigned const MASK_FOR_NUM_OF_LINES = 0x03
static unsigned const NIBBLE_MASK = 0x0f
static unsigned const POS_FOR_NUM_OF_LINES_ON_LEFT = 2
static unsigned const SENSOR_STATUS_BITS_POS_OFFSET = 4
static unsigned const CURVATURE_OF_LANE_POS_OFFSET = 4
static unsigned const LATERAL_OFFSET_ON_LEFT = 1
static unsigned const LATERAL_OFFSET_ON_RIGHT = 2
static unsigned const ANGLE_TO_LANE_LO_OFFSET = 3
static unsigned const ANGLE_TO_LANE_HI_OFFSET = 4
static unsigned const CURVATURE_OF_LANE_LO_OFFSET = 4
static unsigned const CURVATURE_OF_LANE_HI_OFFSET = 5
static unsigned const LDW_STATUS = 6
static unsigned const LANE_DETECTION_DISTANCE = 7
static unsigned const VEHICLE_SPEED_STATUS = 0x01
static unsigned const SYSTEM_AVAILABLE_STATUS = 0x08
static unsigned const WARNING_ON_LEFT = 0x02
static unsigned const WARNING_ON_RIGHT = 0x04
static unsigned const TYPE_OF_LEFT_LANE_MARK = 0x01
static unsigned const VEHICLE_CROSSING_LEFT_LANE = 0x02
static unsigned const TYPE_OF_RIGHT_LANE_MARK = 0x04
static unsigned const VEHICLE_CROSSING_RIGHT_LANE = 0x08
static unsigned const LEFT_LATERAL_OFFSET_VALIDITY = 0x10
static unsigned const RIGHT_LATERAL_OFFSET_VALIDITY = 0x20
static unsigned const LANE_CURVATURE_VALIDITY = 0x40
static unsigned const LANE_ANGLE_VALIDITY = 0x80
static double const LATERAL_OFFSET_RESOLUTION = 0.03125
static double const ANGLE_TO_LANE_RESOLUTION = 0.04395
static double const CURVATURE_OF_LANE_RESOLUTION = 0.00001

Constructor & Destructor Documentation

pcan::iteris_frame_t::iteris_frame_t ( pcan_frame_t const &  frame_  )  [inline]

Member Function Documentation

double pcan::iteris_frame_t::bot_angle_wrt_lane (  )  const [inline]
bool pcan::iteris_frame_t::lane_angle_validity (  )  const [inline]
double pcan::iteris_frame_t::lane_curvature (  )  const [inline]
bool pcan::iteris_frame_t::lane_curvature_validity (  )  const [inline]
unsigned pcan::iteris_frame_t::lane_detection_dist (  )  const [inline]
double pcan::iteris_frame_t::lateral_offset_to_left_lane (  )  const [inline]
double pcan::iteris_frame_t::lateral_offset_to_right_lane (  )  const [inline]
bool pcan::iteris_frame_t::left_lateral_offset_validity (  )  const [inline]
unsigned pcan::iteris_frame_t::num_of_lines_on_left (  )  const [inline]
unsigned pcan::iteris_frame_t::num_of_lines_on_right (  )  const [inline]
bool pcan::iteris_frame_t::right_lateral_offset_validity (  )  const [inline]
bool pcan::iteris_frame_t::system_status (  )  const [inline]
bool pcan::iteris_frame_t::type_of_lanemark_on_left (  )  const [inline]
bool pcan::iteris_frame_t::type_of_lanemark_on_right (  )  const [inline]
bool pcan::iteris_frame_t::vehicle_crossing_left_lane (  )  const [inline]
bool pcan::iteris_frame_t::vehicle_crossing_right_lane (  )  const [inline]
bool pcan::iteris_frame_t::vehicle_speed_status (  )  const [inline]
bool pcan::iteris_frame_t::warning_on_left (  )  const [inline]
bool pcan::iteris_frame_t::warning_on_right (  )  const [inline]

Member Data Documentation

unsigned const pcan::iteris_frame_t::ANGLE_TO_LANE_HI_OFFSET = 4 [static, protected]

Referenced by bot_angle_wrt_lane().

unsigned const pcan::iteris_frame_t::ANGLE_TO_LANE_LO_OFFSET = 3 [static, protected]

Referenced by bot_angle_wrt_lane().

double const pcan::iteris_frame_t::ANGLE_TO_LANE_RESOLUTION = 0.04395 [static, protected]

Referenced by bot_angle_wrt_lane().

unsigned const pcan::iteris_frame_t::CURVATURE_OF_LANE_HI_OFFSET = 5 [static, protected]

Referenced by lane_curvature().

unsigned const pcan::iteris_frame_t::CURVATURE_OF_LANE_LO_OFFSET = 4 [static, protected]

Referenced by lane_curvature().

unsigned const pcan::iteris_frame_t::CURVATURE_OF_LANE_POS_OFFSET = 4 [static, protected]

Referenced by lane_curvature().

double const pcan::iteris_frame_t::CURVATURE_OF_LANE_RESOLUTION = 0.00001 [static, protected]

Referenced by lane_curvature().

unsigned const pcan::iteris_frame_t::LANE_ANGLE_VALIDITY = 0x80 [static, protected]

Referenced by lane_angle_validity().

unsigned const pcan::iteris_frame_t::LANE_CURVATURE_VALIDITY = 0x40 [static, protected]

Referenced by lane_curvature_validity().

unsigned const pcan::iteris_frame_t::LANE_DETECTION_DISTANCE = 7 [static, protected]

Referenced by lane_detection_dist().

unsigned const pcan::iteris_frame_t::LATERAL_OFFSET_ON_LEFT = 1 [static, protected]
unsigned const pcan::iteris_frame_t::LATERAL_OFFSET_ON_RIGHT = 2 [static, protected]
double const pcan::iteris_frame_t::LATERAL_OFFSET_RESOLUTION = 0.03125 [static, protected]
unsigned const pcan::iteris_frame_t::LDW_STATUS = 6 [static, protected]
unsigned const pcan::iteris_frame_t::LEFT_LATERAL_OFFSET_VALIDITY = 0x10 [static, protected]
unsigned const pcan::iteris_frame_t::MASK_FOR_NUM_OF_LINES = 0x03 [static, protected]
unsigned const pcan::iteris_frame_t::NIBBLE_MASK = 0x0f [static, protected]

Referenced by bot_angle_wrt_lane().

unsigned const pcan::iteris_frame_t::POS_FOR_NUM_OF_LINES_ON_LEFT = 2 [static, protected]

Referenced by num_of_lines_on_left().

unsigned const pcan::iteris_frame_t::RIGHT_LATERAL_OFFSET_VALIDITY = 0x20 [static, protected]
unsigned const pcan::iteris_frame_t::SENSOR_STATUS_BITS_POS_OFFSET = 4 [static, protected]
unsigned const pcan::iteris_frame_t::STX = 0x550 [static, protected]
unsigned const pcan::iteris_frame_t::SYSTEM_AVAILABLE_STATUS = 0x08 [static, protected]

Referenced by system_status().

unsigned const pcan::iteris_frame_t::TYPE_OF_LEFT_LANE_MARK = 0x01 [static, protected]
unsigned const pcan::iteris_frame_t::TYPE_OF_RIGHT_LANE_MARK = 0x04 [static, protected]
unsigned const pcan::iteris_frame_t::VEHICLE_CROSSING_LEFT_LANE = 0x02 [static, protected]
unsigned const pcan::iteris_frame_t::VEHICLE_CROSSING_RIGHT_LANE = 0x08 [static, protected]
unsigned const pcan::iteris_frame_t::VEHICLE_SPEED_STATUS = 0x01 [static, protected]

Referenced by vehicle_speed_status().

unsigned const pcan::iteris_frame_t::WARNING_ON_LEFT = 0x02 [static, protected]

Referenced by warning_on_left().

unsigned const pcan::iteris_frame_t::WARNING_ON_RIGHT = 0x04 [static, protected]

Referenced by warning_on_right().


The documentation for this class was generated from the following file:

Generated on Fri Apr 9 10:45:12 2010 for drivers by  doxygen 1.6.1