I pushed 2.0.43 to Git.
What's new - Simple mode is dead. It's now an option per switch position. There is an APVar bitmask called simple_modes or "SIMPLE". Setting any bits 0 - 5 to 1 will cause that switch position to access simple mode. You can also do this with radio channel 7 if you compile for it.
Until the mission planner is updated, you can use the CLI by using the rudder as an on/off swicth in setup::modes. It's very easy.
There are now two battery values to set, input_voltage ("IN_VOLT"), and low_voltage("LOW_VOLT"). These are for folks editing battery information.
Circle mode is now tested and running well. It's very cool, but requires dialed in Loiter PIs.
Guided mode is not tested but should work just fine.
Lot's of other minor tweaks and code cleanup.
Jason
Replies
Hi Jason,
One quick question for you.
Just finished building my OCTA V with 8 ESC-s paired in 4 Y setup (2 ESCs in pair for each of the quads arms), that I planned on flying like a X QUAD... Then 2 days ago I stumbled upon this information, that I can connect all 8 motors to separate outputs, that I suppose gives us better (smoother) corrections of attitude. So I cut all the ESC signal wires from distribution board and connected them directly to APM outputs as per this scheme below.
http://arducopter.googlecode.com/svn/images/frames/ACM-OCTA_V.jpg
Then I installed new Mission Planer, and wanted to upload new firmware, when I realized that there is no option to select OCTA V frame in it.
Now the question... Which firmware to upload, and do I need to reprogram something for APM to start sending signal to outputs 10 and 11.
Thank you
Eugen
Not sure is this was mentioned before but just to get some clarification as I tried guided mode today:
Altitude: As sson as I switched to guided mode it started to accent. I read in the wiki that the behavior is similar to RTL so, is that because my RTL height was set relatively high? I guess I could try to set ALT_HOME = 0 to stay at my current height?
Attitude: I noticed that the copter does turn for some degrees. I am not sure if it is pointing towards home or the next waypoint. If I look at my config I see yaw_mode is set to YAW_AUTO which should have it look toward the next WP.
Is there other parameter I need to adjust to get the heading correct?
Thanks,
Niklas
Look how well performs new fw in Alt_hold and LOITER:
http://vimeo.com/29414954
Not sure if anyone else already mentioned this. In the latest code from Git:
# define CH7_OPTION CH7_SIMPLE_MODE
/* CH7_DO_NOTHING
CH7_SET_HOVER
CH7_FLIP
CH7_SIMPLE_MODE
CH7_RTL */
In the Manual:
To use Channel 7, you must upload with Arduino and add this line to APM_Config.h:
#define CH7_OPTION SIMPLE_MODE_CONTROL
I'll figure out which one it is, but wanted to point out the inconsistency.
Thanks!
AUTO TEST(...continue)
More test done this afternoon. I came back to 2.0.42 since 43 with APM 1280 gave me some extrange things (see my previous reply). Defaults PIDs
I used also the same copter but I changed to APM 2560 (last succesful AUTO tests).
Now things whent back to normality: very good stabilize, loiter, RTL and ALT_Hold. SIMPLE worked as allways.
AUTO path: Takeoff, WP1,WP2,land
Some problems detected:
Jose thanks for the reminder, actually the crash I had (with the gopro onboard only) was testing RTL and everything went smoothly but it was off by 10-12meters then got close to the tree. I switch to stab (so i thought) but was actually SIMPLE mode that caused the crash :D Pilot error.. I didnt lookout for the tree and I didnt looked at my ardustation to check what mode I was on.
Thanks Davey...
I was gonna put your name Jose but wasnt that sure...well putting up the cam mount now but realize I need a proper way to connect this to my quad so I might be delayed a bit more....but cant wait to test it. I like the yaw on a waypoint that Jason mentioned...
I envy you guys I havent been able to test v43 as my copter needing repair but finally got the cam mount replacement today so I think I should be able to join you soon. I am most interested in testing nav_way points as in all previous test I only got up until CIRCLE due to lack of space. I am a bit unfamiliar with the flight plan on mission planner specially the height. I remember someone got some very close encounter (with the ground) due to height @ HOME so it even made me more hesitant. I dont have laptop on the field to configure the waypoints so I can only preload it from home. Any pointers I should look out for?
Jason, is the code in git right now compilable?
ArduCopter.cpp: In function 'void roll_flip()':Attitude:87: error: too many arguments to function 'int get_stabilize_yaw(long int)'flip:48: error: at this point in fileflip:62: error: 'get_throttle' was not declared in this scopeflip:75: error: 'get_throttle' was not declared in this scopeheli:4: error: 'get_throttle' was not declared in this scopeheli:13: error: 'get_throttle' was not declared in this scope
Or is it my fault?
AUTO test in 2.0.43
After succesfull AUTO test in 2.0.42 I´ve tried yesterday with 43 but in a different copter: a bit higher and powerfull (about 1Kg) and ussing APM 1280 (instead of APM2560 in a 650g copter). I had several issues:
I´ll repeat same tests with my other copter (APM2560) to compare behaviour.
Angel