Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
multiTraj
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangdawei
multiTraj
Commits
e1a2bbff
Commit
e1a2bbff
authored
Oct 31, 2023
by
wangdawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix time float
parent
ae9077e4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
CMakeLists.txt
CMakeLists.txt
+2
-1
CMakeLists.txt.user
CMakeLists.txt.user
+2
-2
multi_traj_functions.cpp
apps/function/multi_traj_functions.cpp
+1
-1
multi_traj.cpp
apps/multi_traj.cpp
+3
-0
No files found.
CMakeLists.txt
View file @
e1a2bbff
...
...
@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 2.8)
project
(
multi_traj
)
set
(
CMAKE_BUILD_TYPE
"Release"
)
set
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
)
#set(CMAKE_BUILD_TYPE "Release")
#set(CMAKE_BUILD_TYPE "Debug")
message
(
STATUS
"CMAKE_BUILD_TYPE: "
${
CMAKE_BUILD_TYPE
}
)
...
...
CMakeLists.txt.user
View file @
e1a2bbff
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.11.1, 2023-10-3
0T21:02:59
. -->
<!-- Written by QtCreator 4.11.1, 2023-10-3
1T11:52:14
. -->
<qtcreator>
<data>
<variable>
EnvironmentId
</variable>
...
...
@@ -230,7 +230,7 @@
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.DisplayName"
>
multi_traj
</value>
<value
type=
"QString"
key=
"ProjectExplorer.ProjectConfiguration.Id"
>
CMakeProjectManager.CMakeRunConfiguration.multi_traj
</value>
<value
type=
"QString"
key=
"ProjectExplorer.RunConfiguration.BuildKey"
>
multi_traj
</value>
<value
type=
"QString"
key=
"RunConfiguration.Arguments"
></value>
<value
type=
"QString"
key=
"RunConfiguration.Arguments"
>
--base_dir=/home/wdw/Documents/bev/multiTraj/261
</value>
<value
type=
"bool"
key=
"RunConfiguration.Arguments.multi"
>
false
</value>
<value
type=
"QString"
key=
"RunConfiguration.OverrideDebuggerStartup"
></value>
<value
type=
"bool"
key=
"RunConfiguration.UseCppDebugger"
>
false
</value>
...
...
apps/function/multi_traj_functions.cpp
View file @
e1a2bbff
...
...
@@ -462,7 +462,7 @@ vector<CloseTrajInfo> crossFilter(
pcl
::
octree
::
OctreePointCloudSearch
<
PointExport
>
taskOctree
(
resolution
);
PointCloudExport
::
Ptr
taskPeriodCloud
(
new
PointCloudExport
);
taskOctree
.
setInputCloud
(
taskPeriodCloud
);
float
currTime
;
double
currTime
;
vector
<
PointExport
>
filterdPeriod
;
for
(
size_t
pointId
=
0
;
pointId
<
pointClouds
[
pcIndex
]
->
points
.
size
();
pointId
++
){
const
PointExport
&
query
=
pointClouds
[
pcIndex
]
->
points
.
at
(
pointId
);
...
...
apps/multi_traj.cpp
View file @
e1a2bbff
...
...
@@ -69,6 +69,9 @@ int main(int argc, char *argv[])
ofs
<<
meshId
;
for
(
auto
period
:
task
.
periods
){
auto
timeDelta
=
period
.
second
-
period
.
first
;
LOG
(
INFO
)
<<
"start: "
<<
period
.
first
<<
" end: "
<<
period
.
second
<<
" timeDelta: "
<<
timeDelta
;
if
(
timeDelta
<
2
){
continue
;
}
...
...
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