View unanswered posts | View active topics It is currently Tue Nov 25, 2014 7:13 pm






Reply to topic  [ 4 posts ] 
Send and receive data through cortex remote port 
Author Message
Rookie

Joined: Thu Jul 07, 2011 1:34 am
Posts: 5
Post Send and receive data through cortex remote port
I need to send data back and forth between a computer and the vex cortex controller through its wireless remote joystick.

I am looking for getChar() and sendChar() functionality that works through the prolific serial interface when connected to the programming port of the remote joystick.

Or writeDebugStream() functionality that can work with a program other than RobotC's debugger. When monitoring the prolific serial port the writeDebugStream() data is not sent unless the robot is in debug mode. As a feature it buffers the data until the debugger is connected.

Can someone please tell me the secret?
Thanks.


Thu Jul 07, 2011 2:11 am
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 406
Post Re: Send and receive data through cortex remote port
Hi goeckerd,

What is it you're trying to accomplish, exactly, and why can't you use the writeDebugStream command with the robot in Debug mode? I would say that the writeDebugStream command is your best bet.

The getChar and sendChar currently only work over the UART ports on the Cortex.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Thu Jul 07, 2011 8:22 am
Profile
Rookie

Joined: Thu Jul 07, 2011 1:34 am
Posts: 5
Post Re: Send and receive data through cortex remote port
I need a custom program running on the computer to interact with the robot.


Thu Jul 07, 2011 10:48 am
Profile
Rookie

Joined: Thu Jul 07, 2011 1:34 am
Posts: 5
Post Re: Send and receive data through cortex remote port
Communication between a robot and PC is done all the time with the NXT controllers. We need this functionality for the VEX Cortex.

My students have lots of great ideas for projects that involve controlling a robot or multiple robots through a computer.
Please don't make me spend the time reverse engineering the debugger interface to get some of this functionality.


Fri Jul 08, 2011 3:48 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.