Commit a892febb authored by oscar's avatar oscar

修改指针获取

parent 7b263fb6
......@@ -402,7 +402,7 @@ void EventsRos::SendRosEvents(TrkObjsPtr& outs)
traffic.lane_angle = angle > 360 ? angle - 360 : angle;
eventMsgs.traffic.emplace_back(traffic);
}
if (outs.pt.size() == 4)
if (outs->pt.size() == 4)
{
eventMsgs.pt.push_back(outs->pt[0]);
eventMsgs.pt.push_back(outs->pt[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment