Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
navipy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Olivier Bertrand
navipy
Commits
2f2e099b
Commit
2f2e099b
authored
1 year ago
by
Olivier Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Encapsulate and skip on errors
parent
a15b6c3d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
navipy/sensors/renderer.py
+10
-2
10 additions, 2 deletions
navipy/sensors/renderer.py
with
10 additions
and
2 deletions
navipy/sensors/renderer.py
+
10
−
2
View file @
2f2e099b
...
...
@@ -139,7 +139,11 @@ class AbstractRender():
# We can render
self
.
_logger
.
warning
(
posorient
)
self
.
_logger
.
info
(
'
Update frame_i : {}
'
.
format
(
frame_i
))
scene
=
self
.
scene
(
posorient
)
try
:
scene
=
self
.
scene
(
posorient
)
except
Exception
as
e
:
self
.
_logger
.
error
(
e
)
return
check_scene
(
scene
)
scene
=
scene
[...,
0
]
distance
=
scene
[...,
-
1
]
...
...
@@ -197,7 +201,11 @@ class AbstractRender():
# and the cmaxminrange has not already been assigned
# so the image need to be rendered
self
.
_logger
.
info
(
'
Update frame_i : {}
'
.
format
(
frame_i
))
scene
=
self
.
scene
(
posorient
)
try
:
scene
=
self
.
scene
(
posorient
)
except
Exception
as
e
:
self
.
_logger
.
error
(
e
)
return
check_scene
(
scene
)
scene
=
scene
[...,
0
]
distance
=
scene
[...,
-
1
]
...
...
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