|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
help on easyC
does easy c automatically vary the speed for the amount that you move the controller.
please answer this if you can. |
|
#2
|
|||
|
|||
|
Re: help on easyC
Loki1989, I dont entirely understand the question; could you elaborate a little bit?
Are you wondering about joystick input to the speed controllers? I cant quite tell from the question. I'll be happy to help you out if you explain a bit more! |
|
#3
|
||||
|
||||
|
Re: help on easyC
because of our C++ we have a different speed for our robot depending on our controller values
im wondering if easyC will do this. |
|
#4
|
|||
|
|||
|
Re: help on easyC
If I understand the question correctly, you are asking if easyC automatically relays the joystick values to the speed controllers to the motors; i.e. does easyC automaticall map joystick output to pwms. The answer to that is no; it is, however, very simple. You create an infinite while loop in the operator control section [while(true)], and then within that loop you put the code that maps your style of drive to the motors. easyC has "drag and drop" functions that allow you to drag, for instance "4 wheel tank drive" into the code window, and then use a GUI to assign axes and pwm outputs- very user friendly, very easy.
I'll be happy to help you out with any other questions you've got, and I hope I understood the current question correctly; just a tip, but the more detail you provide, and the more precise the language you use, the easier and more accurately one can answer your question! -Dillon Compton team 1394 |
|
#5
|
||||
|
||||
|
Re: help on easyC
ok that tells me what i wanted but now i dont understand putting in a while loop because what exactically does a while loop do
|
|
#6
|
|||
|
|||
|
Re: help on easyC
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EasyC Wish List | dcbrown | Programming | 32 | 14-08-2006 09:24 |
| EasyC autonomous modes | TubaMorg | Programming | 25 | 12-04-2006 22:53 |
| EasyC v2.0 is mandatory for FVC! | skimoose | FIRST Tech Challenge | 7 | 14-01-2006 18:37 |
| Kickoff easyC workshop integrated into EasyC help file | Dan Larochelle | Programming | 0 | 11-01-2006 06:12 |