Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Commits
d9665642
Commit
d9665642
authored
2 years ago
by
Fabian Reister
Committed by
Fabian Reister
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
reducing verbosity
parent
73e85157
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!266
Feature/armem laser scans
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/RobotAPI/libraries/armem_laser_scans/client/common/Reader.cpp
+0
-1
0 additions, 1 deletion
...tAPI/libraries/armem_laser_scans/client/common/Reader.cpp
source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp
+8
-6
8 additions, 6 deletions
source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp
with
8 additions
and
7 deletions
source/RobotAPI/libraries/armem_laser_scans/client/common/Reader.cpp
+
0
−
1
View file @
d9665642
...
...
@@ -140,7 +140,6 @@ namespace armarx::armem::laser_scans::client
ARMARX_CHECK_NOT_NULL
(
ndArrayNavigator
);
laserScanStamped
.
data
=
fromAron
<
LaserScanStep
>
(
ndArrayNavigator
);
ARMARX_IMPORTANT
<<
"4"
;
return
laserScanStamped
;
};
...
...
This diff is collapsed.
Click to expand it.
source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp
+
8
−
6
View file @
d9665642
...
...
@@ -117,7 +117,7 @@ namespace armarx::armem::server::laser_scans
{
viz
::
PointCloud
pointCloud
(
"laser_scan"
);
ARMARX_
INFO
<<
"Point cloud with "
<<
points
.
size
()
<<
" points"
;
ARMARX_
VERBOSE
<<
"Point cloud with "
<<
points
.
size
()
<<
" points"
;
for
(
const
auto
&
point
:
points
)
{
...
...
@@ -214,7 +214,7 @@ namespace armarx::armem::server::laser_scans
laserScanStamped
.
data
=
armarx
::
armem
::
laser_scans
::
fromAron
<
LaserScanStep
>
(
ndArrayNavigator
);
ARMARX_
INFO
<<
"Number of steps: "
<<
laserScanStamped
.
data
.
size
();
ARMARX_
VERBOSE
<<
"Number of steps: "
<<
laserScanStamped
.
data
.
size
();
return
laserScanStamped
;
};
...
...
@@ -244,7 +244,7 @@ namespace armarx::armem::server::laser_scans
coreSegment
->
forEachProviderSegment
(
applyToProviderSegment
);
ARMARX_
INFO
<<
scans
.
size
()
<<
" scans"
;
ARMARX_
VERBOSE
<<
scans
.
size
()
<<
" scans"
;
return
scans
;
}
...
...
@@ -258,20 +258,22 @@ namespace armarx::armem::server::laser_scans
for
(
const
auto
&
[
provider
,
scan
]
:
currentLaserScans
)
{
ARMARX_
INFO
<<
"Visualizing `"
<<
provider
<<
"`"
;
ARMARX_
VERBOSE
<<
"Visualizing `"
<<
provider
<<
"`"
;
const
auto
global_T_sensor
=
[
&
]()
->
Eigen
::
Isometry3f
{
const
auto
robot
=
getSynchronizedRobot
(
scan
.
header
.
agent
,
scan
.
header
.
timestamp
);
if
(
not
robot
)
{
ARMARX_
INFO
<<
deactivateSpam
(
1
)
<<
"Robot `"
<<
scan
.
header
.
agent
<<
"`"
<<
"not available"
;
ARMARX_
VERBOSE
<<
deactivateSpam
(
1
)
<<
"Robot `"
<<
scan
.
header
.
agent
<<
"`"
<<
"not available"
;
return
Eigen
::
Isometry3f
::
Identity
();
}
const
auto
sensorNode
=
robot
->
getRobotNode
(
scan
.
header
.
frame
);
ARMARX_CHECK_NOT_NULL
(
sensorNode
)
<<
"No robot node `"
<<
scan
.
header
.
frame
<<
"` for robot `"
<<
scan
.
header
.
agent
<<
"`"
;
ARMARX_VERBOSE
<<
"Sensor position for sensor `"
<<
scan
.
header
.
frame
<<
"` is "
<<
sensorNode
->
getGlobalPosition
();
return
Eigen
::
Isometry3f
{
sensorNode
->
getGlobalPose
()};
}();
...
...
@@ -312,7 +314,7 @@ namespace armarx::armem::server::laser_scans
if
(
not
virtualRobotReader
->
synchronizeRobot
(
*
robot
,
timestamp
))
{
ARMARX_
INFO
<<
"Faield to synchronize robot `"
<<
name
<<
"`"
;
ARMARX_
VERBOSE
<<
"Faield to synchronize robot `"
<<
name
<<
"`"
;
}
return
robots
.
at
(
name
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment