Programming – FireBears https://firebears.org FIRST Robotics Team 2846 Roseville, MN Tue, 30 Aug 2022 21:29:52 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 https://firebears.org/wp-content/uploads/2016/02/cropped-photo-1-32x32.png Programming – FireBears https://firebears.org 32 32 Firebears Programming 1.19.17 https://firebears.org/firebears-programming-1-19-17/ Fri, 20 Jan 2017 02:06:45 +0000 https://54.188.23.233/?p=1563

]]>
Arduino Programming https://firebears.org/arduino-programming/ Thu, 24 Sep 2015 01:03:51 +0000 https://54.188.23.233/?p=1085 Arduino Programming Read More »

]]>
This Fall we’ll be using Arduino microcontrollers to teach programming and also to  cross-train with the electrical subteam.  Microcontrollers  are small computers that are well suited to  electrical hacking.

We’ll be writing little Arduino programs in C++, which is similar to the Java programming language we’ll use to program the big robots.

We’ll have a few loner computers available, but if you have your own laptop, it really helps to bring it in to the meeting.  Better yet, you can get a jump on things by preinstalling the software from https://www.arduino.cc/en/Main/Software .

Here’s a short video introduction to Arduino:

[embedyt]http://www.youtube.com/watch?v=pnf8ojsK6S4[/embedyt]

]]>
Rockin’ Robot https://firebears.org/rockin-robot/ Tue, 11 Feb 2014 00:06:29 +0000 https://54.188.23.233/?p=738 Rockin’ Robot Read More »

]]>
A team member controlling the robot with a guitar.
A team member controlling the robot with a guitar.

On a Friday in January after moving into our new location at the mall, our programming team figured out how to control last years robot with a guitar-shaped controller, known for its use in popular video games. After we learned to control our robot with the guitar, it became quite the team bonding experience. “It was the coolest thing ever” said Amy, a marketing member “We were working on chairmans and talking about what we could talk about and I looked behind me and I just pointed at it.”

Our team hopes to implement this design on future projects. Stay Flaming.

]]>
Computer Benchmarks https://firebears.org/computer-benchmarks/ https://firebears.org/computer-benchmarks/#comments Thu, 06 Jun 2013 03:12:29 +0000 https://54.188.23.233/?p=484 Computer Benchmarks Read More »

]]>
Recently we worked on a Java benchmark program to measure the relative speeds of our computers.  The program finds prime numbers, and will print out how many milliseconds were required to find the millionth prime.

Computer ProcessorClock Speed GHzOperating SystemJava VersionMilliseconds
LaptopIntel I72.900Windows 7Hotspot 1.71,997
LaptopIntel I52.500Windows 7Hotspot 1.6 (64 Bit)2,418
LaptopCore 2 Duo2.000Mac OS 10.6.3Hotspot 1.66,817
NetbookAtom1.600Mac OS 10.6.3Hotspot 1.627,809
Raspberry PiARM0.700RaspbianOpen JDK 1.6337,430
cRIOPPC0.400VxWorksSquawk650,664

We all have a good idea about how fast our personal computers are, but it’s less obvious how consumer machines compare to our robot’s cRIO processor or to external processors like the Raspberry Pi.

]]>
https://firebears.org/computer-benchmarks/feed/ 1