Discussion group for ArduCopter users
Drone flying to non visible point
Hi there,I encountered a problem, while flying in auto mode, with approching to point that was not set by trajectory and is not visible after downloading mission from flight controller by Mission Planner. Does anybody encountered similar problem. The situation is that in the middle flight I stopped the UAV and uploaded new mission and after changing to auto mode it starts to fly in some direction. It goes straight to some point, so I assume it's not mechanical problem. I attached the link to…
Read more…
Comments
Marianne,
No, they are a bit out of date (sorry, I'll update the wiki). Note that if you load your code from the AP_MissionPlanner you'll get the right values. Here are the best PID values for a Trex450.
// roll
#define STABILIZE_ROLL_P 0.70
#define STABILIZE_ROLL_I 0.025
#define STABILIZE_ROLL_D 0.04
#define STABILIZE_ROLL_IMAX 7
// pitch
#define STABILIZE_PITCH_P 0.70
#define STABILIZE_PITCH_I 0.025
#define STABILIZE_PITCH_D 0.04
#define STABILIZE_PITCH_IMAX 7
// yaw stabilise
#define STABILIZE_YAW_P 1.4
#define STABILIZE_YAW_I 0.02
#define STABILIZE_YAW_D 0.0
// throttle
#define THROTTLE_P 0.075
#define THROTTLE_I 0.001
#define THROTTLE_D 0.100
#define THROTTLE_IMAX 100
By the way, for questions/comments on the TradHeli, I think you should put them in this discussion. This is where we have the most trad heli people. http://www.diydrones.com/forum/topics/600-size-heli
-Randy
Is the PID setup still the same with the PID in this link http://code.google.com/p/arducopter/wiki/TradHeli_Testing ?
I do believe that I have found the problem. The good ESC starts to rotate at 1050us and the others start at about 930us. I don't know how that happened as they were all the same. The problem is that they don't want to program since I cleaned them with contact LR!!!!
I have it working better now. But only motor (No.3) is responding as it should. I guess it is a calibrations issue then?
Jani
Thanks for that, Yes I did calibrate both, but I do have a question about the 4 small switches next to the CLI switch. Is this function still used in the latest code?
Also on another point. I have a blue board that has damage to the USB socket. Is it still possible to load code through the xbee telemetry?
Denny did you calibrate your ESCs and Radio? And or are you in flight or CLI mode (that small white switch on top of blue board). It sounds like your ESCs are not calibrated yet for your radio. Also if you have constantly solid green immediately after reboot, you are in flight mode.
Chris I just installed a new sensor board and everything seems perfect but it won't arm and I get motors doing a regular sound about twice per second. The radio inputs and the outputs along with the sensor outputs are all showing up in the flight data panel. Cables are good. and motor calib. has been done manually. I have the regular blue light flashing on the lower board plus a steady green on the top?
hey guys i want to reverse camera stablization
i have place RC_CP_rev to -1 and it doesnt work anyone else got any ideas
Chris,
Thanks for the comment. We will be starting a project on the arducopter at the university where i work. One part of this project is the calculation of the maximum performance we can get out of the arducopter. These calculations will be backed up by measurements. I suppose we could report the results of this study if this helps the community. If there is information available in the form of datasheets of electronic components etc i would highly appreciate this.
with kind regards
jan