Open Aliena12 opened 3 weeks ago
Hi, I can't say if the "py.carla" could be a problem.
You can try installing the .whl file of Carla in the python environment you are using.
path/to/python.exe -m pip install path/to/carla//PythonAPI/carla/dist/carla-0.9.13-cp37-cp37--win-amd64.whl
after that, you can remove the path to the egg file.
CARLA version: 0.9.13 Matlab version: 2020b Platform/OS: Windows 10
While running CARLA in a Matlab Script I got the error message "Unable to resolve the name py.carla.command.ApplyTargetVelocity". Althought vehicle.set_target_velocity(py.carla.Vector3D(8.3333333333, 0, 0)); works without a problem. Has anyone worked with Carla commands in Matlab before and got some experience? I excected the vehicle to start driving at a speed of 30 km/h like it would do with set_target_velocity. In VS Code in Python Carla commands worked fine as well. Thats the matlab code where the error occured:
and the same in VS Code in Python but working:
Does anyone have a suggestion? I am grateful for any support, thanks.