Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem Class Reference
Inheritance diagram for com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem:
Inheritance graph
[legend]

Public Member Functions

void connectedCallback (boolean b)
 
boolean create ()
 
void delete ()
 
String[] getAlgorithms ()
 
String[] getMobilityNames ()
 
String[] getOptimizerNames ()
 
double[][] getPath ()
 
PathPlanner getPlanner ()
 
RoadmapNode[] getRoadmap ()
 
 GrxPathPlanningAlgorithmItem (String name, GrxPluginManager manager)
 
void optimize ()
 経路を最適化する More...
 
boolean propertyChanged (String key, String value)
 
void propertyUpdate ()
 移動動作設計コンポーネントから現在選択している経路計画アルゴリズムに対するプロパティを取得し、選択しているアイテムに設定する More...
 
void setEndPoint ()
 
void setStartPoint ()
 
void startCalc ()
 
- Public Member Functions inherited from com.generalrobotix.ui.GrxBaseItem
File chooseSaveFile ()
 
GrxBaseItem clone ()
 Override clone method. More...
 
boolean create ()
 
void delete ()
 delete this item More...
 
File getDefaultDir ()
 get default directory More...
 
String getFileExtention ()
 get file extension More...
 
Object getValue ()
 
boolean load (File file)
 
void paste (String clipVal)
 paste object More...
 
void setValue (Object o)
 
- Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
void addObserver (GrxObserver v)
 
GrxBasePlugin clone ()
 Override clone method. More...
 
void deleteObserver (GrxObserver v)
 
boolean equals (Object obj)
 check whether obj equals to this More...
 
Element getElement ()
 get element More...
 
Image getIcon ()
 get icon More...
 
Vector< Action > getMenu ()
 get menu More...
 
String[] getMenuPath ()
 get menu path More...
 
final String getName ()
 get name More...
 
ArrayList< GrxObservergetObserver ()
 
String getOldName ()
 
Vector< MenuManager > getSubMenu ()
 get subMenu More...
 
String getURL (boolean expand)
 
ValueEditType GetValueEditType (String key)
 Return editing type of the key item. More...
 
boolean isExclusive ()
 check whether this is exclusive or not More...
 
boolean isSelected ()
 check whether this is selected or not More...
 
void notifyObservers (Object...arg)
 
boolean propertyChanged (String property, String value)
 check validity of new value of property and update if valid More...
 
boolean registerCORBA ()
 
void rename (String newName)
 rename this item More...
 
void restoreProperties ()
 restore properties. Called by menu item "restore Properties" More...
 
void setDocument (Document doc)
 set document More...
 
void setElement (Element element)
 set element More...
 
void setExclusive (boolean b)
 set exclusive flag More...
 
void setFocused (boolean b)
 set/unset focus on this plugin More...
 
void setMenuItem (Action a)
 add a menu item More...
 
void setName (String name)
 set name More...
 
Object setProperty (String key, String value)
 set property value associated with a keyword More...
 
void setSelected (boolean b)
 set selected flag More...
 
void setSubMenu (MenuManager m)
 add a submenu More...
 
void setURL (String url)
 set URL property More...
 
void shutdown ()
 
Element storeProperties ()
 store properties More...
 
final String toString ()
 convert to String. Currently, name is returned. More...
 
void unregisterCORBA ()
 
- Public Member Functions inherited from com.generalrobotix.ui.util.GrxConfigBundle
final Double getDbl (String key, Double defaultVal)
 get double value associated to key More...
 
Double getDbl (String value)
 
final double[] getDblAry (String key, double[] defaultVal)
 get double array associated to key More...
 
double[] getDblAry (String value)
 get array of double from String More...
 
final Float getFlt (String key, Float defaultVal)
 get float value associated to key More...
 
final Float getFlt (String value)
 
final float[] getFltAry (String key, float[] defaultVal)
 get float array associated to key More...
 
float[] getFltAry (String value)
 
final Integer getInt (String key, Integer defaultVal)
 get integer value associated to key More...
 
final int[] getIntAry (String key)
 get integer array associated to key More...
 
final Short getShort (String key, Short defaultVal)
 get short value associated to key More...
 
Short getShort (String value)
 
final String getStr (String key)
 get value associated to keyword More...
 
final String getStr (String key, String defaultVal)
 get value associated to key More...
 
 GrxConfigBundle ()
 constructor More...
 
 GrxConfigBundle (String fname) throws IOException
 construct from a file More...
 
final boolean isFalse (String key)
 check whether value associated to key includes a word "false" More...
 
final boolean isFalse (String key, boolean defaultVal)
 check whether value associated to key includes a word "false" More...
 
final boolean isTrue (String key)
 check whether value associated to key includes a word "true" More...
 
final boolean isTrue (String key, boolean defaultVal)
 check whether value associated to key includes a word "true" More...
 
void load (String fname) throws IOException
 load config from a file More...
 
final void setBool (String key, boolean value)
 
final void setDbl (String key, double value)
 associate double value to key More...
 
final void setDbl (String key, double value, int digits)
 associate double value to key More...
 
final void setDblAry (String key, double[] value, int digits)
 associate double array to key More...
 
final void setDblAry (String key, double[] value)
 associate double array to key More...
 
final void setFlt (String key, float value)
 associate float value to key More...
 
final void setFltAry (String key, float[] value)
 associate float array to key More...
 
final void setInt (String key, int value)
 associate int value to key More...
 
final void setShort (String key, short value)
 associate short value to key More...
 
void store (String fname, String comments) throws IOException
 store this config More...
 

Static Public Attributes

static final String FILE_EXTENSION = "ppa"
 
static final String TITLE = "PPAlgorithm"
 

Private Member Functions

PathConsumerComp _pathConsumer ()
 
boolean _setGoalPosition ()
 set goal position of planning to planner More...
 
boolean _setStartPosition ()
 set start position of planning to planner More...
 
void calc ()
 
void displayPath ()
 
void execPathPlannerConsumer ()
 経路計画コンポーネントのコンシューマを立ち上げ More...
 
String[][] getAlgoProperty ()
 
String getConfigFilePath ()
 
String getRobotBaseLink (String name)
 
String getRobotBaseLink (GrxModelItem model)
 
boolean initPathPlanner ()
 

Private Attributes

boolean calcSucceed =false
 
boolean connectChange_ = false
 
PathPlanner planner_ = null
 

Static Private Attributes

static PathConsumerComp ppcomp_ = null
 

Additional Inherited Members

- Static Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
static Object getField (Class<?extends GrxBasePlugin > cls, String field, Object defaultValue)
 get field More...
 
- Protected Member Functions inherited from com.generalrobotix.ui.GrxBaseItem
 GrxBaseItem (String name, GrxPluginManager manager)
 constructor More...
 
void setDefaultDirectory (String dir)
 
void setFileExtension (String ext)
 
- Protected Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
 GrxBasePlugin (String name, GrxPluginManager manager)
 constructor More...
 
void setIcon (String iconName)
 set icon More...
 
void setMenuPath (String[] path)
 set menu path More...
 
boolean syncExec (Runnable r)
 Transfer SWT UI thread. More...
 
- Protected Attributes inherited from com.generalrobotix.ui.GrxBaseItem
String clipValue_ = ""
 
File file_
 
- Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin
Document doc_
 
Element element_
 
GrxPluginManager manager_
 
- Static Protected Attributes inherited from com.generalrobotix.ui.GrxBaseItem
static final String[] jointTypeComboItem_ = new String[] { "fixed", "rotate", "free", "slide" }
 
static final String[] methodComboItem_ = new String[] { "EULER", "RUNGE_KUTTA" }
 
static final String[] modeComboItem_ = new String[] { "Torque", "HighGain" }
 
- Static Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin
static final String[] booleanComboItem_ = new String[] {"true", "false" }
 
static final String INDENT4 = " "
 
static final String ITEM_TAG = "item"
 
static final String PROPERTY_TAG = "property"
 
static final String VIEW_TAG = "view"
 

Detailed Description

Definition at line 48 of file GrxPathPlanningAlgorithmItem.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.GrxPathPlanningAlgorithmItem ( String  name,
GrxPluginManager  manager 
)
inline

Definition at line 58 of file GrxPathPlanningAlgorithmItem.java.

Member Function Documentation

PathConsumerComp com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem._pathConsumer ( )
inlineprivate

Definition at line 114 of file GrxPathPlanningAlgorithmItem.java.

boolean com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem._setGoalPosition ( )
inlineprivate

set goal position of planning to planner

Returns
true if set successfully, false otherwise

Definition at line 355 of file GrxPathPlanningAlgorithmItem.java.

boolean com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem._setStartPosition ( )
inlineprivate

set start position of planning to planner

Returns
true if set successfully, false otherwise

Definition at line 332 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.calc ( )
inlineprivate

Definition at line 430 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.connectedCallback ( boolean  b)
inline

Definition at line 597 of file GrxPathPlanningAlgorithmItem.java.

boolean com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.create ( )
inline

Definition at line 87 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.delete ( )
inline

Definition at line 92 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.displayPath ( )
inlineprivate

Definition at line 493 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.execPathPlannerConsumer ( )
inlineprivate

経路計画コンポーネントのコンシューマを立ち上げ

Definition at line 124 of file GrxPathPlanningAlgorithmItem.java.

String [][] com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getAlgoProperty ( )
inlineprivate

Definition at line 278 of file GrxPathPlanningAlgorithmItem.java.

String [] com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getAlgorithms ( )
inline

Definition at line 556 of file GrxPathPlanningAlgorithmItem.java.

String com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getConfigFilePath ( )
inlineprivate

コンフィグファイルの探索

Returns
コンフィグファイルのパス

Definition at line 156 of file GrxPathPlanningAlgorithmItem.java.

String [] com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getMobilityNames ( )
inline

Definition at line 565 of file GrxPathPlanningAlgorithmItem.java.

String [] com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getOptimizerNames ( )
inline

Definition at line 573 of file GrxPathPlanningAlgorithmItem.java.

double [][] com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getPath ( )
inline

Definition at line 589 of file GrxPathPlanningAlgorithmItem.java.

PathPlanner com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getPlanner ( )
inline

Definition at line 110 of file GrxPathPlanningAlgorithmItem.java.

RoadmapNode [] com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getRoadmap ( )
inline

Definition at line 581 of file GrxPathPlanningAlgorithmItem.java.

String com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getRobotBaseLink ( String  name)
inlineprivate

Definition at line 319 of file GrxPathPlanningAlgorithmItem.java.

String com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.getRobotBaseLink ( GrxModelItem  model)
inlineprivate

Definition at line 324 of file GrxPathPlanningAlgorithmItem.java.

boolean com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.initPathPlanner ( )
inlineprivate

経路計画コンポーネントにデータを渡す

Returns
初期化の成否

Definition at line 198 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.optimize ( )
inline

経路を最適化する

Definition at line 476 of file GrxPathPlanningAlgorithmItem.java.

boolean com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.propertyChanged ( String  key,
String  value 
)
inline

Definition at line 100 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.propertyUpdate ( )
inline

移動動作設計コンポーネントから現在選択している経路計画アルゴリズムに対するプロパティを取得し、選択しているアイテムに設定する

Definition at line 176 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.setEndPoint ( )
inline

Definition at line 392 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.setStartPoint ( )
inline

Definition at line 373 of file GrxPathPlanningAlgorithmItem.java.

void com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.startCalc ( )
inline

Definition at line 409 of file GrxPathPlanningAlgorithmItem.java.

Member Data Documentation

boolean com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.calcSucceed =false
private

Definition at line 429 of file GrxPathPlanningAlgorithmItem.java.

boolean com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.connectChange_ = false
private

Definition at line 56 of file GrxPathPlanningAlgorithmItem.java.

final String com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.FILE_EXTENSION = "ppa"
static

Definition at line 51 of file GrxPathPlanningAlgorithmItem.java.

PathPlanner com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.planner_ = null
private

Definition at line 54 of file GrxPathPlanningAlgorithmItem.java.

PathConsumerComp com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.ppcomp_ = null
staticprivate

Definition at line 55 of file GrxPathPlanningAlgorithmItem.java.

final String com.generalrobotix.ui.item.GrxPathPlanningAlgorithmItem.TITLE = "PPAlgorithm"
static

Definition at line 50 of file GrxPathPlanningAlgorithmItem.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:43