Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Mujoco' object has no attribute 'get_position' #22

Open
steroal opened this issue Nov 30, 2023 · 0 comments
Open

AttributeError: 'Mujoco' object has no attribute 'get_position' #22

steroal opened this issue Nov 30, 2023 · 0 comments

Comments

@steroal
Copy link

steroal commented Nov 30, 2023

Dear Pawel/Travis,
How to solve:
Traceback (most recent call last):
File "rover.py", line 293, in
net = demo(
File "rover.py", line 149, in demo
check_exit_and_track_data = nengo.Node(
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/base.py", line 34, in call
inst.init(*args, **kwargs)
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/node.py", line 209, in init
self.output = output # Must be set after size_out; may modify size_out
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/base.py", line 108, in setattr
super().setattr(name, val)
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/config.py", line 479, in setattr
super().setattr(name, val)
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/params.py", line 151, in set
self.data[instance] = self.coerce(instance, value)
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/node.py", line 77, in coerce
node.size_out = self.check_callable_output(node, output)
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/node.py", line 99, in check_callable_output
result, invoked = checked_call(output, *args)
File "/home/lst/anaconda3/envs/mujo/lib/python3.8/site-packages/nengo/utils/stdlib.py", line 199, in checked_call
return CheckedCall(func(*args, **kwargs), True)
File "rover.py", line 133, in check_exit_and_track_data
rover_xyz = interface.get_position("base_link")
AttributeError: 'Mujoco' object has no attribute 'get_position'
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant