|
1 | | -/******************************************************************************* |
2 | | -* Copyright 2016 ROBOTIS CO., LTD. |
3 | | -* |
4 | | -* Licensed under the Apache License, Version 2.0 (the "License"); |
5 | | -* you may not use this file except in compliance with the License. |
6 | | -* You may obtain a copy of the License at |
7 | | -* |
8 | | -* http://www.apache.org/licenses/LICENSE-2.0 |
9 | | -* |
10 | | -* Unless required by applicable law or agreed to in writing, software |
11 | | -* distributed under the License is distributed on an "AS IS" BASIS, |
12 | | -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | -* See the License for the specific language governing permissions and |
14 | | -* limitations under the License. |
15 | | -*******************************************************************************/ |
16 | | - |
17 | | -/* Authors: Gilbert */ |
18 | | - |
19 | | - |
20 | 1 | #!/usr/bin/env python |
| 2 | +################################################################################# |
| 3 | +# Copyright 2016 ROBOTIS CO., LTD. |
| 4 | +# |
| 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +# you may not use this file except in compliance with the License. |
| 7 | +# You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +################################################################################# |
| 17 | + |
| 18 | +# Authors: Gilbert # |
| 19 | + |
21 | 20 | import rospy |
22 | 21 | import sys |
23 | 22 | from sensor_msgs.msg import LaserScan |
@@ -146,7 +145,6 @@ def scan_spot_filter(msg): |
146 | 145 | if __name__=="__main__": |
147 | 146 | rospy.init_node('AutoParking') |
148 | 147 | cmd_pub = rospy.Publisher('/cmd_vel', Twist, queue_size=1) |
149 | | - #scan_spot_pub = rospy.Publisher("/scan_spot", LaserScan, queue_size=1) |
150 | 148 | reset_pub = rospy.Publisher('/reset', Empty, queue_size=1) |
151 | 149 | msg = LaserScan() |
152 | 150 | r = rospy.Rate(10) |
|
0 commit comments