Clemson ECE 453
Would you like to react to this message? Create an account in a few clicks or log in to continue.

API? do yall have one yet?

2 posters

Go down

API? do yall have one yet? Empty API? do yall have one yet?

Post  dsmarsh Mon Feb 02, 2009 8:59 pm

We need an api from yall that tells the gui when to end the game (when you register a hit)
dsmarsh
dsmarsh

Posts : 54
Join date : 2009-01-08
Age : 38

Back to top Go down

API? do yall have one yet? Empty Re: API? do yall have one yet?

Post  dsmarsh Tue Feb 03, 2009 7:09 pm

--This is the API for the Sensor Group to the Comm Group--

Code:
// ECE 453 - Spring 2009
// Communications and Sensor API
// Describes the application programming interface between the communication
// group and sensor on the laptop.

//the Sensor group calls this function when there is a hit registered on either robot
//dead == true when robot was hit
void RoverDead(bool dead);



I can do that or have a bool global variable that you can set true or false.
Either way is fine with us.
dsmarsh
dsmarsh

Posts : 54
Join date : 2009-01-08
Age : 38

Back to top Go down

API? do yall have one yet? Empty Re: API? do yall have one yet?

Post  memaier Tue Feb 03, 2009 9:18 pm

That looks fine. We have a bool that we set to TRUE when hit that we can pass you. Thanks!
memaier
memaier

Posts : 24
Join date : 2009-01-11

Back to top Go down

API? do yall have one yet? Empty Re: API? do yall have one yet?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum