Skip to content

Commit

Permalink
test with debug
Browse files Browse the repository at this point in the history
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
  • Loading branch information
Owen-Liuyuxuan committed Oct 22, 2024
1 parent 2094d47 commit d112eaf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_node_tag(node_tag: ET.Element, base_namespace: str, context: dict, loc
continue
# print(path, child.get("from"))
local_parameters["__param_files"].append(path)
if path == "":
if path == "" or not os.path.exists(path):
print("-----Node Parameter not Found------")
print(f"----package: {pkg}-----")
print(f"----exec: {executable}-----")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from autoware_debug_tools.topic_connection_checker.launch_file_analyse.launch_xml_parser import parse_xml
from autoware_debug_tools.topic_connection_checker.launch_file_analyse.string_utils import find_unset_parameters, find_cmake_projects
from autoware_debug_tools.topic_connection_checker.launch_file_analyse.string_utils import find_cmake_projects
from autoware_debug_tools.topic_connection_checker.launch_file_analyse.launch_tree import find_unset_parameters



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ The identified problematic topics can then be used as input for the Topic Locali
When launching from the `autoware/pilot-auto` directory, use the following command:

```bash
ros2 run autoware_debug_tools topic_localizer --topics $TOPIC1,$TOPIC2
ros2 run autoware_debug_tools topic_localizer . $TOPIC1,$TOPIC2

## If we launch from a different directory
ros2 run autoware_debug_tools topic_localizer $AUTOWARE_DIRECTORY $TOPIC1,$TOPIC2
```

Replace `$TOPIC1,$TOPIC2` with the actual topic names you want to localize, separated by commas.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self):

# List of important topics to check; only add topics that are known to be important
# we will also listen to diagnostic messages to find out topics that create problems
self.important_topics = set("/control/command/control_cmd")
self.important_topics = set()

self.ignore_topics = [
"/rosout",
Expand Down

0 comments on commit d112eaf

Please sign in to comment.