Rvis filter point cloud
Edit1: I use a TI radar sensor with teh following rviz commands:
<!-- Static transform from map to base_radar_link for visualization of stand-alone mmWave sensor using Rviz -->
<node pkg="tf" type="static_transform_publisher" name="static_tf_map_to_base_radar_link" args="0 0 0 0 0 0 map base_radar_link 100"/>
<!-- Launch Rviz with pre-defined configuration to view mmWave sensor detected object data (color by intensity) -->
<node pkg="rviz" type="rviz" name="rviz" args="-d $(find ti_mmwave_rospkg)/launch/radar_det_obj_color_by_intensity.rviz"/>
Now I tried to insert the following code but there was no effect. But I am not Sure where to add it (I tried to add it after the static transformation) and what i must insert in the remap line?!
<node pkg="nodelet" type="nodelet" name="box_filter_pcl_manager" args="manager" output="screen"/>
<!-- Run a passthrough filter to delimit in x direction -->
<node pkg="nodelet" type="nodelet" name="psx" args="load pcl/PassThrough box_filter_pcl_manager" output="screen">
<remap from="/mr/ti_radar/RScan" to="/mr/ti_radar/RScan" />
<rosparam>
filter_field_name: z
filter_limit_min: -0.5
filter_limit_max: 0.5
</rosparam>
</node>
Hi I try to visualize the recorded data from a radar sensor. This works fine with rvis and pointcloud 2 but now i want to filter the values. All values over a value and under a value should not be shown in rviz. Is there an easy filter function in rvis directly to do that or to i need any kind of filter node between the rosbag and rviz? br Harald