Skip to content

Commit

Permalink
Merge pull request #1508 from knorth55/fetch-switch-bot
Browse files Browse the repository at this point in the history
[jsk_fetch_startup] add switchbot in fetch_bringup.launch
  • Loading branch information
k-okada authored Aug 9, 2022
2 parents f8365f6 + 23e374b commit 5e6ec78
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.rosinstall.melodic
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@
- git:
local-name: UbiquityRobotics/magni_robot
uri: https://github.com/UbiquityRobotics/magni_robot
# switchbot_ros is not correctly released.
# see: https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/356
- git:
local-name: jsk-ros-pkg/jsk_3rdparty
uri: https://github.com/jsk-ros-pkg/jsk_3rdparty.git
version: f0ab7bba54523b8f9945ed4a3e9c0efec0c8dde9
6 changes: 6 additions & 0 deletions jsk_fetch_robot/jsk_fetch_startup/launch/fetch_bringup.launch
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<arg name="keepout_map_file" default="$(find jsk_maps)/raw_maps/eng2-7f-0.05_keepout.yaml" />
<arg name="use_build_map" default="false" />
<arg name="use_keepout" default="true" />
<arg name="fetch_switchbot" default="true" />

<param name="robot/type" value="fetch" />
<param name="robot/name" command='bash -c "hostname | xargs echo -n"' />
Expand Down Expand Up @@ -97,6 +98,11 @@
<!-- twitter -->
<include file="$(find jsk_fetch_startup)/launch/fetch_tweet.launch" />

<!-- switchbot -->
<include file="$(find switchbot_ros)/launch/switchbot.launch" if="$(arg fetch_switchbot)">
<arg name="token" value="/var/lib/robot/switchbot_token.txt" />
</include>

<!-- app manager -->
<include file="$(find jsk_robot_startup)/lifelog/app_manager.launch">
<arg name="use_applist" value="false" /> <!-- use plugin -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@
<arg name="boot_sound" value="false" />
<arg name="launch_teleop" value="false" /> <!-- duplicates cmd_vel_mux nodes -->
<arg name="launch_insta360" value="false" />
<arg name="fetch_switchbot" value="false" />
</include>
</launch>
1 change: 1 addition & 0 deletions jsk_fetch_robot/jsk_fetch_startup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<run_depend>robot_pose_publisher</run_depend>
<run_depend>rviz</run_depend>
<run_depend>touchegg</run_depend>
<run_depend>switchbot_ros</run_depend>
<run_depend>tf2_ros</run_depend>
<run_depend>voice_text</run_depend>

Expand Down

0 comments on commit 5e6ec78

Please sign in to comment.