robo-gym
robo-gym copied to clipboard
I cant get robogym to run the examples, it has TypeError: Descriptors cannot not be created directly.
Hi there, I am having an issue with running the example using this command:
user@computer:~/robogym_ws$ roslaunch mir100_robot_server sim_robot_server.launch gui:=true
I'm receiving this error:
Traceback (most recent call last):
File "/home/user/robogym_ws/devel/lib/mir100_robot_server/robot_server.py", line 15, in
- Downgrade the protobuf package to 3.20.x or lower.
- Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
My protoc --version is libprotoc 3.6.1 and pip install 'protobuf<=3.20.1' --force-reinstall, which installs v3.20.1 and Python 3.8.10
What should I do? I'm running a fresh install of Ubuntu 20.04 and ROS Noetic full desktop the catkin build completes without issue. I also receive heaps of warnings like "F_REPEATED_DATA ignoring data with redundant timestamp for frame" but I figure I need to fix the error first.
Thanks in advance, Zonared