diff --git a/conf/HB/hb_conf_speedy_opticflow.xml b/conf/HB/hb_conf_speedy_opticflow.xml new file mode 100644 index 0000000000..a5fc50e9fc --- /dev/null +++ b/conf/HB/hb_conf_speedy_opticflow.xml @@ -0,0 +1,13 @@ + + + diff --git a/conf/HB/hb_control_panel_speedy_opticflow.xml b/conf/HB/hb_control_panel_speedy_opticflow.xml new file mode 100644 index 0000000000..c3150d8b66 --- /dev/null +++ b/conf/HB/hb_control_panel_speedy_opticflow.xml @@ -0,0 +1,248 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
diff --git a/conf/airframes/HB/hb_ardrone2_opticflowtest.xml b/conf/airframes/HB/hb_ardrone2_opticflowtest.xml new file mode 100644 index 0000000000..15beb8e8ce --- /dev/null +++ b/conf/airframes/HB/hb_ardrone2_opticflowtest.xml @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + +
+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ + + + + + + +
+ +
+ + + +
+ +
+ + + + +
+ +
+ + + + + +
+
diff --git a/sw/airborne/modules/computer_vision/opticflow/opticflow_calculator.c b/sw/airborne/modules/computer_vision/opticflow/opticflow_calculator.c index 3055f63801..3fb402b43a 100644 --- a/sw/airborne/modules/computer_vision/opticflow/opticflow_calculator.c +++ b/sw/airborne/modules/computer_vision/opticflow/opticflow_calculator.c @@ -297,8 +297,8 @@ void calc_fast9_lukas_kanade(struct opticflow_t *opticflow, struct opticflow_sta } // Flow Derotation - float diff_flow_x = 0; - float diff_flow_y = 0; + //float diff_flow_x = 0; + //float diff_flow_y = 0; // Flow Derotation TODO: float diff_flow_x = (state->phi - opticflow->prev_phi) * img->w / OPTICFLOW_FOV_W;