forked from moveit/moveit2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(moveit_py) node can have multiple param files (moveit#2393)
A node is often started with multiple param files. Using `list.index` only returns the first occurrence. The new code searches for all occurrences.
- Loading branch information
1 parent
cc7b4d9
commit 15d9d61
Showing
4 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from moveit.core import * | ||
from moveit.planning import * | ||
from moveit.utils import get_launch_params_filepath | ||
from moveit.utils import get_launch_params_filepaths |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
from typing import List, Optional | ||
|
||
def create_params_file_from_dict(params, node_name): ... | ||
def get_launch_params_filepath(): ... | ||
def get_launch_params_filepaths(cli_args: Optional[List[str]] = ...) -> List[str]: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters