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!
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 May 21, 2012 12:39 pm

bertrand35 wrote:Today it's only at power on. But I am open to discussions about adding it when loading a model. Would it be safe?
Well, if you change model by mistake (which is kinda hard anyway) with a model on you're in trouble anyway, pulses or not... stopping the pulses might actually be safer as it at least wouldn't start your motor or something...


User avatar
jhsa
Posts: 19033
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: New features provided by open9x

Post by jhsa » Mon May 21, 2012 12:55 pm

just make sure you have failsafe on all your models.
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
ZeroPitch
Posts: 39
Joined: Sun May 06, 2012 2:55 pm
Country: -

Re: New features provided by open9x

Post by ZeroPitch » Mon May 21, 2012 8:51 pm

bertrand35 wrote: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.
Any plans to put this back in? When using flight modes with independent trims, if the physical trim changes (either because of repair or temperature on nylon push-rods), it is a pain to get trims fixed up again in all the phases... especially while flying!

Had this happen after a repair: thought I had trim dialed in, but turns out had way too much down elevator. Had to fight to keep my sailplane in the air while fixing up the trims... this was especially hard when the lift went soft and I had to switch to landing mode!

What would be nice is to be able to program the trainer switch (pull and *hold*) with a function to copy/add the current trim settings into the offsets. That way, I can trim in "normal" flight mode, hit the switch, and not worry about trim when I switch to speed, land, or launch mode.

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 9:14 pm

Yes, this is done. The function was back since some months and fixed (rewritten). You will find it in the LIMITS menu. So you "InstantTrim" during flight and use this function after flight.
Bertrand.

manu
Posts: 106
Joined: Thu Dec 29, 2011 7:02 am
Country: -
Location: St. Gallen, Switzerland

Re: New features provided by open9x

Post by manu » Tue Jun 05, 2012 8:00 am

bertrand35 wrote:Yes, this is done. The function was back since some months and fixed (rewritten). You will find it in the LIMITS menu. So you "InstantTrim" during flight and use this function after flight.
Bertrand.
I don't get it exactly. In Func Switches there is a function "Instant Trim" which I don't get to work. Is this obsolete?
On the other hand, in Limits menu there is a "Trims=>Offsets" feature at the bottom which might work for normal flight phase. But be aware when you do it in special flight phases: the flight phase trims become to offsets, trims are zeroed and (all?) other flight phases trims are translated! correct but confusing. The remedy is probabely to go to normal flight mode and do the same thing again. Then the trim offsets are correct again (All tested in c9x). Not a big issue in the workshop, but on the field/in the air? This is not a security issue but I would be pretty f****d up to interprete my trim settings afterwards.


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 Jun 05, 2012 8:04 am

Here is what you have to do.

Use the function system to assign 'instant trim' to a switch.

When you use the switch, the trim offsets settings are stored in a temporary memory variable.

After your flight.. visit 'limits'.

At the bottom of your limits list is an option to apply the 'offsets' you saved when instant trim was activated.

This is much safer as the actual application of the perminant offset is done when safely on the ground!

Rob
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 » Tue Jun 05, 2012 8:12 am

To synthetise:
- InstantTrim => transfers sticks positions to trims (you will see them moving on screen)
Is used during flight
- Trims => Offssets => transfers trims (of the current flight phase) to offsets.
Should be used after flight when being in the default flight phase
Bertrand.

manu
Posts: 106
Joined: Thu Dec 29, 2011 7:02 am
Country: -
Location: St. Gallen, Switzerland

Re: New features provided by open9x

Post by manu » Tue Jun 05, 2012 8:26 am

You guys are genious! These gems should flow into the guide.

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 Jun 05, 2012 4:53 pm

Just downloaded the latest c9x, installed the latest open9x that it gives me for stock 9x, speaker and telemetry,
r936. I cannot get any alarm on A1, and I only have 1 telemetry setup screen (10/10)
What am I doing wrong, I'm sure it's me!

Thanks,

Clive

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

Re: New features provided by open9x

Post by gbirkus » Tue Jun 05, 2012 5:14 pm

Clivew wrote:Just downloaded the latest c9x, installed the latest open9x that it gives me for stock 9x, speaker and telemetry,
r936. I cannot get any alarm on A1, and I only have 1 telemetry setup screen (10/10)
What am I doing wrong, I'm sure it's me!

Thanks,

Clive
did you read this? http://openrcforums.com/wiki/index.php/ ... _TELEMETRY

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 Jun 05, 2012 7:25 pm

Yes I have, thanks for that, but no matter what I do, I cannot seem to get an A1 alarm

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

Re: New features provided by open9x

Post by Kilrah » Tue Jun 05, 2012 7:56 pm

How have you set it?

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

Re: New features provided by open9x

Post by gbirkus » Tue Jun 05, 2012 8:17 pm

what type of alarm you try to set?
1. alarms from Frsky DHT/DIY module beeper (Yellow/Orange/Red - 1/2/3 beeps)
2. alarms from T9x beeper/speaker/vibra motor

with 1st i had problem between ATmega64 TX pin to RX input of FrskyLite TTL converter. Resistor 3k must be there. Everybody write only 470ohm but then this ATmega was not able to program the Frsky module for A1,A2,RSSI yelow,orange,red alarms.

maybe post here your eepe file. And yes there is only one telemetry setup screen with many options scroll-able down (10/10, if no heli anf no templates).

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 Jun 05, 2012 8:32 pm

Have set the range to 13.2v, which gives me 5v indicated, and reads correctly on telemetry screen.
Set the alarm red, orange or yellow <5.5v and it doesn't work.
Just reflashed er9x and all is well. Ah just noticed it only works with Pispkr set, not with
Beeper setting (er9x) I have no speaker.


Clive

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

Re: New features provided by open9x

Post by Kilrah » Tue Jun 05, 2012 8:49 pm

Sounds like the problem gbirkus described then.

Open9x and er9x in beeper mode configure the FrSky module so that it plays the alarms, but er9x in PiSpkr mode plays the alarms itself through the radio's speaker. So it seems indeed that your connection between the radio and the FrSky module doesn't work.

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 Jun 05, 2012 9:03 pm

Ok, I'm using your mod exactly, and it appears to have 470 ohms in the rx line already.
viewtopic.php?f=23&t=430&p=4778&hilit=without+ttl#p4778
I'll try another 2.5k in series and report back.
Thanks for your help chaps!

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

Re: New features provided by open9x

Post by Kilrah » Tue Jun 05, 2012 9:06 pm

Did you remember to cut the trace? Because that's what would happen if you didn't.
470 Ohm should be OK, adding more would likely only make it worse.

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 Jun 05, 2012 9:51 pm

Yep, just double checked my work. I read 1k across the new resistor. The blue wire does go to the lower end, not the via?

P.S. Switched it on tonight, and it's working perfectly! Don't know what
that was all about, maybe the bleeper itself was stuck..perhaps. :roll:
Attachments
IMAGE1.JPG

User avatar
Scott Page
Posts: 864
Joined: Wed Dec 28, 2011 3:32 am
Country: United States
Location: Tri-Cities, Washington State

Re: New features provided by open9x

Post by Scott Page » Wed Jun 27, 2012 7:24 am

One new feature I would like to see from the gurus of the code -- the ability to assign a pot or switch to audio level -- so when an alarm is or timer or whatever is droning on -- it could be silenced while I concentrate on landing.

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

Re: New features provided by open9x

Post by bertrand35 » Wed Jun 27, 2012 7:25 am

Excellent idea!
Would you fill a new enhancement request on the issues page of the project?
Bertrand.

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

Re: New features provided by open9x

Post by bertrand35 » Wed Jun 27, 2012 7:28 am

Flight pack capacity feature has been added in the version we released yesterday. Also FrSky current sensor is supported now. You will choose the Current source in the TELEMETRY screen.
Bertrand.

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

New features provided by open9x

Post by Rob Thomson » Wed Jun 27, 2012 7:43 am

Scott Page wrote:One new feature I would like to see from the gurus of the code -- the ability to assign a pot or switch to audio level -- so when an alarm is or timer or whatever is droning on -- it could be silenced while I concentrate on landing.
That... Is a superb idea!


---
I am here: http://tapatalk.com/map.php?tv0khx
Sent from my iPhone using Tapatalk
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 Jun 27, 2012 8:13 am

Many ways to do it ... What about this one:
- you may change the value within the range [0:23] using the keys as today
- you press [MENU LONG], you see a contextual menu which proposes to switch between "Value" and "Channel" (or "Register", I don't know what is the best word for it)
- when choosing "Value", you are in the mode we have today
- when choosing "Channel", you see the Mixer sources (you may choose P1 or CH32 or whatever!). In this mode the range [-100:+100] is reduced proportionnally to the parameter range [0:23]

Any ameliorations? Different ideas?

Bertrand.

User avatar
Peter
Posts: 232
Joined: Thu Dec 29, 2011 8:45 pm
Country: -
Location: Zuid-Holland

Re: New features provided by open9x

Post by Peter » Wed Jun 27, 2012 8:55 am

I would like the option to choose a low and high level for a switch.
Using a mixer can be very interesting in some telemtry situations though!

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

Re: New features provided by open9x

Post by bertrand35 » Wed Jun 27, 2012 8:59 am

It's already there, it's called a differential ;)
Bertrand.

User avatar
Peter
Posts: 232
Joined: Thu Dec 29, 2011 8:45 pm
Country: -
Location: Zuid-Holland

Re: New features provided by open9x

Post by Peter » Wed Jun 27, 2012 9:48 am

Great idea to use the differential.
But with using mixers for everything asks for labels for mixers.
With a lot of mixers (gliders) it would be great to have labels. Like "Audio" or "Flap R".
A 3 char label would already a great help.
And an other idea I had was showing the mixers for a particular flight fase only. So flight the flight fase switch and only see the active mixers for that flight fase. The same could be done for the dual rates.
Sorry that I only ask for more, but I get enthousiast by such great development work of you guyes!

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

Re: New features provided by open9x

Post by bertrand35 » Wed Jun 27, 2012 9:58 am

For the labels, it's easy enough. I could add it quickly.
For showing the Flight Phases Mixes it's a little bit more complicated to implement, but it's another good idea. Perhaps a contextual menu with items "FP Mixes" or "All Mixes", which would change what is displayed?
So ... 2 new enhancement request then to create in the issues page of the project!

Bertrand.

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

New features provided by open9x

Post by Rob Thomson » Wed Jun 27, 2012 10:02 am

This would be good! All to often it is difficult to remember which mix does what :)


---
I am here: http://tapatalk.com/map.php?urdsj1
Sent from my iPhone using Tapatalk
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 Jun 27, 2012 10:34 am

"Flap R" you said?
6 chars :)
Bertrand.
Attachments
snapshot_06.png
snapshot_06.png (1.13 KiB) Viewed 3577 times
snapshot_05.png
snapshot_05.png (1.38 KiB) Viewed 3577 times

User avatar
Peter
Posts: 232
Joined: Thu Dec 29, 2011 8:45 pm
Country: -
Location: Zuid-Holland

Re: New features provided by open9x

Post by Peter » Wed Jun 27, 2012 11:08 am

WOW, that is fast!!

The context menu to switch between views is a good idea!
I think "All mixers", "Current flightfase" and "Active mixers" would be good.
"Active mixers could help when you don't have flight fases.


Post Reply

Return to “openTx”