mavak / linux-track

Automatically exported from code.google.com/p/linux-track
MIT License
0 stars 0 forks source link

Profile Name in the ltr GUI does not change when loading a saved profile #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Each time you load a saved profile
2.
3.

What is the expected output? What do you see instead?
I was expecting that as I loaded different saved profiles this area would show 
a drop down menu to allow selecting a specific saved profile for different 
planes. When loaded, the settings change ok but the name of the saved profile 
remains as default. This area shows that it has the potential to show and allow 
opening of saved profile names (as indicated by the up/down arrows keys). When 
clicking Save and Quit it still doesn't show 

What version of the product are you using? On what operating system?
Linuxtrack v0.99.12. with Trackir 5. My operating system is  OS X v 10.9.5

Please provide any additional information below.
Maybe I am not doing the correct procedure here. When satisfied with the new 
profile for a plane I am Exporting that profile with a name. It saves it as a 
.profile extension. When Importing I can see the name of the save profile I 
want but when loaded it doesn't show that profile in the Profile Name line, 
only the changes of each of the settings when imported

Thanks

Gary

Original issue reported on code.google.com by Gary.Sm...@propertyclub.com.au on 16 Feb 2015 at 3:47

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Gary,

do I understand it correctly that you want to have separate headtracking 
profiles for different planes? And just to be sure, are we talking about 
X-Plane?

At the moment, X-Plane plugin uses the "Default" profile; the profile 
import/export feature was meant more for sharing profiles. Also the profile 
keeps the name of the profile it was exported from (but it is a text file, so 
you can change it, if necessary).

May I ask you, what is the motivation behind this? My assumption was, that once 
you have the profile set up, there shouldn't be much need for changing it in 
between planes...

Kind regards,

Michal

Original comment by f.jo...@email.cz on 16 Feb 2015 at 7:16

GoogleCodeExporter commented 9 years ago
Hi Michal
Yes it would be good to have different profiles for some of the planes.

My motivation behind this is an example of two planes that I am learning to fly 
at the moment. They are the Cessna 172 and the Bell 407 helicopter. 

With the helicopter I've noticed that the settings need to be different with 
the Pitch (up/down), Yaw (left/right) and Z Translation (back/forth) due to the 
different instrument panel ranges and wider side viewing to fully use the glass 
area of the helicopter compared to the areas needed for the Cessna.

Please see the second attachment. The circled arrows to the right don't work. 
It would be good to have these functional when working with different saved 
profiles. Similarly the circled Profile Name to the left remains as 'Default' 
when a saved profile name is loaded. It would be good to have that change as 
well 

Yes I am using X-plane. If this can't be done currently in X-plane could it be 
something that could be incorporated into a future version?

Thanks

Gary

Original comment by Gary.Sm...@propertyclub.com.au on 16 Feb 2015 at 10:36

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

I see what you mean, let me think a bit about it (how to implement it) and I'll 
keep you posted when I have something...

Now as for the profile problem you see - actually what you see is a "correct" 
behavior (it behaves as intended); the think is, that you have the only profile 
called Default, so there is nothing else to switch to.

A new profile is created, when an application requests one; ltr_gui can't 
create one (on purpose, to avoid spelling problems). If you still really want 
to create another one, export the Default one, open it in the text editor, 
change the name and import it back...

Kind regards,

Michal

Original comment by f.jo...@email.cz on 17 Feb 2015 at 7:00

GoogleCodeExporter commented 9 years ago
Thanks Michal
Your suggestion in paragraph three is the work around I have been doing. Messy 
but does work

My suggestion would make that a whole lot simpler

Thanks for your prompt relies and advice

Just out of interest where are you positioned globally. I'm on the eastern 
seaboard of New South Wales in Australia

Original comment by Gary.Sm...@propertyclub.com.au on 17 Feb 2015 at 7:10

GoogleCodeExporter commented 9 years ago
Hello,

The thing is, that you shouldn't need to create new profiles by hand. The flow 
that I was thinking is this: 

1) You set up the Default profile to match your overall needs.

2) You run the client application and if it requests nonexistent profile, it 
creates one based on the Default one - after that you can tweak it as necessary.

This way, you don't need to create your profiles by hand and still, if the 
profile doesn't suit you, you can modify it. This holds between client 
applications, that use separate profiles.

Kind regards,

Michal

PS. I'm located in the Central Europe (Czech Republic).

Original comment by f.jo...@email.cz on 17 Feb 2015 at 7:25

GoogleCodeExporter commented 9 years ago
Thanks Michal

Ok I will follow your advice and tweak the one I like for the helicopter and 
see how it goes

I don't quite follow the 'nonexistent profile' When or why would a client 
application request such a change?

Also would X-plane do such a thing?

Thanks

Gary

Original comment by Gary.Sm...@propertyclub.com.au on 18 Feb 2015 at 10:48

GoogleCodeExporter commented 9 years ago
Hello Gary,

when a client application initializes the headtracking, it specifies a name of 
the profile to use. If a NULL string is passed, the default profile is used.
So when the application requests a profile name, that doesn't exist, Linuxtrack 
will create it by copying the Default one.

At the moment X-Plane plugin uses default profile (it was the first client 
created), but when the "subprofiles" come to play, I'm going to make it request 
an X-Plane profile.

Kind regards,

Michal

Original comment by f.jo...@email.cz on 20 Feb 2015 at 5:48