Remove debug, add backup Homography
This commit is contained in:
parent
5e14833e6e
commit
f2bb4f5f92
2 changed files with 4 additions and 3 deletions
|
@ -303,7 +303,7 @@ fn laser_frame_producer(model: &mut LaserModel, frame: &mut laser::Frame){
|
||||||
let space = &model.current_lines.space;
|
let space = &model.current_lines.space;
|
||||||
let pointno = points.len();
|
let pointno = points.len();
|
||||||
|
|
||||||
dbg!(&model.config.name);
|
// dbg!(&model.config.name);
|
||||||
|
|
||||||
let mut new_points = Vec::new();
|
let mut new_points = Vec::new();
|
||||||
for point in points.into_iter() {
|
for point in points.into_iter() {
|
||||||
|
|
|
@ -81,6 +81,7 @@ const LASER_H: Mat3 = python_cv_h_into_mat3(TMP_PYTHON_LASER_H);
|
||||||
|
|
||||||
impl Default for DacConfig{
|
impl Default for DacConfig{
|
||||||
fn default() -> 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 }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue