Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Servo 2 and PID settings
10-30-2019, 03:48 PM
Post: #1
Servo 2 and PID settings
I tried out the Servo 2 today and noticed something very strange. When I change the P-Speed setting on the 2nd page of the app the Servo 2 starts to move.
Is it possible that they are somehow using the same "channel"?


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
11-01-2019, 10:30 AM
Post: #2
RE: Servo 2 and PID settings
(10-30-2019 03:48 PM)justjason Wrote:  I tried out the Servo 2 today and noticed something very strange. When I change the P-Speed setting on the 2nd page of the app the Servo 2 starts to move.
Is it possible that they are somehow using the same "channel"?

Well, that is at least... strange! :-D
The P-Speed slider just modify in the code, the P value Huh
Could you please send us a video or try to upload it to this forum?
Visit this user's website Find all posts by this user
Quote this message in a reply
11-01-2019, 05:55 PM
Post: #3
RE: Servo 2 and PID settings
Here you go.
I must admit , I did make a small code change, could this be an issue ?
from
https://github.com/jjrobots/B-ROBOT_EVO2...2.ino#L540

BROBOT_moveServo2(SERVO2_NEUTRO + (OSCfader[2] - 0.5) * SERVO2_RANGE);

I have changed it to

BROBOT_moveServo1(SERVO_AUX_NEUTRO + (OSCfader[2] - 0.5) * 8400);

basically just assigned servo 1 to the slider


Attached File(s)
.mp4  WhatsApp Video 2019-11-01 at 18.38.21.mp4 (Size: 2.68 MB / Downloads: 4)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)