apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Navigation mode usage

Open gladijos opened this issue 8 years ago • 4 comments

Hello apollo team! I need start apollo algorithms and launch my own in apollo's sandbox. Also I need send simulated data from outside apollo docker container. I follow https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_use_apollo_2.5_navigation_mode.md. While doing step2 (2. Collect navigation line raw data) of manual I sent simulated positions and orientations from my simulation workspace throw custom localization module. I fill only positions and orientations of vehicle. I face a problem. I don't see navigation lines on main window. The car stand at (0,0). Planning horizon and point on map are moving. screenshot from 2018-07-11 16-56-26 I think that I need feel more data when I store data to bag.

gladijos avatar Jul 11 '18 11:07 gladijos

You need to fill the heading information too in your localization data. Some modules that depend on localization use heading instead of orientation.

yifeijiang avatar Jul 15 '18 22:07 yifeijiang

@yifeijiang Thx a lot, I feel position, orientation and heading information of localization/pose by my own localization module that's work instead of apollo's localization module. Also I see this information in dreamview backend inside function calling UpdateWithLatestObserved("Localization", AdapterManager::GetLocalization()), auto_driving_car is setted correctly with my generated position. But it isn't work. May be I need to fill some other information, or send positioning data corresponded with HDMap information? I mean in dreamview by default one HDMap file is loaded and it includes coordinates. May be I have to generate coordinates near base HDMap coordinates.

gladijos avatar Aug 03 '18 07:08 gladijos

It works on Standard Dreamview mode, but still does not work in Navigation mode. I think virtual car behavior in Dreamview should be equal in this to modes if I send equal localization information.

gladijos avatar Aug 03 '18 08:08 gladijos

@gladijos I see that the issue was resolved at #5372 please feel free to reopen if you have any additional questions.

natashadsouza avatar Sep 05 '18 23:09 natashadsouza