-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68784a7
commit 0732865
Showing
6 changed files
with
134 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import os | ||
import launch | ||
import launch_ros.actions | ||
from ament_index_python.packages import get_package_share_directory | ||
import launch | ||
|
||
|
||
def generate_launch_description(): | ||
config_dir = os.path.join(get_package_share_directory( | ||
"camera_streaming"), "config") | ||
config_dir = os.path.join(get_package_share_directory("camera_streaming"), "config") | ||
|
||
params_file = os.path.join(config_dir, "webrtc.yaml") | ||
|
||
webrtc_node = launch_ros.actions.Node( | ||
package="camera_streaming", | ||
executable="webrtc_node", | ||
output="log", | ||
parameters=[params_file], | ||
arguments=["--ros-args", "--log-level", "Info"]) | ||
|
||
package="camera_streaming", | ||
executable="webrtc_node", | ||
output="log", | ||
parameters=[params_file], | ||
arguments=["--ros-args", "--log-level", "Info"], | ||
) | ||
|
||
return launch.LaunchDescription([webrtc_node]) | ||
|
Oops, something went wrong.