1
0
Fork 0
Commit graph

144 commits

Author SHA1 Message Date
mfranz
e2899588c7 drop dependence on PyXML and use standard lib methods 2008-07-25 20:22:36 +00:00
ehofman
d9bfd5a425 This should apply, and everything should build cleanly, in isolation from the
SimGear change. It changes all the SG_xxxx to be the 'real' includes, and gets
rid of many #ifdef SG_HAVE_STD_INCLUDES. As an added bonus, rather than
replacing 'SG_USING_NAMESPACE(std)' with 'using namespace std', I just fixed
the small number of places to use std:: explicitly. So we're no longer polluting
the global namespace with the entire contents of std, in many cases.

There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X),
but I want to keep that separate from everything else. (There's another
mechnical change, replacing <math.h> with <cmath> and so on *everywhere*, but
one step at a time)
2008-07-25 18:38:29 +00:00
mfranz
ff5743d3e7 add printf 2008-07-23 15:45:30 +00:00
mfranz
205718dcf3 add thisfunc() and props.condition() 2008-07-22 23:33:30 +00:00
curt
b19a270d54 Clean up a couple warnings. 2008-07-21 19:57:56 +00:00
ehofman
d015bfe72f * change a number of function parameters to const where appropriate
* fix a problem where the wrong node-name length was returned
  * xmlgrep now also works when only the -e options is specified
  * fix xmlgrep to show the correct node-name (it reported the parent
    node-name in the previous version)
2008-07-21 12:32:22 +00:00
ehofman
83c2f96153 * fix __xmlSkipComment to properly find the end of comment tag.
* add the xmlGetNodeName and xmlCopyNodeName functions
* add the xmlCopyString function
* clean up some code

'xmlgrep -v' now returns the proper node name
2008-07-20 09:38:53 +00:00
ehofman
b4ab5242ec Change the low level internals of the xml library to reflect the following;
* rewrite the code to always recursively walk the node tree when searching
    for a particular node. this is required for cases where a node with a
    particular name is located deeper in a node with the same name;
    for example -r /configuration/device/reference/device would fail in the
    previous verion
  * rename xmlGetElement to xmlGetNodeNum and add the possibility to request
    the nth node with this name
  * rename xmlGetNumElements to xmlGetNumNodes

The drawback is that this is approach slows down processing the files a bit,
but at least it can now find any xml node in any xml file.
Also, no more function changes are planned from now on.
2008-07-19 12:18:05 +00:00
ehofman
6e6e8bbefc * reorganize the code to be able to skip comment sections
* depreciate __xmlFindNextElement and use __xmlGetNode instead
* xmlGetNextElement now returns char* instead of void* for furute use
* add preliminary support for wildcards in the search path ('*' and '?')
2008-07-06 11:34:50 +00:00
ehofman
67ca3c0307 * fix a problem caused by removing the last unnecessary alloc
* strip leading-, and trailing spaces from the string before comparing
 * fix a problem where trailing spaces weren't removed
2008-07-01 12:15:46 +00:00
ehofman
d9b79d6e3e whoops, my bad 2008-06-30 12:05:26 +00:00
ehofman
f35ab314bf Remove the last unnecessary alloc from the library 2008-06-30 12:00:40 +00:00
ehofman
dd77cd25f6 Some small updates; fix typo's and fix a small memory leak
Improve the documentation in README
2008-06-30 07:30:02 +00:00
mfranz
64a07de080 Erik HOFMAN: add documentation/changelog 2008-06-29 13:33:26 +00:00
mfranz
24071a3133 Erik HOFMAN: faster and better xmlgrep implementation 2008-06-29 13:08:24 +00:00
mfranz
b21cf2a22d add abort() 2008-06-19 17:25:14 +00:00
mfranz
f35ba3510f vim syntax files for *.ac and *.nas files. See nasal.vim for how to use them.
Note that for XML embedded Nasal you can type  :set ft=nasal  and back to
XML with  :set ft=xml   (ft ... filetype)
2008-06-07 17:21:47 +00:00
timoore
ebf2e996e9 Fixes for compiling with gcc 4.3
Include standard header files and qualify with std:: where needed.

Qualify various char parameters and variables with const.
2008-04-13 21:12:36 +00:00
curt
8b4f1f2d5e Add a telnet command parser to UGear so we can feed commands remotely to
be passed up to the UAS.
2008-04-04 22:34:19 +00:00
curt
fe41d33b4c Added autopilot target values to communications link.
Pass autopilot target values to LFSGlass display so they can be properly
displayed.
Fix a gps status display bug.
2008-04-04 06:15:05 +00:00
curt
78e6655002 Several updates to implement a sequenced/verified/check summed serial
command uplink on the same port we are receiving the telemetry data.
2008-03-30 05:34:40 +00:00
curt
817ba71a2e - UGsmooth now can send opengc packets directly rather than piping through
a running copy of FlightGear (no need to have FlightGear running on weaker
  powered groundstations.)

- Add a test for "valid" gps data.

- Pretty print gps coordinates in debug output.
2008-03-28 22:55:42 +00:00
mfranz
205da67313 final cosmetics (because I had posted the web-cvs link to the blender list/forum :-) 2008-03-10 16:31:02 +00:00
mfranz
435cd3ca8f - GPL license block
- new id separator
- drop debug message
- simplification & cleanup
2008-03-08 19:02:08 +00:00
mfranz
7ccdc1081a - improve Blender registry handling
- save each mesh in a different color
2008-03-07 17:09:11 +00:00
mfranz
40261787c2 minor progress bar fix 2008-03-06 10:53:05 +00:00
mfranz
580f65fcb2 uv_export_svg.py: don't group single-chunk objects; move id in front
uv_import_svg.py: reverse matrix multiplication; cosmetics
2008-03-06 10:48:28 +00:00
mfranz
615d5ef4d8 ... and do no longer assume that the separator is only one character ;-) 2008-03-05 18:21:45 +00:00
mfranz
898584e906 use SVG compliant id separator: _____ instead of # 2008-03-05 18:16:09 +00:00
mfranz
2fcae160a1 UV<->SVG exporter and importer: The importer loads an SVG file that was
saved before by the exporter. SVG editors like Inkscape can be used to
move the UV outlines around, to rotate and scale them.
2008-03-05 12:30:01 +00:00
mfranz
7a6376021a - make it faster by reloading rather than erasing the image every time
(this also fixes a bug that wouldn't update a changed texture in 3D view)
- better progress bar
2008-03-03 18:06:57 +00:00
mfranz
cad1df2f58 minor improvements (show busy cursor, etc.) 2008-03-03 11:57:45 +00:00
mfranz
9e9df1e36b Blender 2.46 box packer script. Allows to unwrap objects individually, and
to pack them onto one square texture. Read instructions in the file.
2008-03-02 20:14:13 +00:00
durk
ecc6548d71 cygwin related fixes, and some minor future release related maintenance
work.
2008-02-04 20:03:52 +00:00
curt
68c2433df8 Various updates. 2007-12-05 19:01:49 +00:00
mfranz
e54215e7e7 fix license (Public Domain) 2007-10-22 16:58:46 +00:00
curt
a4e1daef5c Fix a typo introduced when supporting faster than integer gps clocks. 2007-10-02 21:51:50 +00:00
curt
953e3bbfac First revision of a small utility that will build a simple .ac file around
a aerial photo texture.  You need to determine the coordinates of the 4
corners of your image and this utility will use that to build a 3d model
in meters and tell you the information to copy into the proper .stg file.
2007-07-16 13:47:42 +00:00
curt
c0e6b239df Fix the speed estimate, tune control surface deflection gains, parse the full
gps ITOW.
2007-06-18 22:01:32 +00:00
curt
78cb8f5ca3 Tweak control input estimation gains. 2007-06-11 20:14:40 +00:00
curt
93617f577d Add an option to estimate control surfaces deflections based on rotational
rates (not perfect, but lacking any data at all this is better than showing
them all hard over full stop.)
2007-06-11 19:13:08 +00:00
curt
c951810f92 A couple tweaks. 2007-06-09 22:38:54 +00:00
curt
1722d26b2f Add support for a new file format which where packet type are saved out into
one file per type in a simple binary conglomeration of packets with no headers
or checksumming (this format is intended for local storage only, not to be
transmitted on the fly over a noisy communication pipe.)
2007-04-27 15:30:26 +00:00
curt
a0e00e1eaf Switch to "nav" (cooked) data to drive FlightGear. 2007-02-27 19:45:48 +00:00
curt
006a7c1bd8 Fix a bug in file logging (add an ignore checksum option just to humor
myself.)
2007-02-21 21:11:15 +00:00
mfranz
7ddd2efbe6 animation plugin for Blender 2.43 2007-02-20 11:35:59 +00:00
curt
15c28a9354 Fix a couple data packet decoding mistakes. 2007-02-20 03:13:01 +00:00
curt
b8d3a41810 Update the ugear health structure to match the microgear code. 2007-02-19 22:52:52 +00:00
curt
8adf1d6ada Clean up some debugging output. 2007-01-17 23:11:45 +00:00
fredb
eb1f19abf7 MSVC compilation 2007-01-11 22:06:33 +00:00