Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210910794
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210910794
Commits
f6129860
Commit
f6129860
authored
5 years ago
by
Carlos Orduno
Browse files
Options
Downloads
Patches
Plain Diff
Fix linter fails
parent
26afc609
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
nav2_system_tests/src/system/tester_node.py
+5
-5
5 additions, 5 deletions
nav2_system_tests/src/system/tester_node.py
with
5 additions
and
5 deletions
nav2_system_tests/src/system/tester_node.py
+
5
−
5
View file @
f6129860
...
...
@@ -19,20 +19,20 @@ import sys
import
time
from
typing
import
Optional
from
action_msgs.msg
import
GoalStatus
from
geometry_msgs.msg
import
Pose
from
geometry_msgs.msg
import
PoseStamped
from
geometry_msgs.msg
import
PoseWithCovarianceStamped
from
lifecycle_msgs.srv
import
GetState
from
nav2_msgs.srv
import
ManageLifecycleNodes
from
nav2_msgs.action
import
NavigateToPose
from
action
_msgs.
msg
import
GoalStatu
s
from
nav2
_msgs.
srv
import
ManageLifecycleNode
s
import
rclpy
from
rclpy.action
import
ActionClient
from
rclpy.node
import
Node
from
rclpy.qos
import
QoSDurabilityPolicy
,
QoSHistoryPolicy
,
QoSReliabilityPolicy
from
rclpy.qos
import
QoSProfile
from
rclpy.action
import
ActionClient
class
NavTester
(
Node
):
...
...
@@ -170,7 +170,7 @@ class NavTester(Node):
def
shutdown
(
self
):
self
.
info_msg
(
'
Shutting down
'
)
transition_service
=
"
lifecycle_manager/manage_nodes
"
transition_service
=
'
lifecycle_manager/manage_nodes
'
mgr_client
=
self
.
create_client
(
ManageLifecycleNodes
,
transition_service
)
while
not
mgr_client
.
wait_for_service
(
timeout_sec
=
1.0
):
self
.
info_msg
(
transition_service
+
'
service not available, waiting...
'
)
...
...
@@ -218,7 +218,7 @@ def run_all_tests(robot_tester):
if
(
result
):
robot_tester
.
wait_for_node_active
(
'
bt_navigator
'
)
if
(
result
):
result
=
robot_tester
.
runNavigateAction
()
;
result
=
robot_tester
.
runNavigateAction
()
# TODO(orduno) Test sending the navigation request through the topic interface.
# Need to update tester to receive multiple goal poses.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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