Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HighBlueParsers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Best
HighBlueParsers
Merge requests
!1
High blue rec
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
High blue rec
pierre.mahe/highblueparsers:HighBlueRec
into
main
Overview
0
Commits
17
Pipelines
0
Changes
1
Closed
Pierre Mahe
requested to merge
pierre.mahe/highblueparsers:HighBlueRec
into
main
1 year ago
Overview
0
Commits
17
Pipelines
0
Changes
1
Increment version number
0
0
Merge request reports
Viewing commit
51adfd08
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
51adfd08
fix imu_data memory leak
· 51adfd08
ferrari
authored
2 years ago
src/recorder.cpp
+
1
−
1
View file @ 51adfd08
Edit in single-file editor
Open in Web IDE
Show full file
@@ -176,7 +176,7 @@ void JasonRecorder::get_samples(std::vector<std::uint8_t> &samples, std::vector<
else
if
((((
std
::
uint16_t
)
buffer
[
1
]
<<
8
)
|
(
buffer
[
2
]))
==
DATA_ID
)
{
// find the beginning and length of the samples in the buffer
size_t
start
=
this
->
additional_data_size
+
6
;
imu_data
.
resize
(
0
);
imu_data
.
reserve
(
this
->
additional_data_size
);
imu_data
.
insert
(
imu_data
.
begin
(),
&
buffer
[
6
],
&
buffer
[
start
]);
size_t
num_samples
=
(
received
-
start
);
Loading