AMZ-Racing / fssim

Formula Student Simulator dedicated for FSD competition
MIT License
239 stars 85 forks source link

Cone detection offset #11

Open Taintedy opened 4 years ago

Taintedy commented 4 years ago

Hey, guys I ran into a problem when getting cone coordinates from a topic. After visualizing received coordinates I get an offset. Selection_003 The problem occurs only when the car is moving. How can I reduce this offset? Thank you.

Francisco-Carvalho98 commented 4 years ago

Are you using ros::Time::Now() to fill in the header.stamp of those markers? If so, you shouldn't. You need to propagate the stamp that comes from the topic the simulator provides.