I took off in manual mode gain height and switched to stabilazed everything works great .
The alerons feels like fighting me but soon i discover that turning using only rudder works great .
I tryed waypoints and the plane turned to the first waypoint when getting to second waypoint the plane lost height ( i am not sure if under 30m or not) and disapired in the sun , i took over and got it back.
Then i tryed a few times RTH .
I turned off my transmiter and the plane turned and started to fly toward me but without motor .
Third time i took off in stabilized mode but for some reason the motor throtteled down almost to zero i turned to manual mode to save the plane.
Bassicly i have 3 questions :
1) What should i do to lower the stabilization for ailrons ?
2) Why the motor turns off in RTL ?
3) Is there anything that turns motor in low alttitude in stabilized mode?
I had similar problems, it very nearly drove me insane but, with the help of some of the group I am now programming the UDB like there was never a problem. Stick at it, dont give in, you will win in the end
I have manage to compile and upload the latest version But i think there is a problem with the GPS reciever.
When i connect everithing on the gps recivers the red led lights very faint.
At first i thought it is because no gps signal indoors but tryed it outdoors waited more then 5 minutes same problem.
I have compailed a version with #define TestGains uncommented to check that everything works and it looks ok
The ruuder/ailrons/eilevator are working and correcting in the correct direction.
Replies
Created simple 250mX100m 30m
const struct relative3D waypoints[] = {
{ 0 , 0 , 30} ,
{ -150 , 0 , 30} ,
{ -150 , 100 , 30 } ,
{ 100 , 100 , 30 } ,
{ 100 , 0 , 30 } ,
} ;
I took off in manual mode gain height and switched to stabilazed everything works great .
The alerons feels like fighting me but soon i discover that turning using only rudder works great .
I tryed waypoints and the plane turned to the first waypoint when getting to second waypoint the plane lost height ( i am not sure if under 30m or not) and disapired in the sun , i took over and got it back.
Then i tryed a few times RTH .
I turned off my transmiter and the plane turned and started to fly toward me but without motor .
Third time i took off in stabilized mode but for some reason the motor throtteled down almost to zero i turned to manual mode to save the plane.
Bassicly i have 3 questions :
1) What should i do to lower the stabilization for ailrons ?
2) Why the motor turns off in RTL ?
3) Is there anything that turns motor in low alttitude in stabilized mode?
Excellent news, good luck with the rest of the process
any messages are coming back from the GPS at all.
I think I would simply set a break point at the location where the GPS messages have been parsed.
e.g. here in the code.
If the debugger stops at that point in the code, then you are receiving messages from the GPS.
Pete
I had similar problems, it very nearly drove me insane but, with the help of some of the group I am now programming the UDB like there was never a problem. Stick at it, dont give in, you will win in the end
When i connect everithing on the gps recivers the red led lights very faint.
At first i thought it is because no gps signal indoors but tryed it outdoors waited more then 5 minutes same problem.
I have compailed a version with #define TestGains uncommented to check that everything works and it looks ok
The ruuder/ailrons/eilevator are working and correcting in the correct direction.
Any idea ?