Commit b3129bc4 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

add talos nodes in exportBlender scripts

parent c913215e
nodes = ["hyq","sphere_CoM"]
nodes = ["hyq","Vec_Acceleration","Vec_Velocity"]
r.client.gui.setCaptureTransform("/local/dev_hpp/screenBlender/iros2018/yaml/hyq_side_contact_plan.yaml",nodes)
nodes = ["hyq"]
r.client.gui.setCaptureTransform("/local/dev_hpp/screenBlender/iros2018/yaml/hyq_side_poly.yaml",nodes)
r(q_init)
r.client.gui.captureTransformOnRefresh(True)
player.displayContactPlan(1)
......@@ -34,7 +35,7 @@ r.client.gui.captureTransformOnRefresh(False)
nodes = ["hrp2_14",'s']
nodes = ["hrp2_14"]
r.client.gui.setCaptureTransform("/local/dev_hpp/screenBlender/iros2018/yaml/platform_contactSequence.yaml",nodes)
r.client.gui.setCaptureTransform("/local/dev_hpp/screenBlender/iros2018/yaml/darpa_contactSequence.yaml",nodes)
r(q_init)
r.client.gui.captureTransform()
r.client.gui.captureTransformOnRefresh(True)
......@@ -44,13 +45,20 @@ r.client.gui.captureTransformOnRefresh(False)
nodes = ['world/pinocchio']
gui.setCaptureTransform("/local/dev_hpp/screenBlender/iros2018/yaml/platform_wholeBody.yaml",nodes)
gui.setCaptureTransform("/local/dev_hpp/screenBlender/iros2018/yaml/darpa_wholeBody.yaml",nodes)
#gui.captureTransform()
gui.captureTransformOnRefresh(True)
gui.captureTransformOnRefresh(False)
nodes = ['talos']
r.client.gui.setCaptureTransform("/local/dev_hpp/screenBlender/talos/yaml/half_sitting0.yaml",nodes)
#r.client.gui.captureTransform()
r.client.gui.captureTransformOnRefresh(True)
r.client.gui.captureTransformOnRefresh(False)
r.client.gui.writeBlenderScript("/local/dev_hpp/screenBlender/talos/models/pyrene.py", ['talos'])
nodes = ["hrp2_14","Vec_Acceleration","Vec_Velocity"]
r.client.gui.setCaptureTransform("/local/dev_hpp/screenBlender/iros2017/yaml/slope_interp_3.yaml",nodes)
......
......@@ -73,7 +73,7 @@ tp.r.stopCapture ()
"""
## avconv (bash) commands
avconv -i capture_1_%d.png -r 25 -vcodec mpeg4 -filter:v "setpts=2.*PTS" -qscale 1 -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -y wholeBody_stairs.mp4
avconv -i capture_0_%d.png -r 25 -vcodec mpeg4 -filter:v "setpts=2.*PTS" -qscale 1 -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -y hrp2_darpa_cs.mp4
avconv -i capture_0_%d.png -r 30 -vcodec mpeg4 -qscale 1 -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 2 hyq_darpa.mp4
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment