I’ve followed the instructions proposed in de documentation ( Go2 Documentation | QUADRUPED ROBOTICS ), but running the command
ros2 topic echo /sportmodestate
returns the following error:
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_go’
How can I solve the issue, also considering the board has no internet connection (the interfaces shown with the “Automatic Machine Inspection” function in the app are not the same I get from ifconfig after the login with ssh.