Skip to content

Commit

Permalink
[spot_basic_behaviors] update elevator detection launch
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Nov 29, 2023
1 parent 4fe579c commit da01860
Showing 1 changed file with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<arg name="TOPIC_CAMERA_LEFT" default="/spot/camera/left"/>
<arg name="TOPIC_CAMERA_BACK" default="/spot/camera/back"/>

<arg name="switchbot_token_yaml" default="/var/lib/robot/credentials/switchbot_token.yaml"/>
<arg name="elevator_device_type" default=""/>
<arg name="elevator_device_name" default="/dev/elevator_device"/>
<arg name="initial_floor" default="0"/>

Expand Down Expand Up @@ -202,23 +202,11 @@
<remap from="~output" to="/spot_recognition/elevator_door_points"/>
</node>

<!-- switchbot_ros -->
<node
pkg="switchbot_ros"
type="switchbot_ros_server.py"
name="switchbot_ros"
output="screen">
<rosparam
command="load"
file="$(arg switchbot_token_yaml)"
/>
</node>

<!-- elevator state_ publisher -->
<include
file="$(find elevator_operation)/launch/elevator_state_publisher.launch">
<arg name="initial_floor" value="$(arg initial_floor)"/>
<arg name="device_type" value=""/>
<arg name="device_type" value="$(arg elevator_device_type)"/>
<arg name="device_name" value="$(arg elevator_device_name)"/>
<arg name="robot_type" value="spot"/>
</include>
Expand Down

0 comments on commit da01860

Please sign in to comment.