[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - program to view xml file in 3D

program to view xml file in 3D

The new control algorithm for AutoQuad flight controllers.

Re: program to view xml file in 3D

Postby plexus » Mon May 04, 2015 5:12 pm

plexus
 
Posts: 534
Joined: Tue Jul 03, 2012 3:30 pm
Location: South of France

Re: program to view xml file in 3D

Postby fred_fr » Tue May 05, 2015 8:25 pm

hi

We could make some changes in the program and you can find below the results

- quad aBUGSworstnightmare :

Image

One error in your xml file :
<!-- M4CAN expansion board -->
<cube name="m4can" dimx="0.052" dimy="0.052" dimz="0.05" offsetx="0" offsety="0" offsetz="+.0.0025">14.0</cube>

- Quad Astudillo

Image

- Quad plexus

Image

fred
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby chschmid » Tue May 05, 2015 9:40 pm

Hi Fred

Can you send these thru the prog for me?

quatos_clip_quad.xml
(1.73 KiB) Downloaded 225 times

quatos_octo_cs.xml
(1.48 KiB) Downloaded 207 times


Cheers
Christof
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Re: program to view xml file in 3D

Postby fred_fr » Tue May 05, 2015 9:53 pm

hi

see the result , is correct ?

Image



fred_fr
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby chschmid » Tue May 05, 2015 10:27 pm

Thanks Fred

I guess it is difficult to diplay the arms because we do not have a Z position for them. All other Z's are relative to a chosen "zero Z plane". I guess if the masses are speced with center of arms as "zero Z plane" the prog works nice.

The arms could always be displayed at center of body.

Cheers
Christof
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Wed May 06, 2015 6:48 am

Attachments
CamCruiser_2r0_quad-x_split.xml
(5.71 KiB) Downloaded 200 times
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: program to view xml file in 3D

Postby fred_fr » Thu May 07, 2015 10:30 pm

hi

the new result :

Image

I have not test custom frame geometry. For custom frame the to parameter for motor is position in x and y ?
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby fred_fr » Thu May 07, 2015 10:35 pm

The program convert xml file in vrml file. It is write in TCL langage : .

The first version of this program is written in language TCL .
The program is used command line interface :

tclsh.exe convert tcl fichier_in.xml fichier_out.wrl

it can be download at:

The used program allowing the display Vrml file is this one

fred

see more in french : http://autoquad6.free.fr/xml_to_vrml.html
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: program to view xml file in 3D

Postby kinderkram » Thu May 07, 2015 11:07 pm

Thx for your contributions, Fred!
This is a very helpful tool to visualize whether a setup makes sense - as we can see with Joerg´s example.

Would be a nice companion for the QuatosTool.
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: program to view xml file in 3D

Postby aBUGSworstnightmare » Fri May 08, 2015 8:05 am

Hi fred,

this is a great tool! Thanks for sharing it!

Since I still have a wrong offset on the landing skids I've changed my xml.file again and tested your tool.
Seems there is an error somewhere because not every cube is processed; last one is the GPS antenna. Arms were completely missing!
Please find the input file and the resulting outputs below.
output.PNG
Command line and related output
output.PNG (76.77 KiB) Viewed 4594 times

testrun.PNG
Generated 3D file - the last cube that is correctly processed is the GPS antenna - rest is missing!
One skid is in black --> barely visible! How to change the background color to white i.e.?
testrun.PNG (5.87 KiB) Viewed 4594 times

xml_wrl-files.zip
Related .xml- and .wrl-files
(2.55 KiB) Downloaded 190 times

Thanks again for looking into this!
Joerg
P.S. Files were downloaded from the linked references!
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

PreviousNext

Return to Quatos Adaptive Control

Who is online

Users browsing this forum: No registered users and 1 guest

cron