| Author |
Message |
|
royalthemaster
Novice
Joined: Mon Oct 22, 2012 2:14 pm Posts: 51
|
 Re: remote control
okay so problem...all lights on smantha modual are blinking all of a sudden, we dont know whats going on and its freaking me out!
|
| Mon Nov 26, 2012 5:46 pm |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
If you haven't seen this already. Here is the Samantha LED guide. https://sites.google.com/site/ftcsamoledcodes/
|
| Mon Nov 26, 2012 5:50 pm |
|
 |
|
royalthemaster
Novice
Joined: Mon Oct 22, 2012 2:14 pm Posts: 51
|
 Re: remote control
now the samantha wont even recignize that there r wifi networks available, is it possible to make it so i can see and choose which networks it is trying to connect to? and if so how?
|
| Tue Nov 27, 2012 5:49 pm |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
The Samantha module must be pre-configured with the SSID and Passcode for it to connect to the WiFi network. You preconfigure the Samantha network with the Samantha Network Configuration tool. http://www.usfirst.org/sites/default/fi ... _Teams.pdfThis is done on your laptop with a USB flash drive. You run the samocfg.exe tool, enter the SSID and passcode. It will generate the network configuration file to your USB flash drive. Then you insert the flash drive to the Samantha module following the instructions described in the above doc. There is no UI allowing you to preview the available wireless networks and pick one.
|
| Tue Nov 27, 2012 5:59 pm |
|
 |
|
royalthemaster
Novice
Joined: Mon Oct 22, 2012 2:14 pm Posts: 51
|
 Re: remote control
the only reason we arnt able to do this is probally because of the fricken wifi stuff...so i wil try ot reset and go through all the steps in setting this up and see if that helps, also how do i make it so the wheels go as fast as how i want them to...rather than start and stop at full power?
|
| Wed Nov 28, 2012 1:07 am |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
I don't understand your question. Do you mean you want a gentler start and stop? Are you talking about teleop or autonomous? Please explain your question.
|
| Wed Nov 28, 2012 1:59 am |
|
 |
|
royalthemaster
Novice
Joined: Mon Oct 22, 2012 2:14 pm Posts: 51
|
 Re: remote control
1. i am talking about tele-op, when i move the joysticks alittle bit its just immediate start and then immediate stop when i move joysticks back. 2. how do i move lets say, and arm on port A agian on tele-op? 3. okay, i figuerd out that the robot is trying to connect to the school guest network instead of the network we use for the cisco router, so how do i change which wifi signal the samantha is trying to connect to?
(sorry about this msg being multiple questions <.>
|
| Wed Nov 28, 2012 4:14 pm |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
This depends on how your code is using the joystick value to program the motors. Please post your code so we can help you figure out why. Again, there is not enough information in your question. Are you trying to have some controls on your game controller to move the arm? If so, what is it? A stick, a button? What do you want the behavior be? Like I said, the document from the link below describes how you run samocfg.exe to specify what wireless network your Samantha should connect to and to provide the network passcode. Please read the doc. http://www.usfirst.org/sites/default/fi ... _Teams.pdf
|
| Wed Nov 28, 2012 4:26 pm |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
I have posted some code on this thread that might help you. viewtopic.php?f=52&t=5184
|
| Wed Nov 28, 2012 7:49 pm |
|
 |
|
royalthemaster
Novice
Joined: Mon Oct 22, 2012 2:14 pm Posts: 51
|
 Re: remote control
okay here is a ruff copy of the code, as far as i can tell the only difference between the 2 is the motor/sensor config stuff:
|
| Mon Dec 03, 2012 3:23 pm |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
So what's your question? BTW, the code you posted was incomplete.
|
| Mon Dec 03, 2012 3:28 pm |
|
 |
|
royalthemaster
Novice
Joined: Mon Oct 22, 2012 2:14 pm Posts: 51
|
 Re: remote control
my question is, how to make the robots arm move (or what that code would look like) using a motor to move the arm
|
| Mon Dec 03, 2012 3:36 pm |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
Did you look at the thread on the sample code I posted? http://robotc.net/forums/viewtopic.php?f=52&t=5184
|
| Mon Dec 03, 2012 3:37 pm |
|
 |
|
royalthemaster
Novice
Joined: Mon Oct 22, 2012 2:14 pm Posts: 51
|
 Re: remote control
if you mean about the encoder thing then ya i did and it didnt help at all... i defintly dont understand this
|
| Mon Dec 03, 2012 4:58 pm |
|
 |
|
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1023
|
 Re: remote control
You have to ask more specific question. "The code didn't help" does not tell me anything. Do you have an encoder on your arm motor. If you don't and you just want to use the joystick to control the arm without regard on any limits on the arm swing, then you could simplify the code:
|
| Mon Dec 03, 2012 5:17 pm |
|
|