Created
February 25, 2021 10:15
-
-
Save AlexKaravaev/40ab121370461db5c64cd2d863f8403f to your computer and use it in GitHub Desktop.
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
/shadow/state/eclipse_board: | |
ros__parameters: | |
baudrate: 9600 | |
port: '/dev/ttyTHS1' | |
import launch | |
import launch.actions | |
import launch.substitutions | |
import launch_ros.actions | |
import os | |
from ament_index_python.packages import get_package_share_directory | |
def generate_launch_description(): | |
config = os.path.join( | |
get_package_share_directory('shadow_launch'), | |
'config', | |
'config.yaml' | |
) | |
return launch.LaunchDescription([ | |
launch_ros.actions.Node( | |
package='eclipse_board', executable='eclipse_board_driver', | |
output='screen', parameters=[config], | |
namespace="/shadow/state", | |
remappings=[('/car_info', '/shadow/state/car_info')]) | |
]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment