|
Page 1 of 1
|
[ 6 posts ] |
|
Communication between cortex and pc
| Author |
Message |
|
LPIE
Rookie
Joined: Tue May 15, 2012 10:27 am Posts: 3
|
 Communication between cortex and pc
Hi,
I would like to know if it's possible to send an instruction to the cortex during the execution of the program. For example, the robot goes forward and I sends an instruction "stop" to stop it.
Thank you
|
| Wed May 30, 2012 4:43 am |
|
 |
|
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 385
|
 Re: Communication between cortex and pc
Every time you download a program to the robot, you'll notice that a small Program Debug window pops up. On that window, you'll see a "Start" button that allows you to run the program while the robot is connected over USB or VEXnet. Once the program is running, the button changes to "Stop", which you can press to stop the robot.
|
| Wed May 30, 2012 12:20 pm |
|
 |
|
LPIE
Rookie
Joined: Tue May 15, 2012 10:27 am Posts: 3
|
 Re: Communication between cortex and pc
Thank you for your answer. I already saw this windows but the "stop" was just an example. I give you others exemples : - The robot goes forward and I send an instruction "turn left" - The robot finds an obstacle and sends me message to tell me this
|
| Thu May 31, 2012 8:05 am |
|
 |
|
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 385
|
 Re: Communication between cortex and pc
You would need to program that behavior yourself. You could use the Remote Control to do it, assigning a different behavior (turn right, left, etc) to different buttons.
|
| Thu May 31, 2012 8:17 am |
|
 |
|
LPIE
Rookie
Joined: Tue May 15, 2012 10:27 am Posts: 3
|
 Re: Communication between cortex and pc
And the other way (robot send to PC) is possible or not ?
|
| Thu May 31, 2012 8:59 am |
|
 |
|
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 385
|
 Re: Communication between cortex and pc
I'm not sure what you mean. ROBOTC and the Cortex communicate back and forth.
|
| Mon Jun 11, 2012 8:30 am |
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|