Author |
Message |
TannerLD
Rookie
Joined: Thu Oct 09, 2008 8:08 pm Posts: 2
|
 Brake/Coast Not Working
Hello, We finally got our FTC kit so I get to play with all the bells and whistles of it for a few days. Though, when I started to play with it, I noticed that I could not set the 12V DC Motors to coast or brake. The line of code below does nothing. Is this a bug or am I missing something? Thanks -Tanner
|
Thu Oct 30, 2008 6:48 pm |
|
 |
2008FTC3049
Rookie
Joined: Sun Nov 30, 2008 7:34 pm Posts: 2
|
 Re: Brake/Coast Not Working
Hey,
We've been having the exact same problem. Hopefully by bumping the thread there will be a reply.
|
Sun Nov 30, 2008 11:29 pm |
|
 |
commander599
Rookie
Joined: Thu Dec 04, 2008 4:40 pm Posts: 8
|
 Re: Brake/Coast Not Working
_________________ Trying to help you will be like trying to find a worm in the middle of a blizzard. A white worm.
|
Fri Dec 05, 2008 5:54 pm |
|
 |
TannerLD
Rookie
Joined: Thu Oct 09, 2008 8:08 pm Posts: 2
|
 Re: Brake/Coast Not Working
Glad to know its just not me and not a isolated problem.
-Tanner
|
Fri Dec 05, 2008 5:56 pm |
|
 |
commander599
Rookie
Joined: Thu Dec 04, 2008 4:40 pm Posts: 8
|
 Re: Brake/Coast Not Working
I know, It makes you feel stupid when it's just you and an isolated problem. Have you had any problems with a servo testbed?
_________________ Trying to help you will be like trying to find a worm in the middle of a blizzard. A white worm.
|
Fri Dec 05, 2008 5:57 pm |
|
 |
Sunny1261
Novice
Joined: Thu Oct 09, 2008 7:58 pm Posts: 79
|
 Re: Brake/Coast Not Working
We haven't gotten to test any Servos yet, but I have not heard of any problems. 
|
Sun Dec 07, 2008 1:09 pm |
|
 |
Ford Prefect
Guru
Joined: Sat Mar 01, 2008 12:52 pm Posts: 1030
|
 Re: Brake/Coast Not Working
abandon all hope! all they'll do is threaten to ban you! 
_________________ regards, HaWe aka Ford #define S sqrt(t+2*i*i)<2 #define F(a,b) for(a=0;a<b;++a) float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}
|
Sun Dec 07, 2008 2:18 pm |
|
 |
10nisman94
Novice
Joined: Mon Oct 13, 2008 6:29 pm Posts: 75 Location: Florida, USA
|
 Re: Brake/Coast Not Working
Brake worked great for us, maybe its a bug. At least this is a reply 
_________________ PHUHS Robotics Team 516 FTW
Daytona Robofest Winning Alliance Captain Daytona Robofest Inspire Award
|
Mon Dec 08, 2008 5:36 pm |
|
 |
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 620
|
 Re: Brake/Coast Not Working
The Brake/Coast variable is meant for NXT motors, not for the FTC motors. The motor controller does not allow us to select "coast/brake" mode, so you'll have to kludge it.
Apply a speed of "1" to get the FTC motor to coast, and a speed of "0" to get the FTC motor to brake.
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
Tue Dec 09, 2008 10:45 am |
|
|