libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
HRICS_costspace.hpp
1 /*
2  * HRI_costspace.hoo
3  * BioMove3D
4  *
5  * Created by Jim Mainprice on 27/04/10.
6  * Copyright 2010 LAAS/CNRS. All rights reserved.
7  *
8  */
9 #ifndef HRI_COSTSPACE_HPP
10 #define HRI_COSTSPACE_HPP
11 
12 #include "planner/cost_space.hpp"
13 
14 #include "API/ConfigSpace/configuration.hpp"
15 
16 #include <libmove3d/hri/hri.h>
17 
18 // Main cost function
19 extern double HRICS_getConfigCost(Configuration& Conf);
20 extern double HRICS_getPlanarHumanGridCost(Configuration& q);
21 extern void HRICS_init(HRI_AGENTS* agents = NULL);
22 
23 // Human kinematics
24 const int HRICS_HUMANj_BODY= 2;
25 const int HRICS_HUMANj_NECK_PAN= 5;
26 const int HRICS_HUMANj_NECK_TILT= 6;
27 const int HRICS_HUMANj_RHAND= 29; /* or 30 or 31 */
28 const int HRICS_HUMANj_LHAND= 26; /* or 27 or 28 */
29 
30 #include "HRICS_Distance.hpp"
31 #include "HRICS_Visibility.hpp"
32 #include "HRICS_Natural.hpp"
33 #include "HRICS_Workspace.hpp"
34 #include "HRICS_ConfigSpace.hpp"
35 #include "HRICS_otpmotionpl.hpp"
36 #include "HRICS_MultiHandOver.h"
37 #include "HRICS_humanCostSpace.hpp"
38 #include "CostFunctions/HRICS_distance2d.h"
39 #include "CostFunctions/HRICS_CF.h"
40 #include "HRICS_Navigation.hpp"
41 #include "HRICS_CostManager.h"
42 
43 #ifdef HRI_PLANNER
44 #include "HRICS_HAMP.hpp"
45 extern HRICS::HriSpaceCost* hriSpace;
46 #endif
47 
48 // Elementary cost maps
49 const int HRICS_Distance = 0;
50 const int HRICS_Visibility = 1;
51 const int HRICS_Naturality = 2;
52 const int HRICS_Reachability = 3;
53 const int HRICS_Combine = 4;
54 
59 extern HRICS::Distance* HRICS_activeDist;
60 extern HRICS::Visibility* HRICS_activeVisi;
61 extern HRICS::Natural* HRICS_activeNatu;
62 extern HRICS::Natural* HRICS_activeReac;
63 
64 extern HRICS::HumanCostSpace* HRICS_humanCostMaps;
65 extern HRICS::CF::CostFunctionCommon* HRICS_CostFunctionCommon;
66 
70 extern HRICS::HumanAwareMotionPlanner* HRICS_MotionPL;
71 extern HRICS::HumanAwareMotionPlanner* HRICS_MotionPLConfig;
72 
76 extern API::ThreeDCell* BiasedCell3D;
77 extern API::TwoDCell* BiasedCell2D;
78 
79 #endif
80 
Definition: HRICS_costfunction.h:15
Definition: HRICS_humanCostSpace.hpp:22
Natural Motion and Arm Confort.
Definition: HRICS_Natural.hpp:33
Definition: TwoDCell.hpp:19
Definition: ThreeDCell.hpp:25
Definition: HRICS_Visibility.hpp:18
Definition: HRICS_Distance.hpp:20
Definition: HRICS_HAMP.hpp:21
Classe représentant une Configuration d'un Robot.
Definition: configuration.hpp:25
Base class for the HRICS motion planners.
Definition: HRICS_Workspace.hpp:37