strands-project / trajectory_behaviours

Apply qualitative spatial temporal relationships between detected trajectories and static objects, per ROI.
2 stars 8 forks source link

Tracectory Header #10

Closed PDuckworth closed 9 years ago

PDuckworth commented 9 years ago

@ferdianjovan Do you know what the information in the Trajectory Header field is?

sequence_id - what is this? stamp - is this the time stamp of the original poses, or when the trajectory importer was run?

ferdianjovan commented 9 years ago

Sequence_id is the number id for the chunk of trajectory in mini batch mode. So to stitch the chunk of trajectories, you just need to stitch them in the order of sequence_id. The stamp is the time stamp of the original poses.

PDuckworth commented 9 years ago

I don't use sequence_id to stitch the mini-batch trajectories together. I just assume if they have the same uuid, I merge the new one onto the end of the previous one.

ferdianjovan commented 9 years ago

that also works. It was intended in the case we want to store mini batch form in database, which is not the case atm.

ferdianjovan commented 9 years ago

I want to clear things up, the header from trajectory message is not important as the time in the header refers to the time the message was created not the time of poses (or the first pose). The header in each trajectory (GeometryMessage/PoseStamped) refers to the time from people_tracker (the time stamp of original poses).

Sorry for the confusion.

PDuckworth commented 9 years ago

@hawesie / @cdondrup Can either of you close this?

cdondrup commented 9 years ago

Can't :( @hawesie or @marc-hanheide should be able