ros-bridge icon indicating copy to clipboard operation
ros-bridge copied to clipboard

KeyError: 'simple_pid.PID' in carla_ackermann_control_node.py

Open VishGit1234 opened this issue 2 years ago • 1 comments

In carla_ackermann_control_node.py, the code sys.modules['simple_pid.PID'] on lines 58 and 74 throws a key error. After taking a look at the keys in sys.modules, the issue seems to be with the capitalization of PID. If the code is changed to ... sys.modules['simple_pid.pid'] it works just fine

VishGit1234 avatar May 11 '23 16:05 VishGit1234

@VishGit1234 it also works without code modifications by sticking to an older version of the simple-pid module, e.g. simple-id==1.0.1 instead of using the latest one (see https://github.com/carla-simulator/ros-bridge/blob/master/requirements.txt#L8C8-L8C8).

lrstttl avatar Oct 16 '23 08:10 lrstttl