Comments (3)
I have no idea if is there a more clear way to change action space through the configuration file, I did somehow change it.
Q1. I would appreciate it if you make me know if there is a better way.
Q2. Is there any possibility that this temporary modification cause any problems?
elif self.cfg.control.control_type == "default":
# self.num_actions = self.robot.num_actions # original
self.num_actions = self.robot.num_actions - 1 # bong
elif self.cfg.control.control_type == "default":
# self.robot_actions[:] = self.actions # original
self.robot_actions[:, :-1] = self.actions # bong
self.robot_actions[:, -1] = -1 * self.should_i_close_gripper():
from orbit.
I see what you are trying to do. I think your current workaround is the best way to do it at the moment. To make the code least disrupted, I would suggest renaming the control type to be called something else ("only_arm" or something). That way you can switch in the future easily.
It is a bit hard to capture all the possible use-cases from the config file without letting it blow up. But I agree, there should be a way to specify which "actuator groups" are part of the robot's action space. I will have to think about it but this will require some more restructuring.
from orbit.
ok, thank you for your reply!
from orbit.
Related Issues (20)
- How are assets annotated, and can they be annotated and captured easily by object pose information?
- [Question] How to apply the scale factor to a JointVelocityActionCfg? HOT 2
- There are so many bugs in the old versions that haven't been perfected yet, and the new framework has been released again HOT 1
- [Bug Report] ModuleNotFoundError:No module named 'omni.isaac.kitβ ; Had tried the issue #103 Solution HOT 22
- [Question] How to fix PhysX error: PxRigidBody::setMass(): mass must be non-negative! HOT 1
- [Question] Only during training, encounter "PhysX error: PxRigidBody::setMass(): mass must be non-negative!" despite non-negative/non-zero masses HOT 1
- [Bug Report] Cuda Error when use body_physx_view.apply_forces_and_torques_at_position in multi-GPU Training HOT 3
- Issues getting observations for two robots with mdp.joint_pos_rel and mdp.joint_vel_rel HOT 1
- how to set the asset_root(default or nvidia) to a local path in isaacSim 4.0.0? HOT 1
- [bug] RuntimeError: Failed to acquire interface: omni::kit::IViewport (pluginName: nullptr)
- sb3 is much slower to train than rl_games HOT 1
- [Question] Correct way to develop in the cloud instance
- [Question] How to set the gravity mode of object? HOT 1
- Imported urdf loads only the stage tree but not the robot HOT 5
- [Bug Report] Failed to solve some dependencies locally, syncing with extension registry... HOT 1
- [Question] How to spawn arbitary number of objects in one environment?
- [Bug Report] UR10 reach environment won't accept all wrappers HOT 8
- [Question] Necessary procedure to import URDF files HOT 3
- [Bug Report] Link not working in Docs HOT 2
- Importing Carter from URDF does not allow actuation, no textures/colors
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 orbit.