Ubuntu Pastebin

Paste from victor at Tue, 29 Sep 2015 15:29:43 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
=== modified file 'examples/ros/snapcraft.yaml'
--- examples/ros/snapcraft.yaml	2015-09-28 02:10:25 +0000
+++ examples/ros/snapcraft.yaml	2015-09-29 15:14:33 +0000
@@ -8,13 +8,19 @@
 parts:
   roscore:
     type: roscore
-  catkin-tutorials:
-    source: .
-    type: catkin
-    catkin-pkg: beginner_tutorials
-
-binaries:
-  listener:
-    exec: opt/ros/jade/lib/beginner_tutorials/listener
-  talker:
-    exec: opt/ros/jade/lib/beginner_tutorials/talker
+    rosversion: indigo
+#  catkin-tutorials:
+#    source: .
+#    type: catkin
+#    catkin-pkg: beginner_tutorials
+
+services:
+  roscore:
+    start: opt/ros/indigo/bin/roscore
+
+#binaries:
+  #listener:
+    #exec: opt/ros/indigo/lib/beginner_tutorials/listener
+  #talker:
+    #exec: opt/ros/indigo/lib/beginner_tutorials/talker
+

=== modified file 'snapcraft/plugins/roscore.py'
--- snapcraft/plugins/roscore.py	2015-09-22 16:11:00 +0000
+++ snapcraft/plugins/roscore.py	2015-09-29 14:50:58 +0000
@@ -22,13 +22,13 @@
     _PLUGIN_STAGE_PACKAGES = [
     ]
 
-    _PLUGIN_STAGE_SOURCES = ('deb http://packages.ros.org/ros/ubuntu/ vivid main\n'
-                             'deb http://archive.ubuntu.com/ubuntu/ vivid main universe\n'
-                             'deb http://archive.ubuntu.com/ubuntu/ vivid-updates main universe\n'
-                             'deb http://archive.ubuntu.com/ubuntu/ vivid-security main universe\n')
+    _PLUGIN_STAGE_SOURCES = ('deb http://packages.ros.org/ros/ubuntu/ trusty main\n'
+                             'deb http://archive.ubuntu.com/ubuntu/ trusty main universe\n'
+                             'deb http://archive.ubuntu.com/ubuntu/ trusty-updates main universe\n'
+                             'deb http://archive.ubuntu.com/ubuntu/ trusty-security main universe\n')
 
     def __init__ (self, name, options):
-        self.rosversion = options.rosversion or 'jade'
+        self.rosversion = options.rosversion or 'indigo'
         self._PLUGIN_STAGE_PACKAGES.append('ros-' + self.rosversion + '-ros-core')
         super().__init__(name, options)
 
Download as text