Add basic package for launch integration
This commit is contained in:
commit
a859bb6aa6
7 changed files with 105 additions and 0 deletions
29
tracetools_launch/trace.py
Normal file
29
tracetools_launch/trace.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
from typing import List
|
||||
from typing import Optional
|
||||
from typing import Text
|
||||
|
||||
from launch.action import Action
|
||||
from launch_context import LaunchContext
|
||||
from launch_description_entity import LaunchDescriptionEntity
|
||||
|
||||
|
||||
class Trace(Action):
|
||||
"""
|
||||
Tracing action for launch.
|
||||
|
||||
Sets up and enables tracing through a launch file description.
|
||||
"""
|
||||
|
||||
def __init__(self, *,
|
||||
session_name: str,
|
||||
base_path: str,
|
||||
events_ust: List[str],
|
||||
events_kernel: List[str],
|
||||
**kwargs) -> None:
|
||||
"""Constructor."""
|
||||
super().__init__(**kwargs)
|
||||
|
||||
def execute(self, context: LaunchContext) -> Optional[List[Action]]:
|
||||
# TODO
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue