apollo icon indicating copy to clipboard operation
apollo copied to clipboard

build and run rtk localization seperately

Open AM055 opened this issue 5 years ago • 7 comments

System information

  • *OS Platform and Distribution: Linux Ubuntu 18.04
  • *Apollo installed from: source
  • **Apollo version: master

Steps to reproduce the issue:

*** I want to test localization module seperately; I build rtk localization and needed dependencies. *** My question : Since I don't have the required hardware, can I use txt files containing IMU and GPS information as input to the localization module? ***when I tried to do this I failed to generate the needed messages.

AM055 avatar Aug 11 '21 07:08 AM055

some on can help me? I can test rtk localization witn demo record and it work fine. But I want to use my txt files to generate topics!!

AM055 avatar Aug 11 '21 12:08 AM055

zhouyao4321, liouyx ???? do you have any idea about my question?

AM055 avatar Aug 13 '21 09:08 AM055

Simply put, you can create a cyber node, read the file, and publish the corresponding topic.

steps

  1. create a cyber node
  2. read the gps and imu message from file
  3. publish the topic

daohu527 avatar Aug 14 '21 00:08 daohu527

Hi, thank you for your response. I think I did that but since I obtainted this as output of cyber_monitor (image below); all channels but no data flow through channels! so somthing is wrong.

  1. create a cyber node: OK
  2. read the gps and imu message from file : Can you please give me additional information for this step, more détails!!!!!!!!!
  3. publish the topic: OK

image

AM055 avatar Aug 15 '21 09:08 AM055

you can ref to control_tester, It reads the message from the file and publishes it

daohu527 avatar Aug 16 '21 00:08 daohu527

Hi, I want to test localization individually! why should I refer to control module?

AM055 avatar Aug 16 '21 08:08 AM055

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.

daohu527 avatar Aug 01 '22 07:08 daohu527