uwgraphics / relaxed_ik_ros1

Public Repository for the Wrappers for ROS1 for RelaxedIK
MIT License
18 stars 21 forks source link

raise NotImplementedError #9

Open zichunxx opened 1 year ago

zichunxx commented 1 year ago

Hi!

I met the following error when I performed rosrun relaxed_ik_ros1 keyboard_ikgoal_driver.py

error:

Traceback (most recent call last):
  File "/home/dec/relaxed_ws/src/relaxed_ik_ros1/src/keyboard_ikgoal_driver.py", line 3, in <module>
    import readchar
  File "/home/dec/anaconda3/envs/robostackenv/lib/python3.9/site-packages/readchar/__init__.py", line 18
    raise NotImplementedError(f"The platform {platform} is not supported yet")
                                                                            ^
SyntaxError: invalid syntax

ROS Version: 20.04 Python version: 3.9 readchar version: 4.0.3

I have checked that readchar has been installed.

Do you know how to fix it?

Thanks!