Open CarlosJuarezTec opened 5 days ago
Hello! Are you connected to the mobile app at the same time?
I was, but I've tried closing the app and even rebooting the phone but error still stands.
If you try to connect to ros2 don't use app at the same time
Hi, I've been trying to solve the issue but even without using the app at the same time i Cannot connect
Hi, I've been trying to use the package, almost everything works, except that the communication cannot be established with the robot despite my best efforts. I'm posting the error message, hope someone can help me.
[go2_driver_node-3] ERROR:root:An error occurred: HTTPConnectionPool(host='192.168.12.53', port=9991): Max retries exceeded with url: /con_notify (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ba396bd4430>: Failed to establish a new connection: [Errno 111] Connection refused')) [go2_driver_node-3] ERROR:asyncio:Task exception was never retrieved [go2_driver_node-3] future: <Task finished name='Task-4' coro=<RobotBaseNode.run() done, defined at /home/ubuntudev22/ros2_ws/install/go2_robot_sdk/lib/python3.10/site-packages/go2_robot_sdk/go2_driver_node.py:479> exception=ValueError('Failed to receive initial public key response with new method.')> [go2_driver_node-3] Traceback (most recent call last): [go2_driver_node-3] File "/home/ubuntudev22/ros2_ws/install/go2_robot_sdk/lib/python3.10/site-packages/go2_robot_sdk/go2_driver_node.py", line 483, in run [go2_driver_node-3] await self.conn[robot_num].connect() [go2_driver_node-3] File "/home/ubuntudev22/ros2_ws/install/go2_robot_sdk/lib/python3.10/site-packages/scripts/webrtc_driver.py", line 334, in connect [go2_driver_node-3] raise ValueError( [go2_driver_node-3] ValueError: Failed to receive initial public key response with new method. [go2_driver_node-3] Exception in thread Thread-1 (_spin): [go2_driver_node-3] Traceback (most recent call last): [go2_driver_node-3] File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner [go2_driver_node-3] self.run() [go2_driver_node-3] File "/usr/lib/python3.10/threading.py", line 953, in run [go2_driver_node-3] self._target(*self._args, **self._kwargs) [go2_driver_node-3] File "/home/ubuntudev22/ros2_ws/install/go2_robot_sdk/lib/python3.10/site-packages/go2_robot_sdk/go2_driver_node.py", line 498, in _spin [go2_driver_node-3] rclpy.spin_once(node) [go2_driver_node-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/init.py", line 199, in spin_once [go2_driver_node-3] executor = get_global_executor() if executor is None else executor [go2_driver_node-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/init.py", line 102, in get_global_executor [go2_driver_node-3] executor = SingleThreadedExecutor() [go2_driver_node-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 721, in init [go2_driver_node-3] super().init(context=context) [go2_driver_node-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 172, in init [go2_driver_node-3] self._guard = GuardCondition( [go2_driver_node-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/guard_condition.py", line 23, in init__ [go2_driver_node-3] with self._context.handle: [go2_driver_node-3] AttributeError: enter [go2_driver_node-3] Exception ignored in: <function Executor.del at 0x7ba3989ce0e0> [go2_driver_node-3] Traceback (most recent call last): [go2_driver_node-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 243, in del [go2_driver_node-3] if self._sigint_gc is not None: [go2_driver_node-3] AttributeError: 'SingleThreadedExecutor' object has no attribute '_sigint_gc' [go2_driver_node-3] ERROR:asyncio:Task was destroyed but it is pending! [go2_driver_node-3] task: <Task pending name='Task-2' coro=<spin() running at /home/ubuntudev22/ros2_ws/install/go2_robot_sdk/lib/python3.10/site-packages/go2_robot_sdk/go2_driver_node.py:507> wait_for=>