puma / Puma.py

Diff from to
 	def home(self):
 		self.move_raw(10000, [0,0,0,0,0,0])
 	def start(self):
-		self.move_raw(10000, [4552, 3893, -16821, 23999, -11607, -4646])
+		self.move_raw(20000, [4552, 3893, -16821, 23999, -11607, -4646])
 
 	def swing(self, speed):
 		cur = self.counts[5]
 		self.moveto(6, cur + 20000, 1000)
-		time.sleep(2)
-		self.moveto(6, cur - 20000, speed)
 		time.sleep(3)
+		self.moveto(6, cur - 30000, speed)
+		time.sleep(4)
 		self.moveto(6, cur, 1000)
 
 	# Move immediately to an explicit IK computed position
 			r.start()
 			continue
 		if line == "swing":
-			r.swing(20000)
+			r.swing(10000)
 			continue
 		if line == "hold":
 			r.move_raw(1000, r.counts)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.