German Larrain committed 5abf90b

ControlledSimpleArm: q2_SP attribute renamed to q2_INITIAL_SP

Comments (0)

Files changed (1)


 	LINK2_PARAMS = ((0.6,0.1,(0,0.7,0.2)),{'density':1})
 	SP_STEP = 0.1
-	q2_SP = 0.0 # mut.pi/3 # set point
+	q2_INITIAL_SP = 0.0 # mut.pi/3 # set point
 	R2_KP = 1.0 # controller proportional action
 	R2_KD = 0.5 # controller derivative action
-		self.sp = self.q2_SP
+		self.sp = self.q2_INITIAL_SP
 		self.previous_error = 0.0
 	def create_sim_objects(self):
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
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.