ZJU-FAST-Lab / Elastic-Tracker

Elastic Tracker: A Spatio-temporal Trajectory Planner Flexible Aerial Tracking
GNU General Public License v3.0
170 stars 21 forks source link

Tracker does not move #4

Closed qingbyin closed 1 year ago

qingbyin commented 1 year ago

Hi, Following the steps in 1-simulation-of-aerial-tracking, the target can move by setting Nav goals, but the tracker does not move to track the target. The same issue can be seen from another user's video here.

GaaiLam commented 1 year ago

Perhaps you forgot to change the CUDA option of src/uav_simulator/local_sensing/CMakeLists.txt. You could check if the depth image is received in the simulation.

Hi, Following the steps in 1-simulation-of-aerial-tracking, the target can move by setting Nav goals, but the tracker does not move to track the target. The same issue can be seen from another user's video here.

qingbyin commented 1 year ago

Hi Jialin, Thanks for your clue. After reading the whole code in local_sensing/CMakeLists.txt, I realize the depth render is only available with CUDA. The issue is caused by changing set(ENABLE_CUDA false).