Skip to content

Commit

Permalink
final update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasnol committed Dec 18, 2024
1 parent a87fd7a commit 7fd4590
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 48 deletions.
14 changes: 5 additions & 9 deletions code/perception/launch/perception.launch
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@
<param name="range_topic" value="/carla/hero/LIDAR_range"/>
</node>




<node pkg="perception" type="debug_wrapper.py" name="Lanedetection" output="screen" args="--debug_node=Lanedetection_node.py --debug_port=53000 --debug_wait">
<node pkg="perception" type="Lanedetection_node.py" name="Lanedetection" output="screen">
<param name="role_name" value="$(arg role_name)" />
</node>



<!--
<node pkg="perception" type="Lanedetection_node.py" name="Lanedetection" output="screen">
<node pkg="perception" type="debug_wrapper.py" name="Lanedetection" output="screen" args="debug_node=Lanedetection_node.py debug_port=53000 debug_wait">
<param name="role_name" value="$(arg role_name)" />
</node>
-->
Expand All @@ -103,10 +103,6 @@
<param name="range_topic" value="/carla/hero/RADAR_range"/>
</node>

<node pkg="perception" type="lane_position.py" name="lane_position" output="screen">
<param name="role_name" value="$(arg role_name)" />
</node>


</launch>

2 changes: 1 addition & 1 deletion code/perception/src/Lanedetection_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def image_handler(self, ImageMsg):
applies lane detection and Driveable area detection to given ImageMsg
"""
# free up cuda memory
if self.device == "cuda":
if self.device== "cuda":
torch.cuda.empty_cache()

image, original_image = self.preprocess_image(ImageMsg)
Expand Down
38 changes: 0 additions & 38 deletions code/perception/src/lane_position.py

This file was deleted.

0 comments on commit 7fd4590

Please sign in to comment.