2015/08/14

Dependencies:   VNH5019

Dependents:   Cansat_program4_1

Fork of cansat by Mami Yokokawa

Revision:
6:601cac49d4b1
Parent:
5:534a54a44b22
Child:
7:b24799407d03
--- a/cansat.cpp	Mon Aug 10 10:01:15 2015 +0000
+++ b/cansat.cpp	Mon Aug 10 18:22:25 2015 +0000
@@ -141,4 +141,8 @@
 }
 void CanSat::set_target_angle(int new_target_angle){
     CanSat::target_angle = new_target_angle;
-}
\ No newline at end of file
+}
+void CanSat::set_target(double x, double y){
+    CanSat::target_x = x;
+    CanSat::target_y = y;
+}