Main Problem was that when the connection breaks, it needs much time to rebuild the connection(Handshake and so on). But you dont have much time, so the Copter crashes.davidstory wrote:Hi Marlon,
I was going to try to use wifi for radio control, but read that it didn't work well for you. Can you give more details why it didn't work? (range, delay, interference, etc..)
I just send a string like "x=0.23 y=0.123 ..." so you can read the communication with every Programm.davidstory wrote:I have a Gyroscope, Accelerometer, and Magnetometer connected to a Raspberry Pi and communicating over an I2C connection. I coded up Mayhony's Quaternion implementation of a DCM filter. The RPi can read all three sensors and pass through the filter, resulting in a stable Yaw, Pitch, and Roll in 3 milliseconds. Holding the breadboard in my hand I can spin it around and watch the values change accordingly.
I also have an I2C servo/driver board to control the Electronic Speed Controllers.
Next, I need to come up with a protocol to control the copter over wifi, any suggestions?
I have not purchased a quadcopter frame, ESC's, motors, propellers, or battery yet.
Looks like a good choice for a programming language. I first tried it in python (my favorite language, just import evrything you need and it works , but the I²C implementation was too slow. Now i am using C++.
I do not use a Remote Control Reciver like other Quadcopter. Im using a RFM12 radio module:davidstory wrote:How do you read the signal from the Remote Control receiver?
I assume its producing a PWM signal, and I'll need a chip that converts that to something I can read on the RPi.
Users browsing this forum: No registered users and 10 guests