New features provided by open9x

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

New features provided by open9x

Post by bertrand35 » Sun Jan 22, 2012 10:36 pm

What you will find in open9x?

- switches and trims (sliders) may be used as mixer sources
- a full featured timer2
- the throttle trace in statistics can be dependent on channels, not only THR
- when THRs / THR% / THRt are selected as mode for timer1 or timer2, it's dependent on this parameter (throttle trace)
- THRt means trigger: the timer doesn't stop when THR again at idle
- virtual switches can be dependent on timer1 and timer2
- with telemetry, they can also be dependent on ALT (altitude) and RPM (of the motor)
- it's possible to switch the TX mode without messing everything in mixers
- open9x is translated into several languages: fr / it / se / de / cz
- DSM2 protocol implemented using two options, either using UART (FrSky mod) or using PPM port
- new telemetry screen with graphical bars: viewtopic.php?f=45&t=340
- new custom telemetry screen
- telemetry measurement on A1/A2 can now go up to 204.0V
- different RSSI alarms thresholds for each model (FrSky)
- haptic feedback and Beeper configuration are independant (it's possible to have Haptic when pressing keys when Beeper mode = NoKeys)
- beeper mode (Quiet / Only Alarms / NoKeys / All) splitted from Beeps length (xShort ... xLong)
- an audio vario for gliders
- per model throttle warning and switches positions warning
- automatic selection of switches in all menus
- differential in mixer
- any trim assignable to any mixer source
- adjustable PPM center
- various optimizations again ...
Last edited by bertrand35 on Mon Feb 27, 2012 8:06 am, edited 9 times in total.


User avatar
Rob Thomson
Site Admin
Posts: 4542
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: New features provided by open9x

Post by Rob Thomson » Tue Jan 24, 2012 7:30 am

Audio should be in within the next week or so.
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Wed Feb 08, 2012 1:02 pm

Audio port (with a little :) diet). Haptic too. Both are independant. Thanks Rob for your help!
Audio sounds may be associated to switch (physical or virtual using the Func Switches screen.

Here is an example:

1) You create virtual switches with the right conditions (here temperature1, altitude and fuel level)
snapshot_01.png
snapshot_01.png (1.44 KiB) Viewed 5408 times
2) You configure a sound that is played when the switch
snapshot_02.png
snapshot_02.png (1.22 KiB) Viewed 5408 times
Bertrand.

User avatar
MikeB
9x Developer
Posts: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: New features provided by open9x

Post by MikeB » Wed Feb 08, 2012 11:18 pm

Just been nosing around the code and what do I find, some of the space saving changes I've just put into er9x, even using the same name changes! Perhaps you could include the odd acknowledgement of the source of such changes?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Thu Feb 09, 2012 6:02 am

MikeB wrote:Just been nosing around the code and what do I find, some of the space saving changes I've just put into er9x, even using the same name changes! Perhaps you could include the odd acknowledgement of the source of such changes?

Mike.
Yes, you will find all optimizations of er9x, gruvin9x and th9x there + optimizations that er9x takes (as last audio optimizations), and could take (a lot!) from open9x ;) The acknowledgement th9x / er9x / gruvin9x is in all files, or did I miss anything? If yes, please tell me!

Bertrand.


bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Thu Feb 09, 2012 11:30 am

Telemetry measurement on A1/A2 can now go up to 204.0V (or any unit: A, raw, kts, kmh, M/h, m, °, %).
Multiplier change is transparent for the user (as soon as the upper limit is reached, the multiplier is incremented).
Bertrand.

User avatar
MikeB
9x Developer
Posts: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: New features provided by open9x

Post by MikeB » Thu Feb 09, 2012 7:29 pm

I was thinking in terms of the fact that I have added various features to er9x, which have, not surprisingly appeared in open9x, but I'm personally not receiving any acknowledgement. I need to add me to some of er9x files, I'm in on ersky9x files.
It would just be nice since I added things like PPM16, a lot of the PXX, some of DSM (Pat Mackenzie as well here), the WS how high, and I've done a lot of code optimising.

Thanks.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Thu Feb 09, 2012 10:21 pm

MikeB wrote:I was thinking in terms of the fact that I have added various features to er9x, which have, not surprisingly appeared in open9x, but I'm personally not receiving any acknowledgement. I need to add me to some of er9x files, I'm in on ersky9x files.
It would just be nice since I added things like PPM16, a lot of the PXX, some of DSM (Pat Mackenzie as well here), the WS how high, and I've done a lot of code optimising.

Thanks.

Mike.
That is fair, and I am ok with that, of course. These acknowledgments as you can see come from gruvin9x and I will modify them a little bit to thank all major contributors as you are. In your turn, feel free if you find anything useful (the graphics, soon the GPS formula using integers, everything ...) to retrieve them. It's wide open and I am really happy to contribute.

Bertrand.

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon Feb 27, 2012 7:34 am

I updated acknowledgments in all files. I do hope I didn't forget anybody who has contributed. Thanks all of them.
Bertrand.

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon Feb 27, 2012 8:05 am

Some features added:
- Different RSSI alarms thresholds for each model (FrSky)
- Haptic feedback and Beeper configuration are independant (it's possible to have Haptic when pressing keys when Beeper mode = NoKeys)
- Beeper mode (Quiet / Only Alarms / NoKeys / All) splitted from Beeps length (xShort ... xLong)

New feature added only for the v4 board:
- Inflight modification of model parameters through Rotary Encoder: you press the RE in the main views to unlock the value, you turn the RE to modify it and you press again to lock it again. Popup window displayed during the operation.

Bertrand.

Clivew
Posts: 338
Joined: Tue Dec 27, 2011 8:08 pm
Country: -
Location: Stroud, Glos, England

Re: New features provided by open9x

Post by Clivew » Tue Feb 28, 2012 1:55 am

MikeB wrote:I was thinking in terms of the fact that I have added various features to er9x, which have, not surprisingly appeared in open9x, but I'm personally not receiving any acknowledgement. I need to add me to some of er9x files, I'm in on ersky9x files.
It would just be nice since I added things like PPM16, a lot of the PXX, some of DSM (Pat Mackenzie as well here), the WS how high, and I've done a lot of code optimising.

Thanks.

Mike.
Here Here :)

Without yours and Pat's work I wouldn't have anything like what I'm lookimg for.

Not trying to start WW3 or anything ;)

Clive

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Tue Feb 28, 2012 8:02 am

Added today:
- When changing the TX mode, the new mode takes effect only when validated: in case somebody changes the TX mode from 1 to 3 with the planed not shut down, going through mode 2 will not start the motor...

Removed today:
- The trims to offsets function. I do like the "Instant Trim" function which copies sticks positions to trims. But not when they are moved to the channels offsets. Moreover this functionnality was completely wrong in all firmwares I tried when dealing with recursive mixers (it calls perOut and modifies the static variables in it...)

Bertrand.

gbirkus
Posts: 97
Joined: Sat Jan 07, 2012 4:15 pm
Country: -

Re: New features provided by open9x

Post by gbirkus » Wed Mar 07, 2012 12:39 pm

here are some of new features with simple guide.
http://code.google.com/p/open9x/wiki/Open9xFeatures

User avatar
uphiearl
Posts: 46
Joined: Tue Dec 27, 2011 11:21 pm
Country: -
Location: Mountainair New Mexico

Re: New features provided by open9x

Post by uphiearl » Mon Mar 19, 2012 2:32 am

Any thought with displaying MavLink data from an Xbee module ?
Earl

User avatar
Kilrah
Posts: 10276
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: New features provided by open9x

Post by Kilrah » Mon Mar 19, 2012 8:53 am

AFAIK There's another firmware (gv9x) that is specialised for this:
http://code.google.com/p/gv9x/

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon Mar 19, 2012 3:07 pm

uphiearl wrote:Any thought with displaying MavLink data from an Xbee module ?
Earl
Are you ready to test a beta version of the port?
Bertrand.
snapshot_09.png
snapshot_09.png (1.15 KiB) Viewed 4776 times

User avatar
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

Re: New features provided by open9x

Post by cre8tiveleo » Mon Mar 19, 2012 4:07 pm

I truely can't wait to see this ported over to the ersky board... the power and flexibility will be awesome!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon Mar 19, 2012 4:21 pm

I started having a look to ersky9x code and I think I have a good idea of the amount of work already done by Mike.
Simply awesome.
Bertrand.

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon Mar 19, 2012 4:25 pm

About Mavlink, someone could explain what are the rotary switches? Not sure it's related ...
Bertrand.

JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: New features provided by open9x

Post by JayPi01 » Mon May 21, 2012 6:39 am

bertrand35 wrote:What you will find in open9x (which is not in er9x and gruvin9x)?

...

What is still missing in open9x (which is in er9x)?

- flight pack capacity used if analog A1 or A2 has current measurement
- altitude in metric/imperial units if FrSky hub altitude sensor used

hi bertrand,

will the flight pack capacity measurement be available in open9x or is it already available and i missed it? i still used this feature in er9x but without alarms it is imho not very useful.

joerg

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon May 21, 2012 8:01 am

Hi,
I think yes. I just updated the list above and see it's the only remaining item :)
Bertrand.

User avatar
MikeB
9x Developer
Posts: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: New features provided by open9x

Post by MikeB » Mon May 21, 2012 8:10 am

JayPi01 wrote:hi bertrand,
will the flight pack capacity measurement be available in open9x or is it already available and i missed it? i still used this feature in er9x but without alarms it is imho not very useful.
The latest er9x (r762) now allows telemetry values as inputs to custom switches (including mAh used), and allso allows unused safety switches to be used to trigger alarms. So you set a custom switch to:
SWA: v>ofs Mah1 1792 (or Mah2, the value is inunits of 64mAh)
Then you change a safety switch to:
A SWA siren (A for alarm, S for safety)
Now, when you used capacity goes over 1792 mAh, SWA turns on, and an alarm sounds. If you haven't done the piezo speaker mod, try setting it anyway, the stock beeper actually doesn't sound too bad in piezo (pispkr) mode.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon May 21, 2012 8:23 am

Right I really need to add it :)
Bertrand.

JayPi01
Posts: 14
Joined: Mon Jan 02, 2012 8:52 am
Country: -

Re: New features provided by open9x

Post by JayPi01 » Mon May 21, 2012 9:46 am

MikeB wrote:
The latest er9x (r762) now allows telemetry values as inputs to custom switches (including mAh used), and allso allows unused safety switches to be used to trigger alarms. So you set a custom switch to:
SWA: v>ofs Mah1 1792 (or Mah2, the value is inunits of 64mAh)
Then you change a safety switch to:
A SWA siren (A for alarm, S for safety)
Now, when you used capacity goes over 1792 mAh, SWA turns on, and an alarm sounds. If you haven't done the piezo speaker mod, try setting it anyway, the stock beeper actually doesn't sound too bad in piezo (pispkr) mode.

Mike.
ah, that is nice - but I would really miss the vario function of open9x (own a winged shadow thermal scout). so I have to wait for bertrand and use a countdown timer meanwhile ;)

User avatar
MikeB
9x Developer
Posts: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: New features provided by open9x

Post by MikeB » Mon May 21, 2012 10:41 am

I haven't had time to update er9x with all the things I'd like to add. I've been too busy with all the low level code (device drivers) for ersky9x. I'll check what the thermal scout sends back.

Mike.

Edit: Checked, so if you are using the voltage output, into the FrSky A1 or A2 inputs, you can set up custom switches as these are also available as inputs in er9x now. You can then use these custom switches to to trigger a sound using a safety switch as an alarm.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon May 21, 2012 10:57 am

But Mike that's not an audio vario with a variable frequency depending on vertical speed then, you really need to do some port here ;)
Bertrand.

EDIT: With vario priority < priority of alarms and warnings of the FW

User avatar
MikeB
9x Developer
Posts: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: New features provided by open9x

Post by MikeB » Mon May 21, 2012 11:45 am

I probably will, when I get a chance, just thought I'd mention existing possibilities. I'm still working on the lowlevel stuff for the ersky board. Finishing the co-processor bootloader now, then I need to get back to the SD card driver. As I've said on another thread, there are several things I'd like to add to er9x/ersky9x, but I need to get these low level things done first.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon May 21, 2012 11:53 am

That's perfect! Feel free to take the code from open9x anyway, perhaps you could have a look at my implementation for default switches position as it reuses the getMovedSwitch(...) function that you ported before. For the ersky9x SD-card I will try to give you some help for the "write" function, taking the "read" as a reference. Also as soon as it is ready we will add into companion the scripts for the new applet for programming the ATtiny.
Bertrand.

User avatar
MikeB
9x Developer
Posts: 16609
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: New features provided by open9x

Post by MikeB » Mon May 21, 2012 12:01 pm

I noticed you had added the default switches/model. I haven't looked, does it come up only at power on, or when you load a model? I aim to try to keep the EEPROM structure unchanged as much as possible, so I tend to limit some of the changes I can do. It makes it safer when upgrading from 1 revision to another, and doesn't rely on eepe/companion already knowing about an EEPROM change.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

bertrand35
9x Developer
Posts: 2764
Joined: Fri Dec 30, 2011 11:11 pm
Country: -

Re: New features provided by open9x

Post by bertrand35 » Mon May 21, 2012 12:24 pm

Today it's only at power on. But I am open to discussions about adding it when loading a model. Would it be safe? We would have to stop the pulses ... It uses one byte at the end of the EEPROM. No EEPROM conversion here. I try to avoid them as much as possible, but it's simply impossible when i.e. you add some mixer sources like trims inside the list ...
Bertrand.


Post Reply

Return to “openTx”