diff options
author | Julian Oes <julian@oes.ch> | 2013-12-26 15:16:32 +0100 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-12-26 15:16:32 +0100 |
commit | 5c85fa2c5f4bf1b9d8fe12043f56ebc7dbe53d13 (patch) | |
tree | 0f6ad838e10a3c68cbbef3c16d8ede5a1d5e74fc | |
parent | b10fa3d0476ce6af977fe7e54bc361c44c27e9c4 (diff) | |
download | px4-firmware-5c85fa2c5f4bf1b9d8fe12043f56ebc7dbe53d13.tar.gz px4-firmware-5c85fa2c5f4bf1b9d8fe12043f56ebc7dbe53d13.tar.bz2 px4-firmware-5c85fa2c5f4bf1b9d8fe12043f56ebc7dbe53d13.zip |
Missionlib: deactivate functions now implemented in navigator
-rw-r--r-- | src/modules/mavlink/missionlib.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/mavlink/missionlib.c b/src/modules/mavlink/missionlib.c index 5845429db..318dcf08c 100644 --- a/src/modules/mavlink/missionlib.c +++ b/src/modules/mavlink/missionlib.c @@ -73,11 +73,15 @@ #include "waypoints.h" #include "mavlink_parameters.h" + + static uint8_t missionlib_msg_buf[MAVLINK_MAX_PACKET_LEN]; static uint64_t loiter_start_time; +#if 0 static bool set_special_fields(float param1, float param2, float param3, float param4, uint16_t command, struct vehicle_global_position_setpoint_s *sp); +#endif int mavlink_missionlib_send_message(mavlink_message_t *msg) @@ -88,6 +92,8 @@ mavlink_missionlib_send_message(mavlink_message_t *msg) return 0; } + + int mavlink_missionlib_send_gcs_string(const char *string) { @@ -127,6 +133,7 @@ uint64_t mavlink_missionlib_get_system_timestamp() return hrt_absolute_time(); } +#if 0 /** * Set special vehicle setpoint fields based on current mission item. * @@ -388,3 +395,5 @@ void mavlink_missionlib_current_waypoint_changed(uint16_t index, float param1, printf("%s\n", buf); //printf("[mavlink mp] new setpoint\n");//: frame: %d, lat: %d, lon: %d, alt: %d, yaw: %d\n", frame, param5_lat_x*1000, param6_lon_y*1000, param7_alt_z*1000, param4*1000); } + +#endif
\ No newline at end of file |