Skip to content

Commit

Permalink
Set up publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminwp18 committed Jun 8, 2024
1 parent 9bd8684 commit 608f452
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/pi/temp_sensor/launch/temp_sensor_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ def generate_launch_description() -> LaunchDescription:
Launches temperature sensor node
"""
# flood_detection = Node(
# package='flood_detection',
# executable='flood_detector',
# emulate_tty=True,
# output='screen',
# remappings=[('/pi/flooding', '/tether/flooding')]
# )
temp_sensor = Node(
package='temp_sensor',
executable='temp_sensor',
emulate_tty=True,
output='screen',
remappings=[('/pi/temperature', '/tether/temperature')]
)

return LaunchDescription([
# flood_detection
temp_sensor
])
2 changes: 1 addition & 1 deletion src/pi/temp_sensor/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
tests_require=['pytest'],
entry_points={
'console_scripts': [
# 'flood_detector = flood_detection.flood_detector:main',
'temp_sensor = temp_sensor.temp_sensor:main',
# 'dry_run = flood_detection.gpio_reader_dry_run:main'
],
},
Expand Down

0 comments on commit 608f452

Please sign in to comment.