Source code spell error !!
Should change self._wheel_dof_indicies
to self._wheel_dof_indices
.
~/.local/share/ov/pkg/isaac-sim-4.2.0/exts/omni.isaac.wheeled_robots/omni/isaac/wheeled_robots/robots/wheeled_robot.py
~/isaac-sim-4.5.0/exts/isaacsim.robot.wheeled_robots/isaacsim/robot/wheeled_robots/robots/wheeled_robot.py
In [25]: self.robot.get_wheel_velocities()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[25], line 1
----> 1 self.robot.get_wheel_velocities()
File ~/isaac-sim-4.5.0/exts/isaacsim.robot.wheeled_robots/isaacsim/robot/wheeled_robots/robots/wheeled_robot.py:144, in WheeledRobot.get_wheel_velocities(self)
137 """[summary]
138
139 Returns:
140 Tuple[np.ndarray, np.ndarray]: [description]
141 """
143 full_dofs_velocities = self.get_joint_velocities()
--> 144 wheel_dof_velocities = [full_dofs_velocities[i] for i in self._wheel_dof_indicies]
145 return wheel_dof_velocities
AttributeError: 'WheeledRobot' object has no attribute '_wheel_dof_indicies'
# force set attr `_wheel_dof_indicies`
In [26]: self.robot._wheel_dof_indicies = self.robot._wheel_dof_indices
In [27]: self.robot.get_wheel_velocities()
Out[27]: [12.21436, 12.214684]
def get_wheel_velocities(self):
"""[summary]
Returns:
Tuple[np.ndarray, np.ndarray]: [description]
"""
full_dofs_velocities = self.get_joint_velocities()
wheel_dof_velocities = [full_dofs_velocities[i] for i in self.**_wheel_dof_indicies**]
return wheel_dof_velocities
Isaac Sim Version
[-] 4.5.0
[-] 4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):
Operating System
Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):
GPU Information
- Model:
- Driver Version:
Topic Description
Detailed Description
(Describe the issue in detail, including what you were trying to do, what you expected to happen, and what actually happened)
Steps to Reproduce
(Add more steps as needed)
Error Messages
(If applicable, copy and paste any error messages you received)
Screenshots or Videos
(If applicable, add screenshots or links to videos that demonstrate the issue)
Additional Information
What I’ve Tried
(Describe any troubleshooting steps you’ve already taken)
Related Issues
(If you’re aware of any related issues or forum posts, please link them here)
Additional Context
(Add any other context about the problem here)