-
Notifications
You must be signed in to change notification settings - Fork 35
/
TrimStereoOctomap.m
20 lines (12 loc) · 1.22 KB
/
TrimStereoOctomap.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function stereo_octomap = TrimStereoOctomap(start_time, end_time, stereo_octomap_in)
stereo_octomap.utime = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.utime);
stereo_octomap.number_of_points = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.number_of_points);
stereo_octomap.frame_number = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.frame_number);
stereo_octomap.video_number = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.video_number);
stereo_octomap.x = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.x);
stereo_octomap.y = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.y);
stereo_octomap.z = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.z);
stereo_octomap.frame_x = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.frame_x);
stereo_octomap.frame_y = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.frame_y);
stereo_octomap.logtime = TrimTimes(start_time, end_time, stereo_octomap_in.logtime, stereo_octomap_in.logtime);
end