Closed walchko closed 6 years ago
I have looked through the c and cpp code and can't find the definition for laser_t that you use in your constructor. Also, how does this compile without that definition?
laser_t
Laser::Laser( int scanSize, float scanRateHz, float detection_angle_degrees, float distance_no_detection_mm, int detection_margin, float offset_mm ) { this->laser = new laser_t; this->laser->scan_size = scanSize; this->laser->scan_rate_hz = scanRateHz; this->laser->detection_angle_degrees = detection_angle_degrees; this->laser->distance_no_detection_mm = distance_no_detection_mm; this->laser->detection_margin = detection_margin; this->laser->offset_mm = offset_mm; }
Thanks for pointing this out Kevin. The code that references laser_t is obsolete (no longer used). I've removed it.
I have looked through the c and cpp code and can't find the definition for
laser_t
that you use in your constructor. Also, how does this compile without that definition?