icub-client
subSystem_babbling.h
Go to the documentation of this file.
1 #ifndef SUBSYSTEM_BABBLING_H
2 #define SUBSYSTEM_BABBLING_H
3 
4 /*
5  * Copyright (C) 2014 WYSIWYD Consortium, European Commission FP7 Project ICT-612139
6  * Authors: Maxime Petit
7  * email: m.petit@imperial.ac.uk
8  * website: http://wysiwyd.upf.edu/
9  * Permission is granted to copy, distribute, and/or modify this program
10  * under the terms of the GNU General Public License, version 2 or any
11  * later version published by the Free Software Foundation.
12  *
13  * A copy of the license can be found at
14  * icub-client/license/gpl.txt
15  *
16  * This program is distributed in the hope that it will be useful, but
17  * WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
19  * Public License for more details
20  */
21 
22 #define SUBSYSTEM_BABBLING "babbling"
23 
24 #include <iostream>
26 
27 namespace icubclient{
34 {
35 protected:
36  virtual bool connect();
37 
38 public:
39 
44  SubSystem_babbling(const std::string &masterName);
45 
46  virtual void Close();
47 
54  bool babblingArm(const std::string& babblingLimb, double duration = -1.0);
55 
63  bool babbling(int jointNumber, const std::string& babblingLimb, double duration = -1.0);
64 
65 };
66 }//Namespace
67 
68 #endif // SUBSYSTEM_BABBLING_H
virtual void Close()
Clean up resources.
bool babblingArm(const std::string &babblingLimb, double duration=-1.0)
Whole arm babbling.
bool babbling(int jointNumber, const std::string &babblingLimb, double duration=-1.0)
Single joint babbling.
Abstract class to handle sub-systems of the icub-client.
Definition: subSystem.h:43
SubSystem for babbling.
SubSystem_babbling(const std::string &masterName)
Default constructor.