RcsPySim
A robot control and simulation library
__init__.py
Go to the documentation of this file.
1 # Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and
2 # Technical University of Darmstadt.
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met:
7 # 1. Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the
11 # documentation and/or other materials provided with the distribution.
12 # 3. Neither the name of Fabio Muratore, Honda Research Institute Europe GmbH,
13 # or Technical University of Darmstadt, nor the names of its contributors may
14 # be used to endorse or promote products derived from this software without
15 # specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 # DISCLAIMED. IN NO EVENT SHALL FABIO MURATORE, HONDA RESEARCH INSTITUTE EUROPE GMBH,
21 # OR TECHNICAL UNIVERSITY OF DARMSTADT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 # POSSIBILITY OF SUCH DAMAGE.
28 
29 import os.path as osp
30 
31 # Import everything from the C extension
32 from _rcsenv import *
33 
34 
35 # Expose config folder
36 RCSPYSIM_CONFIG_PATH = osp.join(osp.dirname(__file__), "config")
37 
38 __all__ = [
39  "BoxSpace",
40  "RcsSimEnv",
41  "ControlPolicy",
42  "ActionModelIKPolicy",
43  "setLogLevel",
44  "addResourcePath",
45  "setVortexLogLevel",
46  "RCSPYSIM_CONFIG_PATH",
47  "JointLimitException",
48  "addResourcePath",
49  "saveExperimentParams",
50 ]