hpp-manipulation-corba
4.9.0
Corba server for manipulation planning
|
import"/home/florent/devel/release/src/hpp-manipulation-corba/idl/hpp/corbaserver/manipulation/graph.idl";
Public Member Functions | |
long | createGraph (in string graphName) raises (Error) |
void | deleteGraph (in string graphName) raises (Error) |
void | selectGraph (in string graphName) raises (Error) |
void | createSubGraph (in string subgraphName) raises (Error) |
Create a subgraph of the constraint graph for one particular end-effector. More... | |
void | setTargetNodeList (in ID graphId, in IDseq nodes) raises (Error) |
long | createNode (in long graphId, in string nodeName, in boolean waypoint, in long priority) raises (Error) |
long | createEdge (in long nodeFromId, in long nodeToId, in string edgeName, in long weight, in long isInNodeId) raises (Error) |
void | setContainingNode (in ID edgeId, in ID nodeId) raises (Error) |
string | getContainingNode (in ID edgeId) raises (Error) |
long | createWaypointEdge (in long nodeFromId, in long nodeToId, in string edgeName, in long number, in long weight, in long isInNode) raises (Error) |
long | getWaypoint (in long edgeId, in long index, out ID nodeId) raises (Error) |
void | setWaypoint (in ID waypointEdgeId, in long index, in ID edgeId, in ID nodeId) raises (Error) |
void | getGraph (out GraphComp graph, out GraphElements elmts) raises (Error) |
void | getEdgeStat (in ID edgeId, out Names_t reasons, out intSeq freqs) raises (Error) |
long | getFrequencyOfNodeInRoadmap (in ID nodeId, out intSeq freqPerConnectedComponent) raises (Error) |
boolean | getConfigProjectorStats (in ID elmt, out ConfigProjStat config, out ConfigProjStat path) raises (Error) |
long | createLevelSetEdge (in long nodeFromId, in long nodeToId, in string edgeName, in long weight, in ID isInNodeId) raises (Error) |
void | addLevelSetFoliation (in long edgeId, in Names_t condNC, in Names_t paramNC) raises (Error) |
void | resetConstraints (in long graphComponentId) raises (Error) |
void | setNumericalConstraints (in long graphComponentId, in Names_t constraintNames, in Names_t passiveDofsNames) raises (Error) |
void | addNumericalConstraints (in long graphComponentId, in Names_t constraintNames, in Names_t passiveDofsNames) raises (Error) |
void | getNumericalConstraints (in long graphComponentId, out Names_t constraintNames) raises (Error) |
void | setNumericalConstraintsForPath (in long nodeId, in Names_t constraintNames, in Names_t passiveDofsNames) raises (Error) |
void | addNumericalConstraintsForPath (in long nodeId, in Names_t constraintNames, in Names_t passiveDofsNames) raises (Error) |
void | removeCollisionPairFromEdge (in ID edgeId, in string joint1, in string joint2) raises (Error) |
void | getNode (in floatSeq dofArray, out ID nodeId) raises (Error) |
boolean | applyNodeConstraints (in ID idComp, in floatSeq input, out floatSeq output, out double residualError) raises (Error) |
boolean | applyEdgeLeafConstraints (in ID idedge, in floatSeq qleaf, in floatSeq input, out floatSeq output, out double residualError) raises (Error) |
boolean | generateTargetConfig (in ID IDedge, in floatSeq qleaf, in floatSeq input, out floatSeq output, out double residualError) raises (Error) |
boolean | getConfigErrorForNode (in ID nodeId, in floatSeq config, out floatSeq errorVector) raises (Error) |
boolean | getConfigErrorForEdge (in ID EdgeId, in floatSeq config, out floatSeq errorVector) raises (Error) |
boolean | getConfigErrorForEdgeLeaf (in ID EdgeId, in floatSeq leafConfig, in floatSeq config, out floatSeq errorVector) raises (Error) |
boolean | getConfigErrorForEdgeTarget (in ID EdgeId, in floatSeq leafConfig, in floatSeq config, out floatSeq errorVector) raises (Error) |
void | displayNodeConstraints (in ID nodeId, out string constraints) raises (Error) |
void | displayEdgeTargetConstraints (in ID edgeId, out string constraints) raises (Error) |
void | displayEdgeConstraints (in ID edgeId, out string constraints) raises (Error) |
void | getNodesConnectedByEdge (in ID edgeId, out string from, out string to) raises (Error) |
void | display (in string filename) raises (Error) |
void | getHistogramValue (in ID edgeId, out floatSeq freq, out floatSeqSeq values) raises (Error) |
void | setShort (in ID edgeId, in boolean isShort) raises (Error) |
boolean | isShort (in ID edgeId) raises (Error) |
long | autoBuild (in string graphName, in Names_t grippers, in Names_t objects, in Namess_t handlesPerObject, in Namess_t contactsPerObject, in Names_t envNames, in Rules rulesList) raises (Error) |
void | setWeight (in ID edgeID, in long weight) raises (Error) |
long | getWeight (in ID edgeID) raises (Error) |
string | getName (in ID elmtID) raises (Error) |
void | initialize () raises (Error) |
This must be called when the graph has been built. More... | |
void | getRelativeMotionMatrix (in ID edgeID, out intSeqSeq matrix) raises (Error) |
void | setSecurityMarginForEdge (in ID edgeID, in string joint1, in string joint2, in double margin) raises (Error) |
void hpp::corbaserver::manipulation::Graph::addLevelSetFoliation | ( | in long | edgeId, |
in Names_t | condNC, | ||
in Names_t | paramNC | ||
) | |||
raises | ( | Error | |
) |
Add the constraints to a LevelSetEdge that create the foliation.
edgeId | if of a LevelSetEdge of the graph. |
condNC | numerical constraints that define the foliated manifold |
paramNC | numerical constraints that parameterize the foliation |
void hpp::corbaserver::manipulation::Graph::addNumericalConstraints | ( | in long | graphComponentId, |
in Names_t | constraintNames, | ||
in Names_t | passiveDofsNames | ||
) | |||
raises | ( | Error | |
) |
Add the numerical constraints to a component.
graphComponentId | ID of the component. |
constraintNames | is an array of names of constraints in the ProblemSolver map. |
passiveDofsNames | array of names of vector of passive dofs in the ProblemSolver map. |
void hpp::corbaserver::manipulation::Graph::addNumericalConstraintsForPath | ( | in long | nodeId, |
in Names_t | constraintNames, | ||
in Names_t | passiveDofsNames | ||
) | |||
raises | ( | Error | |
) |
Add the numerical constraints for path to a node.
nodeId | ID of the node. |
constraintNames | is an array of names of constraints in the ProblemSolver map. |
passiveDofsNames | array of names of vector of passive dofs in the ProblemSolver map. |
boolean hpp::corbaserver::manipulation::Graph::applyEdgeLeafConstraints | ( | in ID | idedge, |
in floatSeq | qleaf, | ||
in floatSeq | input, | ||
out floatSeq | output, | ||
out double | residualError | ||
) | |||
raises | ( | Error | |
) |
Apply constraints of an edge leaf to a configuration
id | IDedge of the edge |
qleaf | Configuration defining the leaf |
input | input configuration to be projected |
output | Output configuration, |
residualError | norm of the residual error |
boolean hpp::corbaserver::manipulation::Graph::applyNodeConstraints | ( | in ID | idComp, |
in floatSeq | input, | ||
out floatSeq | output, | ||
out double | residualError | ||
) | |||
raises | ( | Error | |
) |
Apply constaints of a state to a configuration
idComp | ID of a state (node of the constraint graph) |
input | input configuration, |
output | output configuration, |
error | norm of the residual error. |
long hpp::corbaserver::manipulation::Graph::autoBuild | ( | in string | graphName, |
in Names_t | grippers, | ||
in Names_t | objects, | ||
in Namess_t | handlesPerObject, | ||
in Namess_t | contactsPerObject, | ||
in Names_t | envNames, | ||
in Rules | rulesList | ||
) | |||
raises | ( | Error | |
) |
Automatically build a constraint graph
graphName | name of the graph, |
grippers | list of gripper names, |
objects | list of object names, |
handlesPerObject | list of lists of handles, one list per object |
contactsPerObject | list of lists of contact surfaces, one list per object |
envNames | list of names of contact surfaces in the environment, |
list | of rules. |
long hpp::corbaserver::manipulation::Graph::createEdge | ( | in long | nodeFromId, |
in long | nodeToId, | ||
in string | edgeName, | ||
in long | weight, | ||
in long | isInNodeId | ||
) | |||
raises | ( | Error | |
) |
Add an edge between two nodes of the graph.
nodeFromId,nodeToId | the ID of the ends of the new edge. |
edgeName | name of the new edge. |
weight | weight of the edge. |
isInNodeId | id of the node in which paths of the edge are included. |
long hpp::corbaserver::manipulation::Graph::createGraph | ( | in string | graphName | ) | |
raises | ( | Error | |||
) |
Initialize the graph of constraints and add it to the ProblemSolver map.
long hpp::corbaserver::manipulation::Graph::createLevelSetEdge | ( | in long | nodeFromId, |
in long | nodeToId, | ||
in string | edgeName, | ||
in long | weight, | ||
in ID | isInNodeId | ||
) | |||
raises | ( | Error | |
) |
Add an edge of type LevelSetEdge between two nodes.
nodeFromId,nodeToId | the ID of the ends of the new edge. |
edgeName | name of the new edge. |
weight | weight of the edge. |
isInNodeId | id of the node in which paths of the edge are included. |
long hpp::corbaserver::manipulation::Graph::createNode | ( | in long | graphId, |
in string | nodeName, | ||
in boolean | waypoint, | ||
in long | priority | ||
) | |||
raises | ( | Error | |
) |
Add a node to the graph.
graphId | is the ID of the graph to which the node should be added. |
nodeName | the name of the new node. |
waypoint | true when the node is a waypoint |
priority | integer used to order the states. If two states have the same priority, then the order is the order of creation. |
void hpp::corbaserver::manipulation::Graph::createSubGraph | ( | in string | subgraphName | ) | |
raises | ( | Error | |||
) |
Create a subgraph of the constraint graph for one particular end-effector.
long hpp::corbaserver::manipulation::Graph::createWaypointEdge | ( | in long | nodeFromId, |
in long | nodeToId, | ||
in string | edgeName, | ||
in long | number, | ||
in long | weight, | ||
in long | isInNode | ||
) | |||
raises | ( | Error | |
) |
Add an edge with waypoint between two nodes of the graph.
nodeFromId,nodeToId | the ID of the ends of the new edge. |
edgeBaseName | basename of the new edge. |
weight | weight of the edge. |
void hpp::corbaserver::manipulation::Graph::deleteGraph | ( | in string | graphName | ) | |
raises | ( | Error | |||
) |
void hpp::corbaserver::manipulation::Graph::display | ( | in string | filename | ) | |
raises | ( | Error | |||
) |
void hpp::corbaserver::manipulation::Graph::displayEdgeConstraints | ( | in ID | edgeId, |
out string | constraints | ||
) | |||
raises | ( | Error | |
) |
Print set of constraints relative to an edge in a string
config | Configuration, |
edgeId | id of the edge. |
void hpp::corbaserver::manipulation::Graph::displayEdgeTargetConstraints | ( | in ID | edgeId, |
out string | constraints | ||
) | |||
raises | ( | Error | |
) |
Print set of constraints relative to an edge in a string
config | Configuration, |
edgeId | id of the edge. |
void hpp::corbaserver::manipulation::Graph::displayNodeConstraints | ( | in ID | nodeId, |
out string | constraints | ||
) | |||
raises | ( | Error | |
) |
Print set of constraints relative to a node in a string
config | Configuration, |
nodeId | id of the node. |
boolean hpp::corbaserver::manipulation::Graph::generateTargetConfig | ( | in ID | IDedge, |
in floatSeq | qleaf, | ||
in floatSeq | input, | ||
out floatSeq | output, | ||
out double | residualError | ||
) | |||
raises | ( | Error | |
) |
Generate configuration in target state of a transition reachable from a configuration
IDedge | ID of a transition (edge of the constraint graph) |
qleaf | configuration defining the leaf of the transition |
input | input configuration to be projected |
output | output configuration, |
residualError | norm of the residual error. |
boolean hpp::corbaserver::manipulation::Graph::getConfigErrorForEdge | ( | in ID | EdgeId, |
in floatSeq | config, | ||
out floatSeq | errorVector | ||
) | |||
raises | ( | Error | |
) |
Get error of a config with respect to an edge constraint
edgeId | id of the edge. |
config | Configuration, |
error | the error of the edge constraint for the configuration |
boolean hpp::corbaserver::manipulation::Graph::getConfigErrorForEdgeLeaf | ( | in ID | EdgeId, |
in floatSeq | leafConfig, | ||
in floatSeq | config, | ||
out floatSeq | errorVector | ||
) | |||
raises | ( | Error | |
) |
Get error of a config with respect to an edge foliation leaf
edgeId | id of the edge. |
leafConfig | Configuration that determines the foliation leaf, |
config | Configuration the error of which is computed |
error | the error |
boolean hpp::corbaserver::manipulation::Graph::getConfigErrorForEdgeTarget | ( | in ID | EdgeId, |
in floatSeq | leafConfig, | ||
in floatSeq | config, | ||
out floatSeq | errorVector | ||
) | |||
raises | ( | Error | |
) |
Get error of a config with respect to the target of an edge foliation leaf
edgeId | id of the edge. |
leafConfig | Configuration that determines the foliation leaf, |
config | Configuration the error of which is computed |
error | the error |
boolean hpp::corbaserver::manipulation::Graph::getConfigErrorForNode | ( | in ID | nodeId, |
in floatSeq | config, | ||
out floatSeq | errorVector | ||
) | |||
raises | ( | Error | |
) |
Get error of a config with respect to a node constraint
nodeId | id of the node. |
config | Configuration, |
error | the error of the node constraint for the configuration |
boolean hpp::corbaserver::manipulation::Graph::getConfigProjectorStats | ( | in ID | elmt, |
out ConfigProjStat | config, | ||
out ConfigProjStat | path | ||
) | |||
raises | ( | Error | |
) |
Get config projector statistics
output | config, path object containing the number of success and the number of times a config projector has been called. |
Get in which node an edge is.
edgeId | the ID of the edge, |
void hpp::corbaserver::manipulation::Graph::getEdgeStat | ( | in ID | edgeId, |
out Names_t | reasons, | ||
out intSeq | freqs | ||
) | |||
raises | ( | Error | |
) |
long hpp::corbaserver::manipulation::Graph::getFrequencyOfNodeInRoadmap | ( | in ID | nodeId, |
out intSeq | freqPerConnectedComponent | ||
) | |||
raises | ( | Error | |
) |
Get the number of nodes in the roadmap being in the node nodeId of the graph
void hpp::corbaserver::manipulation::Graph::getGraph | ( | out GraphComp | graph, |
out GraphElements | elmts | ||
) | |||
raises | ( | Error | |
) |
Get full graph
void hpp::corbaserver::manipulation::Graph::getHistogramValue | ( | in ID | edgeId, |
out floatSeq | freq, | ||
out floatSeqSeq | values | ||
) | |||
raises | ( | Error | |
) |
Get name of graph component
component | index in the graph |
void hpp::corbaserver::manipulation::Graph::getNode | ( | in floatSeq | dofArray, |
out ID | nodeId | ||
) | |||
raises | ( | Error | |
) |
Get the node corresponding to the state of the configuration.
dofArray | the configuration. |
void hpp::corbaserver::manipulation::Graph::getNodesConnectedByEdge | ( | in ID | edgeId, |
out string | from, | ||
out string | to | ||
) | |||
raises | ( | Error | |
) |
Get nodes connected by an edge
edgeId | id of the edge |
from | name of the node the edge starts from, |
to | name of the node the edge finishes in. |
void hpp::corbaserver::manipulation::Graph::getNumericalConstraints | ( | in long | graphComponentId, |
out Names_t | constraintNames | ||
) | |||
raises | ( | Error | |
) |
Get the list of numerical constraints applied to a component.
graphComponentId | Id of the component. |
void hpp::corbaserver::manipulation::Graph::getRelativeMotionMatrix | ( | in ID | edgeID, |
out intSeqSeq | matrix | ||
) | |||
raises | ( | Error | |
) |
Get the matrix of relative motions for an edge
edgeId | index of the edge, |
matrix | as defined in hpp::core::RelativeMotion::matrix_type. |
long hpp::corbaserver::manipulation::Graph::getWaypoint | ( | in long | edgeId, |
in long | index, | ||
out ID | nodeId | ||
) | |||
raises | ( | Error | |
) |
Get waypoint IDs of an edge.
edgeId | the ID of the edge. |
index | index of the waypoint. |
Get weight of graph component
component | index in the graph, should be an edge |
void hpp::corbaserver::manipulation::Graph::initialize | ( | ) | ||
raises | ( | Error | ||
) |
This must be called when the graph has been built.
void hpp::corbaserver::manipulation::Graph::removeCollisionPairFromEdge | ( | in ID | edgeId, |
in string | joint1, | ||
in string | joint2 | ||
) | |||
raises | ( | Error | |
) |
Remove collision pairs from an edge
edgeId | id of the edge, |
joint1,joint2,names | of the joints defining the pair. |
void hpp::corbaserver::manipulation::Graph::resetConstraints | ( | in long | graphComponentId | ) | |
raises | ( | Error | |||
) |
Reset the numerical constraints and the locked joints of a component.
graphComponentId | ID of the component. |
void hpp::corbaserver::manipulation::Graph::selectGraph | ( | in string | graphName | ) | |
raises | ( | Error | |||
) |
Select the graph of contraints from the ProblemSolver map.
void hpp::corbaserver::manipulation::Graph::setContainingNode | ( | in ID | edgeId, |
in ID | nodeId | ||
) | |||
raises | ( | Error | |
) |
Set in which node an edge is.
edgeId | the ID of the edge, |
nodeId | the ID of the node in which the edge is. |
void hpp::corbaserver::manipulation::Graph::setNumericalConstraints | ( | in long | graphComponentId, |
in Names_t | constraintNames, | ||
in Names_t | passiveDofsNames | ||
) | |||
raises | ( | Error | |
) |
void hpp::corbaserver::manipulation::Graph::setNumericalConstraintsForPath | ( | in long | nodeId, |
in Names_t | constraintNames, | ||
in Names_t | passiveDofsNames | ||
) | |||
raises | ( | Error | |
) |
void hpp::corbaserver::manipulation::Graph::setSecurityMarginForEdge | ( | in ID | edgeID, |
in string | joint1, | ||
in string | joint2, | ||
in double | margin | ||
) | |||
raises | ( | Error | |
) |
Set collision security margin for a pair of joint along an edge
edgeID | index of the edge, |
joint1,joint2 | names of joint1 and joint2 |
margin | security margin for collision tests between those joints along the edge. |
void hpp::corbaserver::manipulation::Graph::setShort | ( | in ID | edgeId, |
in boolean | isShort | ||
) | |||
raises | ( | Error | |
) |
void hpp::corbaserver::manipulation::Graph::setTargetNodeList | ( | in ID | graphId, |
in IDseq | nodes | ||
) | |||
raises | ( | Error | |
) |
void hpp::corbaserver::manipulation::Graph::setWaypoint | ( | in ID | waypointEdgeId, |
in long | index, | ||
in ID | edgeId, | ||
in ID | nodeId | ||
) | |||
raises | ( | Error | |
) |
void hpp::corbaserver::manipulation::Graph::setWeight | ( | in ID | edgeID, |
in long | weight | ||
) | |||
raises | ( | Error | |
) |
Set weight of graph component
component | index in the graph, should be an edge |