Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
software
ndt_tools_public
Commits
b8007aaf
Commit
b8007aaf
authored
2 years ago
by
Martin Magnusson
Browse files
Options
Download
Email Patches
Plain Diff
Add missing (but unused) return statements
parent
3955084e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
4 deletions
+7
-4
ndt_offline/include/ndt_offline/VelodyneBagReader.h
ndt_offline/include/ndt_offline/VelodyneBagReader.h
+1
-1
ndt_offline/include/ndt_offline/convertvelodynebags.h
ndt_offline/include/ndt_offline/convertvelodynebags.h
+3
-3
ndt_offline/src/imu_prediction.cpp
ndt_offline/src/imu_prediction.cpp
+1
-0
ndt_offline/src/tf_writer.cpp
ndt_offline/src/tf_writer.cpp
+1
-0
ndt_offline/src/tf_writer_from_txt.cpp
ndt_offline/src/tf_writer_from_txt.cpp
+1
-0
No files found.
ndt_offline/include/ndt_offline/VelodyneBagReader.h
View file @
b8007aaf
...
...
@@ -256,7 +256,7 @@ public:
*/
bool
readMultipleMeasurements
(
unsigned
int
Nmeas
,
pcl
::
PointCloud
<
PointT
>
&
cloud
,
tf
::
Transform
&
sensor_pose
){
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
return
false
;
// tf::Transform T;
// ros::Time t0;
// velodyne_rawdata::VPointCloud pnts,conv_points;
...
...
This diff is collapsed.
Click to expand it.
ndt_offline/include/ndt_offline/convertvelodynebags.h
View file @
b8007aaf
...
...
@@ -202,7 +202,7 @@ public:
* @param sensor_pose [out] The pose of the sensor origin. (Utilizes the tf_pose_id and sensor_link from the constructor).
**/
bool
ConvertToPclBag
(
tf
::
Transform
&
sensor_pose
){
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
return
false
;
// if(I == view->end()){
// fprintf(stderr,"End of measurement file Reached!!\n");
// return false;
...
...
@@ -339,7 +339,7 @@ pt.setValue(pnts[i].x - T.getOrigin()[0], pnts[i].y - T.getOrigin()[1], pnts[i].
}
bool
ConvertToCompleteImages
(
tf
::
Transform
&
sensor_pose
)
{
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
return
false
;
// if (image_clean_) {
// getNextScanMsg();
// depth_img_ = cv::Scalar::all(0);
...
...
@@ -424,7 +424,7 @@ std::cerr<<"NOT IMPLEMENTED"<<std::endl;
// Take one set of packages and create one image (will not be complete)
bool
ConvertToImages
(
tf
::
Transform
&
sensor_pose
){
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
std
::
cerr
<<
"NOT IMPLEMENTED"
<<
std
::
endl
;
return
false
;
// double resolution_factor = width_ / view_width_;
// depth_img_ = cv::Scalar::all(0);
// intensity_img_ = cv::Scalar::all(0);
...
...
This diff is collapsed.
Click to expand it.
ndt_offline/src/imu_prediction.cpp
View file @
b8007aaf
...
...
@@ -83,6 +83,7 @@ Eigen::Affine3d imu_prediction::PredictOrientation(double tp1){
Eigen
::
Affine3d
p_diff
=
Eigen
::
Affine3d
::
Identity
();
p_diff
.
linear
()
=
Tsensor_
.
linear
().
inverse
()
*
GetOrientationDiff
(
t
,
tp1
)
*
Tsensor_
.
linear
();
return
p_diff
;
}
Eigen
::
Affine3d
imu_prediction
::
PredictPoseAndVelocity
(
double
tp1
){
...
...
This diff is collapsed.
Click to expand it.
ndt_offline/src/tf_writer.cpp
View file @
b8007aaf
...
...
@@ -156,6 +156,7 @@ bool LocateRosBagFilePaths(const std::string &folder_name, std::vector<std::stri
std
::
cerr
<<
"Could not parse dir name
\n
"
;
return
false
;
}
return
true
;
}
int
main
(
int
argc
,
char
**
argv
){
...
...
This diff is collapsed.
Click to expand it.
ndt_offline/src/tf_writer_from_txt.cpp
View file @
b8007aaf
...
...
@@ -136,6 +136,7 @@ bool LocateRosBagFilePaths(const std::string &folder_name, std::vector <std::str
std
::
cerr
<<
"Could not parse dir name
\n
"
;
return
false
;
}
return
true
;
}
void
eraseAllSubStr
(
std
::
string
&
mainStr
,
const
std
::
string
&
toErase
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment