motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
662 stars 126 forks source link

Questions about submission #312

Closed piqiuni closed 1 year ago

piqiuni commented 1 year ago

Our Planner use ROS to run several process, and it works well on our local platform, ROS use port localhost:11311 to communicate. And we could run "docker-compose up" with simple_planner successfully.

But when running "docker-compose up" with our Planner, the GRPC connection between two containers would rase Error "Deadline Exceeded". We have checked that ROS uses port 11311 and GRPC uses 50051, which means they shouldn't run into conflict.

Can you give us any suggestion?

Thanks!

piqiuni commented 1 year ago

Error Info:

grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: nuplan-devkit-simulation-1 | status = StatusCode.DEADLINE_EXCEEDED nuplan-devkit-simulation-1 | details = "Deadline Exceeded" nuplan-devkit-simulation-1 | debug_error_string = "{"created":"@1684745213.775697606","description":"Error received from peer ipv6:[::1]:50051","file":"src/core/lib/surface/call.cc","file_line":1074,"grpc_message":"Deadline Exceeded","grpc_status":4}"

patk-motional commented 1 year ago

Tagging @gianmarco-motional to address this.

patk-motional commented 1 year ago

The error means that your planner is taking too long to complete one cycle. I don't think this is related to the issue you described above.

piqiuni commented 1 year ago

The error means that your planner is taking too long to complete one cycle. I don't think this is related to the issue you described above.

Is there a time limit for the initialization of the program? we called time.sleep(10) in the initialize(self, initialization: PlannerInitialization) to ensure that additional processes can be started

We tried that adding a time.sleep(10) to simpleplanner doesn't lead to error. And simply publish a message with ros in simpleplanner doesn't lead to error. I'm trying to locate the problem.

patk-motional commented 1 year ago

Yes, there is a time limit of 5 seconds in the initialization.