hpp-gepetto-viewer  4.13.0
Display of hpp robots and obstacles in gepetto-viewer
gepetto.blender.exportmotion Namespace Reference

Functions

def exportState (viewer, robot, configuration, outData)
 
def writeDataToFile (robot, outData, filename)
 
def exportStates (viewer, robot, configurations, filename)
 
def exportPath (viewer, robot, problem, pathId, stepsize, filename)
 

Function Documentation

◆ exportPath()

def gepetto.blender.exportmotion.exportPath (   viewer,
  robot,
  problem,
  pathId,
  stepsize,
  filename 
)
Export object positions for a path

\\param robot the considered robot,
\\param problem the problem associated with the path computed for the robot
\\param stepsize increment along the path
\\param pathId if of the considered path
\\param filename name of the output file where to save the output

◆ exportState()

def gepetto.blender.exportmotion.exportState (   viewer,
  robot,
  configuration,
  outData 
)
Export object position for a given robot configuration

\\param robot the considered robot,
\\param configuration current robot configuration
\\param outData array containing each object position,
        indexed first by object then by frame

◆ exportStates()

def gepetto.blender.exportmotion.exportStates (   viewer,
  robot,
  configurations,
  filename 
)
Export object positions for a list of robot configurations

\\param robot the considered robot,
\\param configurations list of configurations to consider
\\param filename name of the output file where to save the output

◆ writeDataToFile()

def gepetto.blender.exportmotion.writeDataToFile (   robot,
  outData,
  filename 
)
Export object position for a given robot configuration

\\param outData data computed by the exportState calls
\\param filename name of the output file where to save the output