|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Hang on, let me get this straight....
Is Labview still available to teams to program the robot? Is it that Java is replacing Labview or we're just gonna' have a 3rd programming language available? |
|
#17
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
I believe Java is another option for teams, along with LabVIEW and C++.
|
|
#18
|
|||
|
|||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Quote:
However, at one of the feedback sessions they did mention considering dropping C (not C++, just C) support: Only one team reported using it, and they were planning to move away from it any way. |
|
#19
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
It'll be interesting to see what happens here since Sun is now being bought out:
http://www.pcworld.com/article/16340...n_for_74b.html Whenever a new owner comes in, a lot of old projects within a company being bought out can get axed rather suddenly. Hopefully this isn't one of them. |
|
#20
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Heh, the cRIO is getting complicated
. So long as the other two languages aren't glitched by adding another one in, I see this as an opportunity for other teams. We'll stick with the C++ core with a Java display on the front-end. That hits all of the strong points on our team. ![]() I can't wait to have the "But there are no memory leaks in Java!" discussion...just wait, it will happen. |
|
#21
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
What I want to know, is whether this is going to open the door a little be more for other platforms to program on.(aka mac os, linux, ??solaris??).
None the less, this looks like an exciting thing to come out to the world of FRC. |
|
#22
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Quote:
{edit} Sorry, I meant these 3 platforms: Windows, OS X, and Linux. I assume they figured that very few robot people would be interested in using it on Solaris, but I'm sure they could make that work too. {/edit} |
|
#23
|
|||||
|
|||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Quote:
Don't even get me started on the ridiculous amount of time it takes to build a LabVIEW program this year. |
|
#24
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
you can reboot by pressing the reset button on the crio. the programmers on our team have a rebooting tool, a small philips screwdriver that fits perfectly in the button. it's faster than the complete power cycle, and as fast (if not faster) as Reset target server (or whatever it is called, using WR)
|
|
#25
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
After speaking with a number of teams, many do not know about the 3 finger reboot. Also, some of those that did know didn't know that if it doesn't display "Robot Rebooting" on the driver station screen that robot didn't reboot.
|
|
#26
|
|||
|
|||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
I run linux every day on my laptop and every other computer I own and use, but I wouldn't want to use it on a robot if I had the choice to use VxWorks or some other real realtime OS. The robot needs to be realtime to be guaranteed to respond quickly to user and sensor input, and Linux is not designed to do that. It's designed to run on servers and desktops where a bit of latency isn't an issue. There are patches that have been made to make the linux kernel more real time, but they aren't nearly as good as running an actual realtime OS.
|
|
#27
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Just wait until you get acess to the FPGA. Whatever definition of ridiculous you are using pales in comparison to hardware synthesis.
|
|
#28
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Quote:
Thats what the FPGA is for, it takes care of the nasty latency dependent stuff for us (among other things). Quote:
From the experience I've had so far, porting software to vxWorks is really annoying (even nix-like software) because it has random oddities in its networking library (and other libraries too). The biggest advantage I see for linux would be that theres a *ton* of software that would pretty much *just work* without too much modification. Not so with vxWorks. Then we wouldn't be just talking about java bots, we could have python bots or ruby bots... ![]() |
|
#29
|
|||
|
|||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Correct me if I'm wrong, but I believe that updating the speeds of the motors on the robot 50 times a second while processing images using the rest of the CPU time would qualify. When I've tried to get code I've written under Linux to execute a loop 50 times a second without the timing being off by a fairly large percentage while using all of the available CPU resources, I've had trouble and found the best way to get the loop to execute every 20 ms is to use less CPU resources. Maybe I was doing it wrong, but that's been my experience.
|
|
#30
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Quote:
In any case, I value the flexibility quite a bit more than I value the realtimeness. Cmon, a robot controlled by a shell script... would be pretty amusing. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SECOND Robotics Competition "Underdrive" | Tanner | Off-Season Events | 2 | 22-11-2008 17:34 |
| Cannot "Grab frame" with java CMUcam2 GUI | TOECUTTER | Programming | 0 | 20-01-2007 12:50 |
| Rules of Engagement and "Unfair Competition" | Richard Neese | General Forum | 2 | 24-03-2003 13:03 |
| how tall is the ramp when in "up" and "balanced" position??? | archiver | 2001 | 1 | 24-06-2002 00:54 |
| An idea to better improve the First competition...or, at least make it more "hardcore"... | archiver | 1999 | 1 | 23-06-2002 22:02 |