PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Test for audio tones. More...
#include <stdlib.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_tone_alarm.h>
#include <lib/tunes/tunes.h>
#include <px4_platform_common/posix.h>
#include <uORB/topics/tune_control.h>
#include "tests_main.h"
Go to the source code of this file.
Functions | |
int | test_tone (int argc, char *argv[]) |
Test for audio tones.
Definition in file test_tone.cpp.
int test_tone | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 49 of file test_tone.cpp.
References orb_advert_t, orb_advertise_queue(), ORB_ID, orb_publish(), orb_unadvertise(), Tunes::set_string(), tune_control, tune_control_pub, tune_control_s::tune_id, and tune_control_s::volume.