#include <ardrone_autonomy/ardrone_sdk.h>
#include <ardrone_autonomy/video.h>
#include <ardrone_autonomy/teleop_twist.h>
#include <stdint.h>
#include "ardrone_autonomy/snippet_ros_to_ardrone_config.h"
Go to the source code of this file.
Functions | |
bool_t | ardrone_tool_exit () |
C_RESULT | ardrone_tool_init_custom (void) |
C_RESULT | ardrone_tool_shutdown_custom () |
DEFINE_THREAD_ROUTINE (update_ros, data) | |
C_RESULT | navdata_custom_init (void *data) |
C_RESULT | navdata_custom_process (const navdata_unpacked_t *const pnd) |
C_RESULT | navdata_custom_release () |
Variables | |
int32_t | current_navdata_id = 0 |
int32_t | looprate |
vp_os_mutex_t | navdata_lock |
bool | realtime_navdata |
bool | realtime_video |
ARDroneDriver * | ros_driver |
ros::Time | shared_navdata_receive_time |
const navdata_unpacked_t * | shared_raw_navdata_ptr |
int32_t | should_exit |
vp_os_mutex_t | twist_lock |
vp_os_mutex_t | video_lock |
vp_stages_latency_estimation_config_t | vlat |
Software License Agreement (BSD)
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Autonomy Lab nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file ardrone_sdk.cpp.
bool_t ardrone_tool_exit | ( | ) |
Definition at line 225 of file ardrone_sdk.cpp.
C_RESULT ardrone_tool_init_custom | ( | void | ) |
Definition at line 59 of file ardrone_sdk.cpp.
C_RESULT ardrone_tool_shutdown_custom | ( | ) |
Definition at line 184 of file ardrone_sdk.cpp.
DEFINE_THREAD_ROUTINE | ( | update_ros | , |
data | |||
) |
Definition at line 51 of file ardrone_sdk.cpp.
C_RESULT navdata_custom_init | ( | void * | data | ) |
Definition at line 194 of file ardrone_sdk.cpp.
C_RESULT navdata_custom_process | ( | const navdata_unpacked_t *const | pnd | ) |
Definition at line 200 of file ardrone_sdk.cpp.
C_RESULT navdata_custom_release | ( | ) |
Definition at line 220 of file ardrone_sdk.cpp.
int32_t current_navdata_id = 0 |
Definition at line 37 of file ardrone_sdk.cpp.
int32_t looprate |
Definition at line 41 of file ardrone_sdk.cpp.
vp_os_mutex_t navdata_lock |
Definition at line 33 of file ardrone_sdk.cpp.
bool realtime_navdata |
Definition at line 42 of file ardrone_sdk.cpp.
bool realtime_video |
Definition at line 43 of file ardrone_sdk.cpp.
Definition at line 39 of file ardrone_sdk.cpp.
Definition at line 31 of file ardrone_sdk.cpp.
const navdata_unpacked_t* shared_raw_navdata_ptr |
Definition at line 30 of file ardrone_sdk.cpp.
int32_t should_exit |
Definition at line 45 of file ardrone_sdk.cpp.
vp_os_mutex_t twist_lock |
Definition at line 35 of file ardrone_sdk.cpp.
vp_os_mutex_t video_lock |
Definition at line 34 of file ardrone_sdk.cpp.
vp_stages_latency_estimation_config_t vlat |
Definition at line 49 of file ardrone_sdk.cpp.