 afallon09
		
			afallon09
		
		
		
		
		
		
		
		
	
			04-06-2009 09:17 AM
Hi
I have made the attached subVI's in order to represent an aircraft ADI ball displaying aircraft pitch & roll.
The program works by wrapping an image around a 3D cylinder and orientating the cylinder as necessary (play with the sliders to see the effect).
The issue i need help with is clearing/preventing the flicker in the image (i have tried removing the compass image, which reduced the problem but didnt fix it) and correctly orientating the cylinder to represent the aircraft pitch and roll.
Can anyone recommend changes to the VI or another method of doing this?
Cheers
Adam
 
					
				
		
 ShotSimon
		
			ShotSimon
		
		
		
		
		
		
		
		
	
			04-07-2009 11:54 AM
afallon09,
That is excellent! I'm surprised this post has gone unanswered. I don't see the flicker that you are referring to. I am running a Intel Core Dual @2.4GHz, 3.25GB of RAM, and an NVIDIA Quadro FX 560 video card.
In the past I have used the "defer panel updates" to fix graphics artifacts or have read about certain tables flickering that can be fixed with transparent decals.
You may want to search around the forums again under these topics.
Good luck and thanks for sharing, -SS
 Pierpaolo
		
			Pierpaolo
		
		
		
		
		
		
		
		
	
			05-19-2009 05:43 AM
Hi afallon,
I've tried your ah.vi and me too it gives the flicker problem; have you solved it?
Another question: why do you add 90 to the Roll? and why do you add -50 to the pitch and then you multiply the output to 1.77?
However it's great and it works very well!
 TedC
		
			TedC
		
		
		
		
		
		
		
		
	
			10-22-2009 03:24 PM
 DTA
		
			DTA
		
		
		
		
		
		
		
		
	
			06-17-2010 10:10 PM
Hi Adam,
This is a great VI. I notice that you were also trying to implement a compass and presumably an airspeed tape on the left. Did you resolve these and would you care to share the VI if you did? I notice that a lot of people are looking for this type of diplay.
Thanks
Justin
 davebales
		
			davebales
		
		
		
		
		
		
		
		
	
			06-02-2011 08:13 PM
I'm trying to couple this VI to a freescale accelerometer from sure electronics to give me a real time artifical horizon for my experimental aircraft. If anyone is interested, please let me know. b.t.w. I'm not successful.... yet...
 davebales
		
			davebales
		
		
		
		
		
		
		
		
	
			06-04-2011 11:08 PM
Managed to get it to work. So as the accelerometer gets tilted the AH follows. I sample at 200 Hz from the accelerometer so the motion look pretty good.
 minnellac
		
			minnellac
		
		
		
		
		
		
		
		
	
			07-28-2011 08:21 AM
Nice! This would make a pretty cool xcontrol. btw, no flicker on my system: Core2Quad Q9550, 8GB, Nvidia Quadro FX 570, Win7-64.
			
    
	
		
		
		08-17-2011
	
		
		10:18 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		03-14-2024
	
		
		03:14 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
Hi Guys,
Dont know if you are needing this anymore but I have built up a little example using some little parts from you code. I have uploaded it to the community, and though you all might find it usefull. How ever I dont think I have particularly solved the issue, as it will flicker slightly as I have to correct the Roll transform, befor applying the new pitch transform, So i know why it occours at least. However this flicker is minimal if you enable the fixed camera position.
Anyway take a look and let me know what you think!
Cheers
R
 CMal
		
			CMal
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		08-17-2011
	
		
		11:10 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		03-14-2024
	
		
		03:14 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
For anyone who is interested, the LabVIEW Robotics Module includes an attitude indicator similar to what is being discussed here.
Chris M