iCub-main
Classes | Enumerations | Functions | Variables
iCub::skinManager Namespace Reference

Classes

class  CompensationThread
 
class  Compensator
 
class  SkinDiagnosticsReadThread
 
class  skinManager
 

Enumerations

enum  SkinManagerCommand {
  calibrate,
  get_touch_thr,
  set_binarization,
  get_binarization,
  set_smooth_filter,
  get_smooth_filter,
  set_smooth_factor,
  get_smooth_factor,
  set_threshold,
  get_threshold,
  set_gain,
  get_gain,
  set_cont_gain,
  get_cont_gain,
  is_calibrating,
  get_info,
  get_pose,
  set_pose,
  get_position,
  set_position,
  get_confidence,
  get_max_neigh_dist,
  set_max_neigh_dist,
  get_skin_parts,
  enable_skin_part,
  disable_skin_part,
  is_skin_enabled,
  help,
  quit,
  SkinManagerCommandSize
}
 
enum  SkinManagerResponse {
  skin_manager_ok,
  skin_manager_error
}
 

Functions

template<class T >
std::string toString (const T &t)
 

Variables

const std::string SkinManagerCommandList []
 
const std::string SkinManagerCommandDesc []
 
static const double MAX_NEIGHBOR_DISTANCE = 0.012
 

Enumeration Type Documentation

◆ SkinManagerCommand

Enumerator
calibrate 
get_touch_thr 
set_binarization 
get_binarization 
set_smooth_filter 
get_smooth_filter 
set_smooth_factor 
get_smooth_factor 
set_threshold 
get_threshold 
set_gain 
get_gain 
set_cont_gain 
get_cont_gain 
is_calibrating 
get_info 
get_pose 
set_pose 
get_position 
set_position 
get_confidence 
get_max_neigh_dist 
set_max_neigh_dist 
get_skin_parts 
enable_skin_part 
disable_skin_part 
is_skin_enabled 
help 
quit 
SkinManagerCommandSize 

Definition at line 12 of file rpcSkinManager.h.

◆ SkinManagerResponse

Enumerator
skin_manager_ok 
skin_manager_error 

Definition at line 28 of file rpcSkinManager.h.

Function Documentation

◆ toString()

template<class T >
std::string iCub::skinManager::toString ( const T t)
inline

Definition at line 199 of file compensator.h.

Variable Documentation

◆ MAX_NEIGHBOR_DISTANCE

const double iCub::skinManager::MAX_NEIGHBOR_DISTANCE = 0.012
static

Definition at line 80 of file rpcSkinManager.h.

◆ SkinManagerCommandDesc

const std::string iCub::skinManager::SkinManagerCommandDesc[]
Initial value:
= {
"calibrate the skin, i.e. reset the baseline (for 5 sec no touch should occur)",
"get touch thresholds (i.e. 95 percentile)",
"enable or disable the binarization filter (255 touch, 0 no touch)",
"get the binarization filter state (on, off)",
"enable or disable the smooth filter",
"get the smooth filter state (on, off)",
"set the value of the smooth factor (in [0,1])",
"get the smooth factor value",
"set the safety threshold that is added to the touch thresholds (int in [0, 254])",
"get the safety threshold that is added to the touch threshold",
"set the compensation gain",
"get the compensation gain",
"set the contact compensation gain",
"get the contact compensation gain",
"tell whether the skin calibration is in progress",
"get information about the module",
"get taxel pose(s) with input params: skin part, taxel index (if taxel index is not specified return all taxel positions)",
"set taxel pose(s) with input params: skin part, taxel index, pose(s) (if taxel index is not specified set all taxel positions)",
"get taxel position(s) with input params: skin part, taxel index (if taxel index is not specified return all taxel positions)",
"set taxel position(s) with input params: skin part, taxel index, pose(s) (if taxel index is not specified set all taxel positions)",
"get taxel pose confidence with input params: skin part, taxel index",
"get the max neighbor distance",
"set the max neighbor distance",
"get the list of the skin parts",
"enable the specified skin part",
"disable the specified skin part",
"check whether the specified skin part is enabled",
"get this list",
"quit the module"}

Definition at line 49 of file rpcSkinManager.h.

◆ SkinManagerCommandList

const std::string iCub::skinManager::SkinManagerCommandList[]
Initial value:
= {
"calib", "get touch thr",
"set binarization", "get binarization",
"set smooth filter", "get smooth filter", "set smooth factor",
"get smooth factor", "set threshold", "get threshold",
"set gain", "get gain", "set contact gain",
"get contact gain", "is calibrating", "get info",
"get pose", "set pose",
"get position", "set position",
"get confidence",
"get neigh dist", "set neigh dist", "get skin",
"enable skin", "disable skin", "is skin enabled",
"help", "quit"}

Definition at line 34 of file rpcSkinManager.h.