-
Notifications
You must be signed in to change notification settings - Fork 16
/
hand_remote.hh
40 lines (31 loc) · 872 Bytes
/
hand_remote.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*!
\file examples/hand_remote.hh
\brief Control manipulator example
Use keyboard to control robotic manipulator spawned in simulation.
\author João Borrego : jsbruglie
*/
#ifndef _HAND_REMOTE_HH
#define _HAND_REMOTE_HH
// Gazebo
#include <gazebo/gazebo_client.hh>
#include <gazebo/gazebo_config.h>
#include <gazebo/transport/transport.hh>
#include <gazebo/msgs/msgs.hh>
// Interface
#include "Interface.hh"
// Functions
/// \brief Returns usage string.
/// \param argv_0 Executable name
/// \return Usage string.
const std::string getUsage(const char* argv_0);
/// \brief Parses command-line arguments
/// \param argc Argument count
/// \param argv Argument values
/// \param cfg_dir Robot configuration file
/// \param robot Robot name
void parseArgs(
int argc,
char** argv,
std::string & cfg_dir,
std::string & robot);
#endif