Comments (4)
It is saying that you called the function with a wrong set of arguments. Is the first array float32? I am not very experienced in python so I can't tell but make sure that they all have the correct data type. The rest seems ok to me too.
from raisimgym.
yes, when I implement self.env.step(action, visualize=True).
If action is array([-0.17920911, -0.02736158, 0.37157712, 0.03743708, -0.7466227 ,
-0.01556192, -0.03418474, 0.19078933, -0.27589707, 0.1042255 ,
-0.49273024, -0.05912861])
it will cause error.
but when action is array([ 0.09762701, 0.43037874, 0.20552675, 0.08976637, -0.1526904 ,
0.29178822, -0.12482557, 0.78354603, 0.92732555, -0.23311697,
0.5834501 , 0.05778984], dtype=float32)
with dtype=float32, there is no error. But I think both of them should be OK. I am not familiar with pybind, would you mind to tell me which c++ file will be implemented after step/testStep function of class RaisimGymEnv in _raisim_gym.py is called? I want to check it's compatibility with different input.
from raisimgym.
seems step function only support float32 not float64
from raisimgym.
yes, that's right. but this should be a good feature. The type conversion is costly and this helps you remove it ;)
from raisimgym.
Related Issues (20)
- Quadrotor having a steady-state error and not reaching red dot. HOT 3
- Segmentation fault when run train in docker HOT 3
- Questions on function getGeneralizedForce() HOT 1
- The environment is getting slower as training goes HOT 5
- obMean and obStd in examples HOT 1
- Search path when running a runner HOT 1
- Problem in visualization HOT 3
- Relationship to ANYmal science paper HOT 2
- Possible error in the structure of the info variable HOT 1
- Issues in Running the examples HOT 1
- Question about the observation in Environment and Model HOT 2
- set seed possible bug HOT 1
- turn off the visualization HOT 3
- Question on .pkl file saved after the training. HOT 5
- segfault on using mesh as collision bodies
- license is expired HOT 3
- Struggling with LICENSE HOT 3
- Attempting to fetch value instead of handling error Internal: no supported devices found for platform CUDA Aborted (core dumped)
- Can't instantiate with an abstract method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raisimgym.