minor update on paper

This commit is contained in:
Brian Delhaisse
2019-06-14 21:42:48 +02:00
parent 44058291a9
commit aa5009f6d1
6 changed files with 11 additions and 2 deletions
+3 -2
View File
@@ -9,7 +9,7 @@ Reference:
# TODO: end the implementation
# import PyRoboLearn
import os
import pyrobolearn as prl
__author__ = "Brian Delhaisse"
@@ -54,7 +54,8 @@ class Openai2018LearningEnv(prl.envs.Env):
robot.print_info()
# load cube in hand
cube = world.load_mesh('../meshes/cube.obj', position=[0.1, 0, 0.57], scale=(.05, .05, .05), flags=0)
cube = world.load_mesh(os.path.dirname(__file__) + '/meshes/cube.obj', position=[0.1, 0, 0.57],
scale=(.05, .05, .05), flags=0)
cube = prl.robots.Body(simulator, body_id=cube)
# create state: fingertip positions (5*3D), object position (3D), object orientation (4D=quaternion),
+8
View File
@@ -0,0 +1,8 @@
Copyright 2019, Melissa Britelle
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB