TypeError: 'linkLowerLimits' is an invalid keyword argument for this function
See original GitHub issueI have installed the env according to Install Guide,
pip3 install git+https://github.com/Zackory/bullet3.git
git clone https://github.com/Healthcare-Robotics/assistive-gym.git
cd assistive-gym
pip3 install .
And run env_viewer.py. But there is a error like below.
The version of assistive_gym is 0.100, and the pybullet is 2.6.0 .
Traceback (most recent call last):
File "E:/MySrc/assistive-gym/env_viewer.py", line 19, in <module>
observation = env.reset()
File "D:\Anaconda3\envs\assistivegym\lib\site-packages\gym\wrappers\time_limit.py", line 25, in reset
return self.env.reset(**kwargs)
File "E:\MySrc\assistive-gym\assistive_gym\envs\scratch_itch.py", line 94, in reset
self.human, self.wheelchair, self.robot, self.robot_lower_limits, self.robot_upper_limits, self.human_lower_limits, self.human_upper_limits, self.robot_right_arm_joint_indices, self.robot_left_arm_joint_indices, self.gender = self.world_creation.create_new_world(furniture_type='wheelchair', static_human_base=True, human_impairment='random', print_joints=False, gender='random')
File "E:\MySrc\assistive-gym\assistive_gym\envs\world_creation.py", line 66, in create_new_world
human, human_lower_limits, human_upper_limits = self.init_human(static_human_base, self.human_limit_scale, print_joints, gender=gender)
File "E:\MySrc\assistive-gym\assistive_gym\envs\world_creation.py", line 89, in init_human
human = self.human_creation.create_human(static=static_human_base, limit_scale=limit_scale, specular_color=[0.1, 0.1, 0.1], gender=gender, config=self.config)
File "E:\MySrc\assistive-gym\assistive_gym\envs\human_creation.py", line 265, in create_human
human = p.createMultiBody(baseMass=0 if static else m*0.1, baseCollisionShapeIndex=chest_c, baseVisualShapeIndex=chest_v, basePosition=chest_p, baseOrientation=[0, 0, 0, 1], linkMasses=linkMasses, linkCollisionShapeIndices=linkCollisionShapeIndices, linkVisualShapeIndices=linkVisualShapeIndices, linkPositions=linkPositions, linkOrientations=linkOrientations, linkInertialFramePositions=linkInertialFramePositions, linkInertialFrameOrientations=linkInertialFrameOrientations, linkParentIndices=linkParentIndices, linkJointTypes=linkJointTypes, linkJointAxis=linkJointAxis, linkLowerLimits=linkLowerLimits, linkUpperLimits=linkUpperLimits, useMaximalCoordinates=False, flags=p.URDF_USE_SELF_COLLISION, physicsClientId=self.id)
TypeError: 'linkLowerLimits' is an invalid keyword argument for this function
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
XYZ is an invalid keyword argument for this function
__init__() 486 post_init.send(sender=cls, instance=self) TypeError: 'longlink' is an invalid keyword argument for this function.
Read more >How To Fix "Invalid Keyword Argument For This Function" In ...
shape[1] TypeError: 'key' is an invalid keyword argument for this function error. Is there any way to fix it? This is the code:...
Read more >'creation_date' is an invalid keyword argument for this function
So I'm pretty new to Django and I'm playing around with forms/models, and I've run into an error that I think has to...
Read more >why TypeError: 'duration' is an invalid keyword argument for ...
Hi Welby,. You're getting that error because 'duration' isn't a valid keyword argument for timedelta. duration is a argument that is passed ...
Read more >How to fix Django TypeError got an unexpected keyword ...
Django TypeError when passing arguments via URLDjango view got an unexpected keyword argumentException Type: TypeErrorException Value: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve reinstalled customized pybullet, and it works! Thanks for your help!
Okay, thanks. I will check.