Skip to content

Use the LATTICE planner fails - The planning Tab on Dreamview is disabled automatically. #13828

@marcusvinicius178

Description

@marcusvinicius178

Hi I am below my System Information:

Steps to reproduce the issue:

The first steps to reproduce the error is following the tutorial link above.
1 - Start the docker image: ./docker/scripts/dev_start.sh
2 - Enter the docker image: ./docker/scripts/dev_into.sh

Before build the workspace I tried to modify some files to switch the standard ROAD_PUBLIC planner to use the LATTICE planner for a simple evasive maneuver against a static obstacle. To achieve that I have changed the line 18 of the file planning_config.pb.txt:

  • Removed ROAD_PUBLIC and added LATTICE;

planner_type_change

Afterwards I change the the line 30 of on_lane_planner_dispatcher.cc:

  • Changed the planner_type index from 0 to 3. Considering the number 3 is the one that defines the LATTICE planner on the planning_config.proto file:

on_lane_planner_dispatcher

3 - Then finally I have built the workspace: ./apollo.sh build_opt_gpu
4 - runned the bootstrap to activate the dreamview monitor: ./scripts/bootstrap_lgsvl.sh
5 - runned the cyber_bridge: ./scripts/bridge.sh

Unfortunately the planning tab on Dreamview is disabled automaticall when I turn it on, as you can check on this video:

https://youtu.be/wn6f2mhT8vY

I have done a lot of attempts:
https://youtu.be/DXmFH81SCps

If I access the Tasks panel on Dreamview

Lattice_error

The planning module is bolded in red with the Console error:
"Raw IMU Message Delay: IMU message is 23949 cycle 24980 sec behind current time
"Raw GPS Message Delay GPS message is 23850 cycle 23805 behind current time".
Etc...

Accesing the Cyber_Monitor, I can check the planning module is not working (it is bolded in red too):

Cyber_channel_error

Entering the planning module channel I get:

no_message_came

"No Message Came"

Then If I press the planning tab again on Dreamview to activate the planning module, and look into the planning channel on cyber_monitor I get the message:

no_generation_message

"Cannot Generate Message by Message Type"

Then I decided to look into the log files to comprehend the error. And I get the following output:

Lo0g_info_1

log_info_2

log_info_3

Also from the planning_config.proto I have noticed that the Planners PUBLIC_ROAD and NAVI have their configuration defined into this file. However the LATTICE has not:

plannerConfigBlock

Must I add a line of code: " message PlannerLatticeConfig {} in this file ?
If yes which parameters are required to define this planner?

I would like to know how to Use the LATTICE planner in Apollo 6.0.
What are the steps needed?

I also tried to use the planner in Apollo 3.0 however it was not possible to use this software alongside SVl simulator:
lgsvl/simulator#1475

Someone know a tutorial how to set the rosbridge properly for Apollo 3.0 withing SVL simulator?
Thanks very much in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions