gepetto.corbaserver.exporttoblender Namespace Reference

Functions

def exportState (viewer, group, outData)
 Script for exporting a motion computed with gepetto viewer to blender. More...
 
def writeDataToFile (group, outData, filename)
 Export object position for a given robot configuration. More...
 

Function Documentation

◆ exportState()

def gepetto.corbaserver.exporttoblender.exportState (   viewer,
  group,
  outData 
)

Script for exporting a motion computed with gepetto viewer to blender.

Export object position for a given robot configuration

Parameters
viewergepetto viewer instance
groupobject group considered,
configurationcurrent robot configuration
outDataarray containing each object position, indexed first by object then by frame

◆ writeDataToFile()

def gepetto.corbaserver.exporttoblender.writeDataToFile (   group,
  outData,
  filename 
)

Export object position for a given robot configuration.

Parameters
outDatadata computed by the exportState calls
filenamename of the output file where to save the output