I am a newbee to RobotC, and I would like to ask how to let the robot perform 2 actions at the same time?
For example: While the robot is moving, the grabber will keep open and close.
Sun Dec 02, 2007 3:16 am
elemes
Expert
Joined: Fri Nov 09, 2007 4:51 am Posts: 121 Location: Hungary, Europe
task control
RobotC on NXT can run more tasks concurrently.
Within RobotC click on the "TASKS" item on help bar.
Help file on your computer:
C:\Program Files\Robotics Academy\ROBOTC for Mindstorms\RobotC Documentation\NXT\Task Control.htm
Example program with simple task control:
C:\Program Files\Robotics Academy\ROBOTC for Mindstorms\Sample Programs\NXT\NXT Task Test.c
More real-life examples are listed among the bluetooth sample programs.
Sun Dec 02, 2007 6:27 am
cuttlefish
Rookie
Joined: Sun Dec 02, 2007 3:11 am Posts: 3
Re: task control
elemes wrote:
RobotC on NXT can run more tasks concurrently. Within RobotC click on the "TASKS" item on help bar.
Help file on your computer:
C:\Program Files\Robotics Academy\ROBOTC for Mindstorms\RobotC Documentation\NXT\Task Control.htm
Example program with simple task control:
C:\Program Files\Robotics Academy\ROBOTC for Mindstorms\Sample Programs\NXT\NXT Task Test.c
More real-life examples are listed among the bluetooth sample programs.
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