Comments (3)
the equivalent in the tensor api is rigid_body_state_tensor = self.gym.acquire_rigid_body_state_tensor(self.sim)
for reading the values and self.gym.set_actor_root_state_tensor_indexed
for setting root states. You should be able to use those to set positions and velocities of the projectiles. however you won't be able to create new rigid bodies on the fly, so you will need to create all of them before the simulation starts and store them somewhere on the side. Hope this helps
from legged_gym.
@nikitardn Thanks for the help.. I was able to do this like last week ago. I have one more question: can we make a dynamic terrain in Issac Gym? Like shifting platforms or something like that?
from legged_gym.
You should be able to add shifting platforms as boxes, but our current height scanner won't work with that since we get the heights from the static terrain.
from legged_gym.
Related Issues (20)
- Self Collisions HOT 2
- Different URDF with Official Unitree A1 HOT 1
- Failed to train unitree aliengo robot using legged_gym HOT 2
- How to train the actuator network? HOT 2
- How to get the coordinates of the robot's toe end position? HOT 1
- RuntimeError: Error building extension 'gymtorch' HOT 1
- how does the privileged observation work? HOT 1
- Segmentation fault (core dumped) while running legged_gym/scripts/train HOT 2
- Using trained weights on real-robot: Minimal Example
- Why up_axis=gymapi.UP_AXIS_Z is not set?
- in `legged_gym/legged_gym/utils/terrain.py`, there is a little bug HOT 1
- [Question] How to obtain the position of AnyMal HOT 4
- [Question] Troubles with play.py script after training HOT 1
- How to add more assets in the envs? HOT 2
- Adding Observation History to Policy
- [Error] [carb.gym.plugin] Gym cuda error: invalid resource handle: ../../../source/plugins/carb/gym/impl/Gym/GymPhysX.cpp: 6137 HOT 1
- RuntimeError: Failed to acquire interface: carb::gym::Gym (pluginName: nullptr)
- A question about the parameter(num_observations)
- Unexpected low performance
- Fail to support different envs HOT 2
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 legged_gym.