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

ros2 topic echo /lowcmd NOT WORKING #16

Open
NirajPudasaini opened this issue Nov 9, 2024 · 1 comment
Open

ros2 topic echo /lowcmd NOT WORKING #16

NirajPudasaini opened this issue Nov 9, 2024 · 1 comment

Comments

@NirajPudasaini
Copy link

unitree@unitree-h1-pc2:$ ros2 topic echo /lowcmd
Traceback (most recent call last):
File "/opt/ros/foxy/bin/ros2", line 11, in
load_entry_point('ros2cli==0.9.13', 'console_scripts', 'ros2')()
File "/opt/ros/foxy/lib/python3.8/site-packages/ros2cli/cli.py", line 67, in main
rc = extension.main(parser=parser, args=args)
File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/command/topic.py", line 41, in main
return extension.main(args=args)
File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/verb/echo.py", line 71, in main
return main(args)
File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/verb/echo.py", line 86, in main
message_type = get_msg_class(node, args.topic_name, include_hidden_topics=True)
File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/api/init.py", line 99, in get_msg_class
msg_class = _get_msg_class(node, topic, include_hidden_topics)
File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/api/init.py", line 144, in _get_msg_class
return get_message(message_type)
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_runtime_py/utilities.py", line 28, in get_message
interface = import_message_from_namespaced_type(get_message_namespaced_type(identifier))
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_runtime_py/import_message.py", line 30, in import_message_from_namespaced_type
module = importlib.import_module(
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 961, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'unitree_hg'
unitree@unitree-h1-pc2:
$

@TongZhangTHU
Copy link

I have the same problem. Have you solved it?

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

2 participants