SlotForum banner
41 - 60 of 136 Posts

· Simon Platten
Joined
·
1,014 Posts
No idea why there are so many posts from me on this topic...could a moderator please remove them please.

@Sam, I can confirm that after sending my details to you that were requested I hadn't received anything in response.
 

· Simon Platten
Joined
·
1,014 Posts
@Sam, thanks for the mail, I got the document...I have an up-to-date Windows 7 64 bit installation, but don't have the svcutil.exe, it would be useful in your document to specify where to obtain this from.

Also I'm confused about what it is you are asking for here? As the API seems to be a series of URL calls to make a tweet or get the number of tweets....are you asking for people to create alternate web-sites that allow web-users to tweet for a car?
 

· Premium Member
Joined
·
4,847 Posts
Have to say organisation is a bit of a mess here.

I had given up on making an entry because of the date, now we find out but were not informed that the data has been extended?

I also have oustanding questions from over a week ago.

Also Sy do not know what information you have been sent, but I was sent the API documentation and can see no mention of svcutil.exe? I just have a URL link to the API and details of the returned JSON.

Rich
 

· Premium Member
Joined
·
4,847 Posts
OK we have the same document. When I visit the link I download the tweet numbers / time as expected.

What I was trying to find out, but have had no reply to, before I gave in because of the date.... Was confirmation that it will be a Scalectric digital track? (otherwise non starter for me) Can we have an XLC after the start line? Will the URL remain the same because I will have to have it hard coded in my track interface? Can we be given the means of updating the tweet numbers for testing?

Rich
 

· Simon Platten
Joined
·
1,014 Posts
Hi RichG, the instructions in the document were to take the svcutil.exe and the URL and paste into the command line. On my system I don't have svcutil.exe

To implement this API on a PIC, one could use a WiFi or Ethernet module with an TCP stack implementing basic HTTP protocol, once the HTTP interface is up and running you could then use the PIC to drive the power to the cars. I'm still a big confused as to what is being asked for.

@Sam, are you looking for an idea or a complete design by the closing date...idea is fine, complete design is out of the question.
 

· Premium Member
Joined
·
4,847 Posts
OK in that case we have different documents, have just searched it and svcutil.exe is not found. However accesing the URL does give me the tweet data.

I am planning on using a Wiznet module interface to my Dispay-Pro (Wi-Slot Power module), however the Network part completely untried at this point. Also as confused as you as to exact requirement by when, another unanswered question. Although I do know that they have more than one working prototype including one from someone who worked the entire Weekend that entries were opened. Which was the other reason I gave up...

Rich
 

· Premium Member
Joined
·
4,847 Posts
I have the same Doc & link as you, but I dont get that, just a download & save with the Tweet data. However this is all a bit academic as it's on the PC.....

Rich
 

· Simon Platten
Joined
·
1,014 Posts
RichG, just got your PM, interesting, if it does work differently in IE8 then it isn't W3C complaint....IE9 and Firefox are both HTML5 compatible and Firefox is fully W3C complaint...

I've since tried:

Opera version 12.00
Chrome version 21.0.1180.60 m
Safari version 5.1.7
Internet Explorer version 9.0.8112.16421

All return the same as Firefox version 15.0:


Ok, I can see how this is supposed to work, ignoring the svchost.exe command and just posting the URL with various parameters into a browser.

So the API gets the number of tweets from the server using:

URL/GetLatest

This returns a JSON item 'd', which has two comma delimited numbers which I assume are tweets for Car A and tweets for Car B. What are the parameters subtractorCarA and subtractorCarB supposed to do? I can see that supplying a number for either adjusts the tweets returned, BTW, if I supply a negative number I can actually increase the number of tweets returned, this should be fixed as it would mean clients could fiddle the results.

It looks like the client would have to keep track of the actual tweets as the server always returns the cumulative values, subtracting only seems to adjust the values returned in the URL. If the client is keeping track of the tweets then no need for the subtractor options.

So I think the client could just keep track of the last cumulative total returned and apply that to the new total returned with the time stamp.

BTW, for the developers, JSON allows you to create objects that are desciptive, so you could and IMHO should change the returned data to something like:

CODE{"carAtweets":33,
"carBtweets":15,
"time":"20:36:33.0781"}
 

· Premium Member
Joined
·
4,847 Posts
OK just checked I have IE9. However on going to the link I get the open or save dialog and on opening get this data.

{"d":"33,15,20:28:42.2885"}

Rich
 

· Premium Member
Joined
·
4,847 Posts
I have no worries about the data format or how then to handle it, subtractor looks to be a complete waste of time. My concern is the amount of work to interface the Wiznet module to my other hardware and get the firmware working to drive it and then access the Tweet data to then drive my track interface module.

If someone else in a Weekend has constructed hardware with the SSD track drive data protocol & an Internet interface to retrieve the Tweet data, and then all the glue to make it work together I should probably just retire gracefully.


Rich
 

· Registered
Joined
·
32 Posts
Hi all - again, apologies Rich, could you check your spam folder as (possibly as with Sy) it may have ended up there as I did reply. Either that or the webmail service I'm using is causing some troubles!

In regards to the the timeline, race day is on the 31st August so as long as the winning track can be built and tested by then all will be well. However the deadline for concept submissions is the 13th August

It is not a digital track (so far as I'm aware) - could someone explain to me the difference as, being new to slot car racing, I'm not really clear on the impact it will have!

Thanks guys
 

· Premium Member
Joined
·
658 Posts
Assuming that you are using Scalextric track.

With an analogue track cars stay in their lanes and are propelled by their motors as their lane is powered when a controller trigger is pulled.

Digital racing is different as the lanes are permanently powered and the cars are controlled with a digital signal sent to a chip within the car to send power to the motor. They can also switch lanes for overtaking etc. when a signal is sent to lane changers within the track rails.
 

· Premium Member
Joined
·
4,847 Posts
QUOTE (Sam RS @ 24 Jul 2012, 17:25) <{POST_SNAPBACK}>A digital track

QUOTE (Sam RS @ 7 Aug 2012, 10:54) <{POST_SNAPBACK}>Hi all - again, apologies Rich, could you check your spam folder as

It is not a digital track (so far as I'm aware)

OK I give in... No Spam folder here, and your previous emails came through fine.

Earlier you said yes to a digital track , now no...


Rich
 

· Simon Platten
Joined
·
1,014 Posts
QUOTE In regards to the the timeline, race day is on the 31st August so as long as the winning track can be built and tested by then all will be well. However the deadline for concept submissions is the 13th August

Sorry, I can't design and create hardware for the 31st and write the software to. Allowing for ordering bits and time for stuff to arrive, put it together and test, just not enough time.
 
41 - 60 of 136 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top