2015/08/11
Dependents: Cansat_program3 Cansat_program4
Fork of CanSat_aoki by
Diff: cansat.h
- Revision:
- 4:8713fff9e20d
- Parent:
- 2:0f76226be922
- Child:
- 5:534a54a44b22
--- a/cansat.h Thu Jul 23 09:16:21 2015 +0000 +++ b/cansat.h Thu Aug 06 17:06:08 2015 +0000 @@ -36,6 +36,17 @@ double get_robot_y(); double get_robotKalman_x(); double get_robotKalman_y(); + double get_compass_z(); + double get_target_distance(); + double get_target_x(); + double get_target_y(); + + int get_speed(); + int get_robot_angle(); + int get_target_angle(); + + double get_temperature(); + double get_humidity(); //set関数 void set_robot_x(double); @@ -49,6 +60,11 @@ void set_temperature(double t); void set_humidity(double h); void set_acceleration(double x, double y, double z); + + void set_target_distance(double distance); + void set_speed(int new_speed); + void set_robot_angle(int robot_angle); + void set_target_angle(int target_angle); private: //モータ @@ -75,4 +91,4 @@ int target_distance; }; -#endif \ No newline at end of file +#endif