Commits

German Larrain committed 5abf90b

ControlledSimpleArm: q2_SP attribute renamed to q2_INITIAL_SP

Comments (0)

Files changed (1)

bin/ControlledSimpleArm.py

 	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.set_pre_step_callback(self.on_pre_step)
 		
-		self.sp = self.q2_SP
+		self.sp = self.q2_INITIAL_SP
 		self.previous_error = 0.0
 	
 	def create_sim_objects(self):