erwinvaneyk / quadcopter

Control software for a quadcopter for the course Embedded Real-Time Systems
0 stars 2 forks source link

CONNECTION SAFETY BUG #105

Closed hakhundov closed 9 years ago

hakhundov commented 9 years ago

the QR works when plugged back in

erwinvaneyk commented 9 years ago

Easiest fix would be to have some communication timeout on the pc side as well, that it switches back to safe mode packets after X time no communication

hakhundov commented 9 years ago

that's one way.

another way is to use one flag in the qr side that does not allow it to do anything until its switched to safemode. you will see it now. implementing it at the moment.

On Thu, Oct 15, 2015 at 11:49 PM, Erwin van Eyk notifications@github.com wrote:

Easiest fix would be to have some communication timeout on the pc side as well, that it switches back to safe mode packets after X time no communication

— Reply to this email directly or view it on GitHub https://github.com/erwinvaneyk/quadcopter/issues/105#issuecomment-148531652 .

erwinvaneyk commented 9 years ago

The problem is that when it goes into the panic mode after communication loss, is that it will be in safe mode actually

hakhundov commented 9 years ago

just give me couple of minutes.

On Fri, Oct 16, 2015 at 12:03 AM, Erwin van Eyk notifications@github.com wrote:

The problem is that when it goes into the panic mode after communication loss, is that it will be in safe mode actually

— Reply to this email directly or view it on GitHub https://github.com/erwinvaneyk/quadcopter/issues/105#issuecomment-148535956 .

hakhundov commented 9 years ago

@erwinvaneyk check the PR please.