|
88 | 88 | <param name="tuck_button" value="5"/>
|
89 | 89 | </node>
|
90 | 90 |
|
91 |
| - <!-- safe teleop --> |
92 |
| - <node name="unsafe_vel_mux" pkg="topic_tools" type="mux" respawn="true" |
93 |
| - args="/teleop/cmd_vel /teleop/cmd_vel/safe /teleop/cmd_vel/unsafe"> |
94 |
| - <remap from="mux" to="unsafe_vel_mux" /> |
95 |
| - </node> |
96 |
| - |
97 |
| - <!-- m.button[10]: L1 --> |
98 |
| - <!-- m.button[9] : R2 --> |
99 |
| - <!-- safe teleop with L1 --> |
100 |
| - <node name="cmd_vel_mux_selector" pkg="jsk_robot_startup" type="mux_selector.py" |
101 |
| - respawn="true" |
102 |
| - args="/joy 'm.buttons[10]==1' /teleop/cmd_vel /cmd_vel 'True' /cmd_vel"> |
103 |
| - <remap from="mux" to="cmd_vel_mux" /> |
104 |
| - <param name="default_select" value="/cmd_vel" /> |
105 |
| - </node> |
106 |
| - |
107 |
| - <!-- unsafe teleop with L1 and R2 --> |
108 |
| - <node name="unsafe_vel_mux_selector" pkg="jsk_robot_startup" type="mux_selector.py" |
109 |
| - respawn="true" |
110 |
| - args="/joy 'm.buttons[10]==1 and m.buttons[9]==1' /teleop/cmd_vel/unsafe /joy 'm.buttons[10]==1 and m.buttons[9]==0' /teleop/cmd_vel/safe"> |
111 |
| - <remap from="mux" to="unsafe_vel_mux" /> |
112 |
| - <param name="default_select" value="/teleop/cmd_vel/safe" /> |
113 |
| - </node> |
114 |
| - |
115 |
| - <node name="safe_teleop_base" pkg="safe_teleop_base" type="safe_teleop_base"> |
116 |
| - <remap from="base_velocity" to="/teleop/cmd_vel/unsafe" /> |
117 |
| - <remap from="~safe_vel" to="/teleop/cmd_vel/safe" /> |
118 |
| - <remap from="/odom" to="$(arg odom_topic)" /> |
119 |
| - <rosparam file="$(find fetch_navigation)/config/costmap_common.yaml" command="load" ns="local_costmap" /> |
120 |
| - <rosparam file="$(find fetch_navigation)/config/fetch/costmap_common.yaml" command="load" ns="local_costmap" /> |
121 |
| - <rosparam file="$(find fetch_navigation)/config/costmap_local.yaml" command="load" ns="local_costmap" /> |
122 |
| - <rosparam file="$(find fetch_navigation)/config/fetch/costmap_local.yaml" command="load" ns="local_costmap" /> |
123 |
| - </node> |
124 |
| - <rosparam ns="safe_teleop_base/local_costmap"> |
125 |
| - inflater: |
126 |
| - inflation_radius: 1.0 # 0.7 |
127 |
| - cost_scaling_factor: 3.0 # 25.0 default 10, increasing factor decrease the cost value |
128 |
| - obstacles: |
129 |
| - min_obstacle_height: 0.05 |
130 |
| - # default 5 (http://wiki.ros.org/navigation/Tutorials/Navigation%20Tuning%20Guide) |
131 |
| - update_frequency: 10.0 |
132 |
| - footprint_padding: 0.05 |
133 |
| - </rosparam> |
134 |
| - |
135 | 91 | <node name="safe_tilt_head" pkg="jsk_fetch_startup" type="safe_tilt_head.py" />
|
136 | 92 |
|
137 | 93 | <!-- audible warning on unsafe teleop -->
|
|
0 commit comments