Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
isr_cobot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rodrigo Ventura
isr_cobot
Commits
bbd96c7a
Commit
bbd96c7a
authored
Oct 28, 2015
by
yoda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update requested by Ze Nuno
parent
de3302cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
rosbuild/scout_navigation/locations.py
rosbuild/scout_navigation/locations.py
+5
-4
No files found.
rosbuild/scout_navigation/locations.py
View file @
bbd96c7a
...
...
@@ -109,6 +109,11 @@ class Locations:
# goal not found
return
(
False
,
"Goal '%s' not found"
%
(
goal
))
def
get_location
(
self
,
location
):
try
:
return
self
.
locations
[
location
]
except
KeyError
:
return
None
## --- OLD OBSOLETE CODE (remains from CMU CoBot) ---
...
...
@@ -143,10 +148,6 @@ class Locations:
print
"%15s --> (%f, %f, %f)"
%
(
r
,
x
,
y
,
a
)
def
test1
(
argv
):
if
len
(
argv
)
>
1
:
l
=
Locations
(
argv
[
1
])
...
...
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