Jump to content


New firmware! Build (20110810-74d1762e)


  • Please log in to reply
101 replies to this topic

#1 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 10 August 2011 - 12:54 AM

So here is an updated build for OSX.  I posted one the other day just for testing if the packaging was working.  This is the next in the "official" series.

Mac Package: http://wiki.openpilo...14-2f7f920e.dmg
Windows Package: http://wiki.openpilo...20e-install.exe
PPM Only firmware: http://wiki.openpilo...7f920e-ppm.opfw do not use this for SBus, Spektrum or PWM inputs.

If you are upgrading from the June firmware this will erase all of your settings.  Please use the export tool to save them before replacing GCS and then import the settings to the new program.  Please remove all props while reconfiguring..  There is no guarantee this will work :)

The new firmware supports dynamic configuration of input type (except PPM see attachment) so one firmware will work for all input types.  To see how to configure the input please see http://wiki.openpilo...rol HW Settings

This build also includes axis lock which I think was in the previous one and another mode called weak leveling. Weak leveling will slowly return the aircraft to level but otherwise behaves like rate mode. For notes on fine tuning these modes see the stabilization panel wiki page.  This is documented on wiki but for Axis Lock you might want to change the maximum axis lock setting to 15.

Finally added optional flag for zeroing the integrals while low throttle.  See notes in Stabilization Panel wiki.

Known problems:
1. To make this run on Lion and Snow Leopard I had to disable ModelView and the Notify plugins.  Hopefully someone will fix these :).

We've been testing this firmware pretty heavily in the testing group so it should work but as always please watch out for any problems when using new firmware.

From HISTORY.txt:
2011-08-04
Fixed packaging aesthetic issues.  Also avoid runtime issues on OSX Lion by
disabling the ModelView and Notify plugins for now (sorry).

2011-07-29
Added support for PPM receivers from James W. Now all 4 interfaces (R/C
standard PWM, combined PPM (MK), Spektrum satellite, Futaba S.Bus) are
supported and configurable through the GCS hardware configuration tab.

2011-07-17
Updated module initialization from Mathieu which separates the initialization
from the task startup.  Also implements a method to reclaim unused ram from
initialization and end of memory for the FreeRTOS heap.

2011-07-12
Improvements to the stabilization code.  Included a LPF on the gyros to smooth
out noise in high vibration environments.  Also two new modes: axis-lock and
weak leveling.  Axis-lock will try and hold an axis at a fixed position and
reject any disturbances.  This is like heading-hold on a heli for the tail but
can be useful for other axes.  Weak leveling is rate mode with a weak
correction to self level the craft - good for easier rate mode flying.

2011-07-07
Dynamic hardware configuration from Stac.  The input type is now
selected from ManualControlSettings.InputMode and the aircraft must be rebooted
after changing this.  Also for CopterControl the HwSettings object must
indicate which modules are connected to which ports.  PPM currently not
working.

Update 2011-08-10: Updated with patch for integral windup for quads.  If you downloaded 20110809-12ae607a when you update to this your StabilizationSettings will need to be reloaded.

Update 2011-08-11: Small update to 20110811-39fcc5bd for windows telemetry issue and graphical glitch in OSX

Update 2011-08-14: Update for NaN on a clean board and also the stack overflow when too many saves done

#2 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 10 August 2011 - 12:58 AM

And here is the firmware to use PPM - and ONLY PPM.  I cannot test this as I don't have a PPM receiver so hopefully someone can confirm it works (PPM is working but I may have messed up the build configuration).

PPM firmware http://wiki.openpilo...d1762e-ppm.opfw

#3 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 10 August 2011 - 01:02 AM

PPM for everyone that gets confused is one connection that contains all channels. Its rare but a few people want it, do not try and use this firmware if you have any doubt on which to use.

#4 AlPackin

AlPackin

    Not the Llama

  • Core Team
  • PipPipPip
  • 2001 posts
  • Country: flag of United States United States


Posted 10 August 2011 - 01:18 AM

ok very cool, I have a FrSky receiver that has PPM output on CH9 I think it is.  I will test it, thanks guys, you rock.

edit:
oh yeah, I don't have a cable to test PPM

Edited by AlPackin, 10 August 2011 - 05:25 PM.


#5 Frank.T

Frank.T

    Key Member

  • Members
  • PipPipPip
  • 34 posts
  • LocationAmsterdam
  • Country: flag of Netherlands Netherlands


Posted 10 August 2011 - 04:19 AM

Just fly it in house, it is working with Futaba PPM

(and no damage to the furniture)

//Frank

(Yes I am a rare person  :wacko:  )

#6 Halves

Halves

    Member

  • Members
  • PipPip
  • 23 posts
  • Country: flag of Portugal Portugal

Posted 10 August 2011 - 09:47 AM

Congrats!

This is the first build of GCS to open and appear fully functional - i.e. no error messages.

I don't have a CC to test any further :(

#7 G-unit

G-unit

    Advanced Member

  • Members
  • PipPipPip
  • 160 posts
  • LocationAZ
  • Country: flag of United States United States


Posted 10 August 2011 - 12:40 PM

Cool, i will need to try this..
WHEN IN DOUBT FLOOR IT!!!

#8 osnwt

osnwt

    Core Developer

  • Administrators
  • 1499 posts
  • LocationSevastopol
  • Country: flag of Ukraine Ukraine


Posted 10 August 2011 - 05:17 PM

Here is a Windows build and PPM firmware:

OpenPilot-20110810-97486402-install.exe
fw_coptercontrol-20110810-97486402-ppm.opfw

This GCS build includes a checkbox to fix the integral issue (stabilization tab).
It is set by default (for multirotors and helicopters), should be cleared for planes.

Minor update, now listed at this page. No important changes. just to match current Mac build.
http://wiki.openpilo...tware Downloads

#9 G-unit

G-unit

    Advanced Member

  • Members
  • PipPipPip
  • 160 posts
  • LocationAZ
  • Country: flag of United States United States


Posted 10 August 2011 - 05:39 PM

View Postosnwt, on 10 August 2011 - 05:17 PM, said:

Here is a Windows build and PPM firmware:

OpenPilot-20110810-97486402-install.exe
fw_coptercontrol-20110810-97486402-ppm.opfw

This GCS build includes a checkbox to fix the integral issue (stabilization tab).
It is set by default (for multirotors and helicopters), should be cleared for planes.


Thanks..
WHEN IN DOUBT FLOOR IT!!!

#10 BlueBird

BlueBird

    Key Member

  • Members
  • PipPipPip
  • 30 posts
  • LocationКиев
  • Country: flag of Ukraine Ukraine


Posted 10 August 2011 - 06:37 PM

Thanks!!!
With new firmware drift Ruder very very small!!! Big job! Best regards!!! :)

Edited by BlueBird, 10 August 2011 - 06:37 PM.


#11 dolby

dolby

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • LocationWisconsin
  • Country: flag of United States United States


Posted 10 August 2011 - 06:40 PM

Do I use the bootloader from the firmware-20110701-46ae7eb1  directory?

Edit... used the bootloader from firmware-20110701-46ae7eb1 and it seems to work.

Edited by dolby, 10 August 2011 - 06:48 PM.


#12 osnwt

osnwt

    Core Developer

  • Administrators
  • 1499 posts
  • LocationSevastopol
  • Country: flag of Ukraine Ukraine


Posted 10 August 2011 - 07:56 PM

We don't include bootloader anymore, since it wasn't changed and is compatible with newest firmware.

#13 chad2323

chad2323

    Advanced Member

  • Members
  • PipPipPip
  • 91 posts
  • Country: flag of United States United States


Posted 10 August 2011 - 08:40 PM

I did a search and read everything I could but not having luck getting Open Pilot to work on my Mac pro Lion. I installed the new version and everything seems to work but I can not connect to the board. Plus I read in the top post


1. To make this run on Lion and Snow Leopard I had to disable ModelView and the Notify plugins

Not sure how to disable this. Any help would be appreciated. Thank's for all your hard work on this.


Chet

#14 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 10 August 2011 - 08:44 PM

Hmm.. this is a board that you've used with a VM or something?  Have you talked to the board otherwise?

You don't have to disable the plugins - they are removed from the build.

#15 chad2323

chad2323

    Advanced Member

  • Members
  • PipPipPip
  • 91 posts
  • Country: flag of United States United States


Posted 10 August 2011 - 09:21 PM

Yes right now I'm using it on my PC in my other room and have no problems at all with it. It's just that I can't get it to work on my Mac pro.  Actually I have another board also Quadrino and I can't get that to work either. I know it's something to do with the USB probley but just can't figure it out.

#16 Corbatjean

Corbatjean

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts
  • Country: flag of France France


Posted 10 August 2011 - 09:25 PM

I tried the new release, If I can do almost everything (under OSX Lion) including running the GCS, connecting to the CC board (Usb and Xbee) , loading the new firmware and reloading the uav file I had with the previous release. Everything is working as expected.
Unfortunately, I have a very hard time to take off as only two or three motors starts (but rarely four) and I need to play with yaw and roll to finally have all of them turning so that I can push throttle and take off (in stabilize mode).  After take-off, the software performs perfectly and it seems more stable now. I tried to recalibrate everything to no avail.  

I finally re-installed the July's GCS, reloaded the firmware and loaded my former uav file and it's working as I am used to. (indicating that the hardware is OK). I read from previous posts that some have it running so I must be doing something wrong but what ?

Any idea where It could come from ?  

Current Configuration : Kindjal frame, KDA 20-50S, 10amp plush, 8x4.5 props, DSM2 Orange, DX7, Xbee 2.4Ghz. GCS on MacBookPro with Lion.

Thanks a lot
Eric

#17 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 10 August 2011 - 09:27 PM

View PostCorbatjean, on 10 August 2011 - 09:25 PM, said:

Unfortunately, I have a very hard time to take off as only two or three motors starts (but rarely four) and I need to play with yaw and roll to finally have all of them turning so that I can push throttle and take off (in stabilize mode).  After take-off, the software performs perfectly and it seems more stable now. I tried to recalibrate everything to no avail.  

Sorry this is the

Quote

2. If you use yaw for arm then the aircraft will twist on takeoff. This was done to allow the integral to work on planes while no throttle.
problem that I mentioned.  I made a patch last night and it's in the windows build.  I'll have that updated for OSX in an hour or two.

#18 Gary Mortimer

Gary Mortimer

    Member

  • Banned
  • PipPipPip
  • 832 posts
  • LocationCold Brayfield UK, Rosetta RSA
  • Country: flag of South Africa South Africa


Posted 10 August 2011 - 09:43 PM

Thanks Oleg I shall be testing this one hard over the next couple of days in wind and rain.

#19 dolby

dolby

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • LocationWisconsin
  • Country: flag of United States United States


Posted 10 August 2011 - 10:35 PM

Hmm I use YAW right to arm my copter and have no trouble taking off with the new firmware?

#20 chad2323

chad2323

    Advanced Member

  • Members
  • PipPipPip
  • 91 posts
  • Country: flag of United States United States


Posted 10 August 2011 - 10:38 PM

Attached File  Screen Shot 2011-08-10 at 6.48.29 PM.png   19.36K   50 downloadsAttached File  ScreenSnapz.jpg   247.66K   48 downloadsI'm not sure if this will help but I thought I would show it anyway.

Thank's

Edited by chad2323, 10 August 2011 - 10:49 PM.