Remove debug, add backup Homography

This commit is contained in:
Ruben van de Ven 2025-05-26 10:55:49 +02:00
parent 5e14833e6e
commit f2bb4f5f92
2 changed files with 4 additions and 3 deletions

View file

@ -303,7 +303,7 @@ fn laser_frame_producer(model: &mut LaserModel, frame: &mut laser::Frame){
let space = &model.current_lines.space;
let pointno = points.len();
dbg!(&model.config.name);
// dbg!(&model.config.name);
let mut new_points = Vec::new();
for point in points.into_iter() {

View file

@ -81,6 +81,7 @@ const LASER_H: Mat3 = python_cv_h_into_mat3(TMP_PYTHON_LASER_H);
impl Default for DacConfig{
fn default() -> DacConfig{
DacConfig { name: "Unknown".into(), homography: Mat3::IDENTITY }
//DacConfig { name: "Unknown".into(), homography: Mat3::IDENTITY }
DacConfig { name: "Unknown".into(), homography: LASER_H }
}
}
}