tier4 / driving_log_replayer

an evaluation package for autoware
Apache License 2.0
49 stars 12 forks source link

missing module in pyproject.toml #541

Closed a-maumau closed 1 month ago

a-maumau commented 1 month ago

Possibly module is missing in the pyproject.toml

Following the installation document for building the package and try to run the dlr simulation run -p localization -l play_rate:=0.5 then I encountered some issue like ModuleNotFoundError: No module named 'pyquaternion' with python.

Also, to run the test for package, I needed nuscenes-devkit to pass the test with colcon test --event-handlers console_cohesion+ summary+ --packages-select driving_log_replayer.

So, I think we need to add nuscenes-devkit for package depedency.

If it was my environment issue, I'm sorry.

hayato-m126 commented 1 month ago

Maybe you didn't do rosdep install If you have installed driving_log_replayer described in the following page, nuscenes-devkit is installed automatically. https://github.com/tier4/driving_log_replayer/blob/develop/docs/quick_start/installation.en.md

The mechanism is that driving_log_replayer depends on perception_eval and perception_eval depends on nuscenes-devkit. https://github.com/tier4/driving_log_replayer/blob/develop/driving_log_replayer/package.xml#L38 https://github.com/tier4/autoware_perception_evaluation/blob/develop/perception_eval/package.xml#L16

hayato-m126 commented 1 month ago

The packages listed in pyproject.tom are those needed to run the cli, and those needed to run the ros node are listed in exec_depend in package.xml