#include <iostream>
#include <sstream>
#include <string>
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "sound_play/SoundRequest.h"
#include <ctype.h>
#include <stdio.h>
#include <curl/curl.h>
#include <jansson.h>
#include <time.h>
Go to the source code of this file.
Functions | |
void | createFilename () |
int | main (int argc, char **argv) |
void | stringCallback (const std_msgs::String msg) |
Variables | |
string | audioPath |
CURL * | curl |
char | filename [51] |
string | jsonPath |
string | language |
bool | mplayer |
CURLcode | res |
json_t * | root |
ros::Publisher | soundPub |
void createFilename | ( | ) |
Definition at line 232 of file speech_database.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 62 of file speech_database.cpp.
void stringCallback | ( | const std_msgs::String | msg | ) |
Definition at line 135 of file speech_database.cpp.
string audioPath |
Definition at line 50 of file speech_database.cpp.
CURL* curl |
Definition at line 58 of file speech_database.cpp.
char filename[51] |
Definition at line 60 of file speech_database.cpp.
string jsonPath |
Definition at line 51 of file speech_database.cpp.
string language |
Definition at line 52 of file speech_database.cpp.
bool mplayer |
Definition at line 53 of file speech_database.cpp.
CURLcode res |
Definition at line 59 of file speech_database.cpp.
json_t* root |
Definition at line 55 of file speech_database.cpp.
Definition at line 47 of file speech_database.cpp.