-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
When running XLA_PYTHON_CLIENT_MEM_FRACTION=0.3 ros2 launch car_ros2 car_sim.launch.py
I get this traceback. I have ensured both ROS is installed and sourced, as well as the colcon ws.
[ERROR] [car_simulator_node-2]: process has died [pid 8146, exit code 1, cmd '/home/vinny/code/github.com/LeCAR-Lab/anycar/install/car_ros2/lib/car_ros2/car_simulator_node --ros-args -r __node:=car_simulator_node --params-file /tmp/launch_params_4uzyrqw2'].
[car_node-1] Traceback (most recent call last):
[car_node-1] File "/home/vinny/code/github.com/LeCAR-Lab/anycar/install/car_ros2/lib/car_ros2/car_node", line 33, in <module>
[car_node-1] sys.exit(load_entry_point('car-ros2==0.0.0', 'console_scripts', 'car_node')())
[car_node-1] File "/home/vinny/code/github.com/LeCAR-Lab/anycar/install/car_ros2/lib/car_ros2/car_node", line 25, in importlib_load_entry_point
[car_node-1] return next(matches).load()
[car_node-1] File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
[car_node-1] module = import_module(match.group('module'))
[car_node-1] File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
[car_node-1] return _bootstrap._gcd_import(name[level:], package, level)
[car_node-1] File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
[car_node-1] File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
[car_node-1] File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
[car_node-1] File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
[car_node-1] File "<frozen importlib._bootstrap_external>", line 883, in exec_module
[car_node-1] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
[car_node-1] File "/home/vinny/code/github.com/LeCAR-Lab/anycar/install/car_ros2/lib/python3.10/site-packages/car_ros2/car_node.py", line 21, in <module>
[car_node-1] from car_dynamics.models_jax import DynamicBicycleModel
[car_node-1] ModuleNotFoundError: No module named 'car_dynamics.models_jax'
[ERROR] [car_node-1]: process has died [pid 8144, exit code 1, cmd '/home/vinny/code/github.com/LeCAR-Lab/anycar/install/car_ros2/lib/car_ros2/car_node --ros-args -r __node:=car_node --params-file /tmp/launch_params__vnkp8kd --params-file /tmp/launch_params_o21neeja'].
I am in the process of troubleshooting this, but it seems like the car_dynamics module has not been installed in my environment. I have followed the instructions in README.md
I have verified it shows up in pip list
➜ anycar git:(main) ✗ pip list | grep car_dynamics
car-dynamics 0.0.0 /home/vinny/code/github.com/LeCAR-Lab/anycar/install/car_dynamics/lib/python3.10/site-packages
``
Metadata
Metadata
Assignees
Labels
No labels