Refactor launch files. Fake diagnostics.
This commit is contained in:
parent
a5f2c9952f
commit
1d8bac9f7c
|
|
@ -3,14 +3,10 @@
|
|||
<param from="$(find-pkg-share am_i_up)/params/am_i_up.yaml"/>
|
||||
</node>
|
||||
|
||||
<node pkg="data_simulator" exec="image_publisher" name="image_publisher" />
|
||||
<node pkg="image2rtsp" exec="image2rtsp" name="image2rtsp">
|
||||
<env name="GST_DEBUG" value="3"/>
|
||||
<param from="$(find-pkg-share am_i_up)/params/image2rtsp.yaml"/>
|
||||
</node>
|
||||
<include file="$(find-pkg-share media_mtx_wrapper)/launch/mediamtx.launch.xml">
|
||||
<arg name="config_file_path" value="$(find-pkg-share am_i_up)/params/mediamtx.yaml" />
|
||||
</include>
|
||||
|
||||
<node pkg="data_simulator" exec="position_publisher" name="position_publisher" />
|
||||
<include file="$(find-pkg-share am_i_up)/launch/data_simulators.launch.xml" />
|
||||
|
||||
</launch>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
<launch>
|
||||
<!-- Images -->
|
||||
<node pkg="data_simulator" exec="image_publisher" name="image_publisher" />
|
||||
<node pkg="image2rtsp" exec="image2rtsp" name="image2rtsp">
|
||||
<env name="GST_DEBUG" value=""/> <!-- Setting to 3 can help if its not working -->
|
||||
<param from="$(find-pkg-share am_i_up)/params/image2rtsp.yaml"/>
|
||||
</node>
|
||||
|
||||
<!-- Vehicle Position -->
|
||||
<node pkg="data_simulator" exec="position_publisher" name="position_publisher" />
|
||||
|
||||
<!-- Diagnostics -->
|
||||
<node pkg="data_simulator" exec="diagnostic_publisher" name="diagnostic_1">
|
||||
<param name="diag_level" value="OK"/>
|
||||
<param name="node_name" value="node_1"/>
|
||||
</node>
|
||||
|
||||
<!-- Aggregator -->
|
||||
<node pkg="diagnostic_aggregator" exec="aggregator_node">
|
||||
<param from="$(find-pkg-share am_i_up)/params/diag_agg.yaml"/>
|
||||
</node>
|
||||
</launch>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**:
|
||||
ros__parameters:
|
||||
analyzers:
|
||||
all:
|
||||
type: 'diagnostic_aggregator/GenericAnalyzer'
|
||||
path: 'Agg'
|
||||
regex: ['.*']
|
||||
Loading…
Reference in New Issue