Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
leungjch committed Mar 16, 2024
1 parent bbd26f1 commit 5ece74b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
3 changes: 2 additions & 1 deletion src/perception/lane_detection/launch/eve.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from ament_index_python.packages import get_package_share_directory
import os


def generate_launch_description():
ld = LaunchDescription()

Expand All @@ -22,4 +23,4 @@ def generate_launch_description():

ld.add_action(lane_detection_node)

return ld
return ld
3 changes: 2 additions & 1 deletion src/perception/lane_detection/launch/nuscenes.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from ament_index_python.packages import get_package_share_directory
import os


def generate_launch_description():
ld = LaunchDescription()

Expand All @@ -22,4 +23,4 @@ def generate_launch_description():

ld.add_action(lane_detection_node)

return ld
return ld
2 changes: 1 addition & 1 deletion src/perception/lane_detection/src/lane_detection_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ LaneDetectionNode::LaneDetectionNode() : Node("lane_detection"), count_(0) {
this->create_publisher<lane_detection_msgs::msg::LaneDetection>(publish_lanes_topic_, 10);
}

LaneDetectionNode::image_callback(const sensor_msgs::msg::Image::ConstSharedPtr &msg) {
void LaneDetectionNode::image_callback(const sensor_msgs::msg::Image::ConstSharedPtr &msg) {
cv_bridge::CvImagePtr cv_ptr;
try {
cv_ptr = cv_bridge::toCvCopy(msg, sensor_msgs::image_encodings::BGR8);
Expand Down
17 changes: 3 additions & 14 deletions watod-config.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
## ----------------------- watod Configuration File Override ----------------------------

##
## HINT: You can copy the contents of this file to a watod-config.local.sh
## file that is untrackable by git and readable by watod.
##

############################ ACTIVE MODULE CONFIGURATION ############################
## List of active modules to run, defined in docker-compose.yaml.
##
## List of active modules to run, defined in docker-compose.yaml.
## Possible values:
## - infrastructure : starts visualization tools (foxglove and/or vnc and/or data_stream)
## - perception : starts perception nodes
Expand All @@ -17,15 +14,7 @@

# ACTIVE_MODULES=""

################################# MODE OF OPERATION #################################
## Possible modes of operation when running watod.
## Possible values:
## - deploy (default) : runs production-grade containers (non-editable)
## - develop : runs developer containers (editable)

# MODE_OF_OPERATION=""

############################## ADVANCED CONFIGURATIONS ##############################
############################## OPTIONAL CONFIGURATIONS ##############################
## Name to append to docker containers. DEFAULT = "<your_watcloud_username>"
# COMPOSE_PROJECT_NAME=""

Expand Down

0 comments on commit 5ece74b

Please sign in to comment.