Alert Sounds?

Post here to get support
Post Reply
KOschi
Beginner
Posts: 20
Joined: Thu May 16, 2013 4:49 pm

Alert Sounds?

Post by KOschi »

hi,

is it Possible to make an Update for the Crazyflie PC Client (Or even the Crazyflie itself with this) so it makes an alert noise when
1) the batterie is allmost empty?
2) the crazyflie is allmost out of range or the links signal is really bad?

This would really help to prevent crashes.
Surrender
Expert
Posts: 100
Joined: Tue May 14, 2013 8:31 pm
Location: Austria

Re: Alert Sounds?

Post by Surrender »

Yes, it should be possible to add sounds to the pc client.
I found something on the internet, using the libary winsound:

import winsound
Freq = 2500 # Set Frequency To 2500 Hertz
Dur = 1000 # Set Duration To 1000 ms == 1 second
winsound.Beep(Freq,Dur)

Link: http://stackoverflow.com/questions/6537 ... beep-noise


Currently I have no time for anything but I will add these features like beeping when low battery or when disconnected on the crazyflie itself.



Sent from my GT-I9100 using Tapatalk 4 Beta
Post Reply