Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
db-guided-mrmp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rmoan2
db-guided-mrmp
Commits
5b5ff222
Commit
5b5ff222
authored
6 months ago
by
rachelmoan
Browse files
Options
Downloads
Patches
Plain Diff
remove some unused code
parent
c29ee9be
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
guided_mrmp/planners/multirobot/db_guided_mrmp.py
+3
-3
3 additions, 3 deletions
guided_mrmp/planners/multirobot/db_guided_mrmp.py
with
3 additions
and
3 deletions
guided_mrmp/planners/multirobot/db_guided_mrmp.py
+
3
−
3
View file @
5b5ff222
...
...
@@ -85,7 +85,7 @@ class GuidedMRMP:
return
trajectory
def
find_all_conflicts
(
self
,
desired_controls
,
desired_trajs
,
dt
):
def
find_all_conflicts
(
self
,
desired_trajs
,
dt
):
"""
Check for any conflicts that will occur between robots in the next time horizon
"""
...
...
@@ -174,8 +174,8 @@ class GuidedMRMP:
# get the next control for each robot
next_desired_controls
,
trajectories
=
self
.
get_next_controls_and_trajectories
(
screen
)
# find all the conflicts at the next time
step
conflicts
=
self
.
find_all_conflicts
(
next_desired_controls
,
trajectories
,
dt
)
# find all the conflicts at the next time
horizon
conflicts
=
self
.
find_all_conflicts
(
trajectories
,
dt
)
# resolve the conflicts using the database
# resolver = TrajOptDBResolver(10, 60, conflicts, self.robots)
...
...
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