Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Labs Instructions for TDDE05
Manage
Activity
Members
Plan
Wiki
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDDE05 Students
Labs Instructions for TDDE05
Wiki
lab4
Changes
Page history
New page
Templates
Clone repository
Update lab4
authored
2 years ago
by
Cyrille Berger
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lab4.md
+1
-1
1 addition, 1 deletion
lab4.md
with
1 addition
and
1 deletion
lab4.md
View page @
36535bb0
...
@@ -142,7 +142,7 @@ tf_listener = TransformListener(self.tf_buffer, node)
...
@@ -142,7 +142,7 @@ tf_listener = TransformListener(self.tf_buffer, node)
# To use them for point transformation
# To use them for point transformation
try
:
try
:
point_transformed
=
self
.
tf_buffer
.
transform
(
point
,
to_frame_rel
,
timeout
=
rclpy
.
duration
.
Duration
(
1.0
)
point_transformed
=
self
.
tf_buffer
.
transform
(
point
,
to_frame_rel
,
timeout
=
rclpy
.
duration
.
Duration
(
seconds
=
1.0
)
except
TransformException
as
ex
:
except
TransformException
as
ex
:
node
.
get_logger
().
info
(
f
'
Could not transform
{
point
}
to
{
to_frame_rel
}
:
{
ex
}
'
)
node
.
get_logger
().
info
(
f
'
Could not transform
{
point
}
to
{
to_frame_rel
}
:
{
ex
}
'
)
return
return
...
...
This diff is collapsed.
Click to expand it.