|
12 | 12 | * Redistributions in binary form must reproduce the above copyright
|
13 | 13 | notice, this list of conditions and the following disclaimer in the
|
14 | 14 | documentation and/or other materials provided with the distribution.
|
15 |
| - * Neither the name of Systems, Robotics and Vision Group, University of |
16 |
| - the Balearican Islands nor the names of its contributors may be used to |
17 |
| - endorse or promote products derived from this software without specific |
| 15 | + * Neither the name of Systems, Robotics and Vision Group, University of |
| 16 | + the Balearican Islands nor the names of its contributors may be used to |
| 17 | + endorse or promote products derived from this software without specific |
18 | 18 | prior written permission.
|
19 | 19 |
|
20 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
43 | 43 | import roslib.packages
|
44 | 44 | except ImportError:
|
45 | 45 | # Checks the installation of the necessary python modules
|
46 |
| - rospy.loginfo((os.linesep * 2).join(["An error found importing one module:", |
| 46 | + print((os.linesep * 2).join(["An error found importing one module:", |
47 | 47 | str(sys.exc_info()[1]), "You need to install it", "Stopping..."]))
|
48 | 48 | sys.exit(-2)
|
49 | 49 |
|
@@ -71,7 +71,7 @@ def show_graph(g,package = 0):
|
71 | 71 | g.write('}')
|
72 | 72 | if len(g.getvalue())>26:
|
73 | 73 | drawable = True
|
74 |
| - window = xdot.xdot.DotWindow() |
| 74 | + window = xdot.DotWindow() |
75 | 75 | window.set_dotcode(g.getvalue())
|
76 | 76 | if package:
|
77 | 77 | window.set_title('Package {0}'.format(package))
|
@@ -144,7 +144,7 @@ def draw_folder(g,folder):
|
144 | 144 | incl_ext = os.path.basename(node.attrib.get('file'))
|
145 | 145 | incl = os.path.splitext(incl_ext)[0]
|
146 | 146 | node_includes.append(incl)
|
147 |
| - if node.tag == "node": |
| 147 | + if node.tag == "node": |
148 | 148 | node_type = node.attrib.get('type')
|
149 | 149 | if node_type == "nodelet":
|
150 | 150 | node_type = node.attrib.get('args')
|
|
0 commit comments