Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracking_lib cannot run well and the rviz cannot display the obj's trajectory #8

Closed
ryontang opened this issue Nov 30, 2020 · 10 comments
Labels
Module: HW/SW env HW or SW Environment

Comments

@ryontang
Copy link

ryontang commented Nov 30, 2020

thanks for your sharing of this perception project, after build the whole project, i run the demo of segment_lib, it can run well and display the box and heading angle of obj in the rviz.

But, when it comes to node of tracking_lib, it fails to work properly:

  1. when run the file of demo.launch of tracking_lib, it output some errors with red font
    Selection_346

  2. and the rviz interface output:
    Selection_347

  3. when i use the rqt_graph of ROS print out the relation of topic in nodes, it shows:
    Selection_345

i don't know where is the problem, very appreciate for your help!

@ryontang ryontang changed the title tracking tracking_lib cannot run well and the rviz cannot display the obj's trajectory Nov 30, 2020
@Durant35
Copy link
Member

have you rerun again?And if failed again,hope to capture the full log of tracking_node.

@ryontang
Copy link
Author

have you rerun again?And if failed again,hope to capture the full log of tracking_node.

i just run the launch file of kitti_ros and tracking_lib;

After running a while and capture its log and then use Ctrl+c to stop, the log is:
Selection_350
Selection_351
Selection_352
Selection_353
Selection_354

@Durant35
Copy link
Member

... I will run the demo this week. And maybe I can remote assist if fine.

@Durant35
Copy link
Member

Durant35 commented Dec 6, 2020

... I will run the demo this week. And maybe I can remote assist if fine.

@ryontang No exception on my PC, Ubuntu16.04 Kinetic and PCL1.9

@ryontang
Copy link
Author

ryontang commented Dec 6, 2020

No exception on my PC, Ubuntu16.04 Kinetic and PCL1.9

all right, thanks for your rerun, i still have this kind of problem, i don't know where is the problem

@ryontang
Copy link
Author

ryontang commented Dec 6, 2020

No exception on my PC, Ubuntu16.04 Kinetic and PCL1.9

all right, thanks for your rerun, i still have this kind of problem, i don't know where is the problem

refers to the subcriber between nodes, it seems have no problem, how do you debug your project use ide?

@Durant35
Copy link
Member

Durant35 commented Dec 6, 2020

no ide... maybe due to pcl...you build it release?
catkin build -DCMAKE_BUILD_TYPE=Release

@ryontang
Copy link
Author

ryontang commented Dec 6, 2020

no ide... maybe due to pcl...you build it release?
catkin build -DCMAKE_BUILD_TYPE=Release

ok, i have a try, thanks a lot!

@ryontang
Copy link
Author

ryontang commented Dec 6, 2020

no ide... maybe due to pcl...you build it release?
catkin build -DCMAKE_BUILD_TYPE=Release

ok, i have a try, thanks a lot!
Sorry to bother you !

Actually, the PCL is 1.9 in my pc, and i have tried to build a new workspace and git clone the src file, according to the steps in README.md of project tracking libs(also use catkin build -DCMAKE_BUILD_TYPE=Release):

I roslaunch the kitti_play.launch and the demo.launch of tracking_lib, it still report the same errors, as i display the picture of log record above.

but strangely, then i roslaunch the kitti_play.launch and the demo.launch of segment_lib, it run normally.

@ryontang
Copy link
Author

no ide... maybe due to pcl...you build it release?
catkin build -DCMAKE_BUILD_TYPE=Releasefind_package(PCL REQUIRED

Thanking for your remote assist last time, and helping me find the problem that is the references of PCL, I just uninstalled PCL 1.9, and changed find_package(PCL 1.8 REQUIRED) to find_package(PCL REQUIRED).

At last, the whole project runs well!

@Durant35 Durant35 added the Module: HW/SW env HW or SW Environment label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: HW/SW env HW or SW Environment
Projects
None yet
Development

No branches or pull requests

2 participants