View Single Post
  #1   Spotlight this post!  
Unread 20-02-2014, 15:29
danruff5 danruff5 is offline
Hobbiest Programmer
FRC #4525 (Rambot)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Springfield
Posts: 13
danruff5 is an unknown quantity at this point
Playing Sound Through Computer

This year our robot has two large pistions that loads an elastic to hit the ball to shoot it. If the pressure is low the pistons take a long time fully lock the pistons. I have a switch to detect when its in the correct location to retract them before fireing.

During pratice the idea came up to inform the drivers of when its ready to fire. However it takes a long time to have to look down at the computer to the Smartdashboard. The idea came up to make a sound play! This sounds really cool but many of the programmers on our team have been doing lots of research on how to do this.

We have found a way to play .wav files through a simple java program. However it requeires javax. So my question is how do we get javax into the robot? OR: How do we get the computer to play a sound file from the robot?

Thank you! I think that this is really cool idea and we have plans to make different sounds at different times. The robot will takl to the drivers!

Also... sorry for my lack of spelling ability.
__________________
100101010101
Reply With Quote