firebug-cvs Mailing List for FireBug: wireless wildfire monitoring (Page 18)
Brought to you by:
doolin
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(36) |
Jun
(45) |
Jul
(108) |
Aug
(31) |
Sep
(2) |
Oct
(4) |
Nov
(113) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(63) |
Feb
(37) |
Mar
(24) |
Apr
(6) |
May
(5) |
Jun
(5) |
Jul
(71) |
Aug
(42) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(64) |
Jun
(71) |
Jul
(51) |
Aug
(89) |
Sep
(24) |
Oct
(1) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
|
Feb
|
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
(21) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: David M. D. <do...@us...> - 2004-07-13 12:54:52
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31445 Modified Files: Makefile chassis.tex Added Files: sensor.bib tinyos.bib Log Message: Added bibtex ref files. Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** chassis.tex 13 Jul 2004 05:37:06 -0000 1.8 --- chassis.tex 13 Jul 2004 12:54:43 -0000 1.9 *************** *** 1,5 **** --- 1,7 ---- \documentclass{article} + \usepackage{chicago} \usepackage{graphicx} + \usepackage{subfigure} %\input{comment} *************** *** 23,27 **** and collect data in situations where traditional ``wired'' sensing components are cumbersome or impractical. Though originally developed in the late 1990's ! for the military to monitor hostile combat situations, scientists and experts now see applications in monitoring structural conditions in large skyscrapers or bridges, industrial manufacturing operations, heating and cooling systems, --- 25,30 ---- and collect data in situations where traditional ``wired'' sensing components are cumbersome or impractical. Though originally developed in the late 1990's ! for the military to monitor hostile combat situations~\cite{need_ref}, ! scientists, engineers and domain experts in many fields now see applications in monitoring structural conditions in large skyscrapers or bridges, industrial manufacturing operations, heating and cooling systems, *************** *** 29,36 **** extremely early in its lifecycle -- where commercial markets are minute and the bulk of the current customers are comprised of government, academic, and ! corporate researchers. >>NEED SOURCE REFERENCE<< These researchers are continually developing and optimizing WSN for use in ! untracked territory (often literally) >>reference great duck and firebug papers <<, and require hardware that can repeatedly be rapidly deployed, operated, and then taken down for constant revision. Because of the nascence of the --- 32,39 ---- extremely early in its lifecycle -- where commercial markets are minute and the bulk of the current customers are comprised of government, academic, and ! corporate researchers~\cite{appropriate_refs} These researchers are continually developing and optimizing WSN for use in ! untracked territory (often literally)~\shortcite{mainwaring:a2002}, and require hardware that can repeatedly be rapidly deployed, operated, and then taken down for constant revision. Because of the nascence of the *************** *** 195,202 **** \begin{center} \includegraphics[width=3in]{figs/exploded_view_2.eps} - \label{fig:exploded_view_2} \caption{An exploded view of the ``candy bar'' chassis used for the controlled burn test at East Bay Regional Parks Fire Department, Lake Chabot.} \end{center} \end{figure} --- 198,205 ---- \begin{center} \includegraphics[width=3in]{figs/exploded_view_2.eps} \caption{An exploded view of the ``candy bar'' chassis used for the controlled burn test at East Bay Regional Parks Fire Department, Lake Chabot.} + \label{fig:exploded_view_2} \end{center} \end{figure} *************** *** 204,213 **** ! The ``candy bar'' chassis is shown in Fig.~\ref{exploded_view_2}. \section{Conclusions} \end{document} --- 207,234 ---- ! A prototyped ``candy bar'' chassis machined from acrylic ! is shown in Fig.~\ref{fig:exploded_view_2}. + \begin{figure} + \begin{center} + \subfigure[Front view.]{\label{subfig:candy_bar_injection_moldable_front}% + \includegraphics[width=2.5in]{figs/candy_bar_injection_moldable_front.eps}} + \subfigure[Back view.]{\label{subfig:candy_bar_injection_moldable_back}% + \includegraphics[width=2.5in]{figs/candy_bar_injection_moldable_back.eps}} + \caption{Injection mold design.} + \label{fig:cbim} + \end{center} + \end{figure} + + An injection moldable chassis, as shown in + Fig.~\ref{fig:cbim} was designed with the ??? software. + \section{Conclusions} + \bibliographystyle{chicago} + \bibliography{tinyos,sensor} + \end{document} --- NEW FILE: tinyos.bib --- @Unpublished{gay:d2004a, author = {D. Gay and P. Levis and J. Polastre}, title = {Standard {TinyOS} Sensorboard Interface}, note = {\ \ (Unpublished) Distributed with TinyOS source, 4 Feb., 2004}, OPTkey = {}, OPTmonth = {}, year = {2004}, OPTannote = {} } @Unpublished{gay:d2004b, title = {Tiny Application Sensor Kit ({TASK}) Field Tool User Manual}, author = {D. Gay}, note = {\ \ (Unpublished) Distributed with TinyOS source, 4 Feb., 2004}, OPTkey = {}, OPTmonth = {}, year = {2004}, OPTannote = {} } @Unpublished{ho:h2004, author = {H. Ho}, title = {Generic sensor platform for networked sensor nodes}, note = {\ \ (Unpublished) Distributed with TinyOS source, 4 Feb., 2004}, OPTkey = {}, OPTmonth = {}, year = {2004}, OPTannote = {} } @Unpublished{hong:w2003, author = {W. Hong}, title = {Tiny Application Sensor Kit ({TASK})}, note = {\ \ (Unpublished) Distributed with TinyOS source, 4 Feb., 2004}, OPTkey = {}, OPTmonth = {}, year = {2004}, OPTannote = {} } @Unpublished{levis:pa2004, author = {P. A. Levis}, title = {TinyOS Contribution Guidelines}, note = {\ \ (Unpublished) Distributed with TinyOS source, 4 Feb., 2004}, OPTkey = {}, OPTmonth = {}, year = {2004}, OPTannote = {} } Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 8 Jul 2004 00:47:41 -0000 1.2 --- Makefile 13 Jul 2004 12:54:43 -0000 1.3 *************** *** 1,7 **** ! chassis: latex chassis latex chassis latex chassis dvipdfm chassis.dvi --- 1,15 ---- ! chassis: figures latex chassis + bibtex chassis latex chassis latex chassis dvipdfm chassis.dvi + + figures: + cd figs; make + + + clean: + rm -rf *.dvi *.aux *.log *.bbl *.pdf *.ps *.blg \ No newline at end of file --- NEW FILE: sensor.bib --- @InProceedings{lee:kb2003, author = {K. B. Lee and F. Sammoura and L. Lin}, title = {Water Activated Disposable and Long Shelf Life Microbatteries}, booktitle = {Proceedings of 16th IEEE International Conference on Micro Electro Mechanical System, MEMS 2003}, OPTcrossref = {}, OPTkey = {}, pages = {387-390}, year = {2003}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, OPTaddress = {}, month = {January}, OPTorganization = {}, OPTpublisher = {}, OPTnote = {}, OPTannote = {} } @inproceedings{bulusu:n2001, author = {Nirupama Bulusu and Vladimir Bychkovskiy and Deborah Estrin and John Heidemann}, title = {{GPS}-less Low Cost Outdoor Localization For Very Small Devices}, booktitle = {21st International Conference on Distribued Computing (ICDCS) 2001}, address = {Phoenix, Arizona}, month = {April}, year = {2001} } @inproceedings{bulusu:n2002, author = {Nirupama Bulusu and Vladimir Bychkovskiy and Deborah Estrin and John Heidemann}, title = {Scalable, Ad Hoc Deployable RF-based Localization}, booktitle = {Grace Hopper Celebration of Women in Computing Conference 2002}, address = {Vancouver, British Columbia, Canada}, month = {October}, year = {2002}, url = {http://www.cs.ucla.edu/~bulusu/papers/Bulusu02a.html} } @InProceedings{chen:mm2004, author = {M. M. Chen and A. Sharma and D. M. Doolin and S. Glaser and N. Sitar}, title = {Sensor network behavior at the urban-rural interface: making smart structures smarter}, booktitle = {Proceedings of SN-09, San Diego, CA}, OPTcrossref = {}, OPTkey = {}, OPTpages = {}, year = {2004}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, OPTaddress = {}, OPTmonth = {}, OPTorganization = {}, OPTpublisher = {}, OPTnote = {}, OPTannote = {} } @Misc{chen:mm2003, OPTkey = {}, author = {M. M. Chen and C. Majidi and D. M. Doolin and S. Glaser and N. Sitar}, title = {Design and construction of a wildfire instrumentation system using networked sensors}, howpublished = {Poster --- Network Embedded Systems Technology (NEST) Retreat, Oakland, CA}, month = {June 17-18}, year = {2003}, OPTnote = {}, OPTannote = {} } @TechReport{ganesan:d2002, author = {D. Ganesan and B. Krishnamachari and A. Woo and D. Culler and D. Estrin and and S. Wicker}, title = {Complex Behavior at Scale: An Experimental Study of Low-Power Wireless Sensor Networks. }, institution = {University of California}, year = {2002}, OPTkey = {}, type = {Technical Report CSD-TR 02-0013}, OPTnumber = {}, address = {Los Angeles}, month = {February}, OPTnote = {}, OPTannote = {} } @InProceedings{gay_d2003, author = {D. Gay and P. Levis and R. {von Behren} and M. Welsh and E. Brewer and D. Culler}, title = {The {nesC} Language: A Holistic Approach to Networked Embedded Systems}, booktitle = {Proceedings of the {ACM SIGPLAN 2003} conference on Programming Language Design and Implementation}, OPTcrossref = {}, OPTkey = {}, pages = {1-11}, year = {2003}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, address = {New York}, month = {June 9-11}, doi = {http://doi.acm.org/10.1145/781131.781133}, OPTorganization = {}, publisher = {ACM Press}, OPTnote = {}, OPTannote = {} } @misc{hill:j2000, author = "Jason Hill", title = "A software architecture supporting networked sensors", book-title = "Master's thesis, U.C. Berkeley, 2000. Dept. of Electrical Eng. and Computer Science,", year = "2000" } @InProceedings{lundquist:jd2003, author = {J. D. Lundquist and D. R. Cayan and M. D. Dettinger}, title = {Meteorology and Hydrology in Yosemite National Park: A Sensor Network Application}, booktitle = {Information Processing in Sensor Networks Second International Conference, Palo Alto, CA}, OPTcrossref = {}, OPTkey = {}, pages = {518-528}, year = {2003}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, OPTaddress = {}, month = {April 22-23}, organization = {Lecture Notes in Computer Science 2634}, publisher = {Springer}, OPTnote = {}, OPTannote = {} } @Article{lynch:jp2003:SEM, author = {J. P. Lynch and A. Sundararajan and K. Law and A. S. Kiremidjian and T. Kenny and E. Carryer}, title = {Embedment of structural monitoring algorithms in a wireless sensing unit}, journal = {Structural Engineering and Mechanics}, year = {2003}, OPTkey = {}, volume = {15}, OPTnumber = {3}, pages = {285-297}, OPTmonth = {}, OPTnote = {}, OPTannote = {} } @InProceedings{kottapelli:va2003:SPIE, author = {V. A. Kottapalli and A. S. Kiremidjian and J. P. Lynch and E. Carryer and T. W. Kenny and K. H. Law and Y. Lei}, title = {Two-Tiered Wireless Sensor Network Architecture for Structural Health Monitoring}, booktitle = {SPIE'03}, OPTcrossref = {}, OPTkey = {}, OPTpages = {}, year = {2003}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, OPTaddress = {}, OPTmonth = {}, OPTorganization = {}, OPTpublisher = {}, OPTnote = {}, OPTannote = {} } @Book{nrc:2002, author = {{National Research Council}}, ALTeditor = {}, title = {Making the nation safer: The role of science and technology in countering terrorism}, publisher = {National Academies Press}, year = {2002}, OPTkey = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, address = {Washington, D.C.}, OPTedition = {}, OPTmonth = {}, OPTnote = {}, OPTannote = {} } @inproceedings{mainwaring:a2002, author = {Alan Mainwaring and Joseph Polastre and Robert Szewczyk and David Culler and John Anderson}, title = {Wireless Sensor Networks for Habitat Monitoring}, month = {September}, day = 28, booktitle = {Proceedings of the 1st ACM international workshop on Wireless sensor networks and applications}, year = {2002}, isbn = {1-58113-589-0}, pages = {88-97}, location = {Atlanta, Georgia, USA}, doi = {http://doi.acm.org/10.1145/570738.570751}, publisher = {ACM Press}, url = "citeseer.nj.nec.com/mainwaring02wireless.html" } @InProceedings{mehta:v2002, author = {V. Mehta and M. {El Zarki}}, title = {Fixed Sensor Networks for Civil Infrastructure Monitoring}, booktitle = {Proceedings Med-Hoc-Net, Sardegna, Italy}, OPTcrossref = {}, OPTkey = {}, OPTpages = {}, year = {2002}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, OPTaddress = {}, OPTmonth = {}, OPTorganization = {}, OPTpublisher = {}, OPTnote = {}, OPTannote = {} } @MastersThesis{polastre:jr2003, author = {J. R. Polastre}, title = {Design and Implementation of Wireless Sensor Networks for Habitat Monitoring}, school = {Department of Electrical Engineering and Computer Sciences, University of California, Berkeley}, year = {2003}, OPTkey = {}, OPTtype = {}, OPTaddress = {}, OPTmonth = {}, OPTnote = {}, OPTannote = {} } @inproceedings{ramadurai:v2003, author = {V.~Ramadurai and M.~L.~Sichitiu}, title = {Localization in Wireless Sensor Networks: A Probabilistic Approach}, booktitle = {Proc. of the 2003 International Conference on Wireless Networks (ICWN 2003)}, address = {Las Vegas, NV}, month = June, year = 2003, } @Manual{sensirion:sht11:2003, title = {{R}elative {H}umidity {S}ensor {SHT}11}, OPTkey = {}, author = {{Sensirion {AG}}}, OPTorganization = {}, address = {Sensirion AG, Eggbuehlstrasse 14, CH-8052 Zurich, Switzerland}, OPTedition = {}, OPTmonth = {}, year = {2003}, OPTnote = {}, OPTannote = {}, url = {http://www.sensirion.com/en/sensors/humidity/sensors_devices/sensorSHT11.htm} } @inproceedings{sichitiu:ml2003, author = {M.~L.~Sichitiu and V.~Ramadurai and P.~Peddabachagari}, title = {Simple Algorithm for Outdoor Localization of Wireless Sensor Networks with Inaccurate Range Measurements}, booktitle = {Proc. of the 2003 International Conference on Wireless Networks (ICWN 2003)}, address = {Las Vegas, NV}, month = June, year = 2003, } @inproceedings{simic:sn2003, author = {Slobodan N. Simic and Shankar Shastry}, title = {Distributed Environmental Monitoring Using Random Sensor Networks}, booktitle = {2nd International Workshop on Information Processing in Sensor Networks, (IPSN) 2003}, address = {PARC, Palo Alto}, month = {April}, year = {2003} } @InProceedings{west:b2001, author = {B. W. West and P. G. Flikkema and T. Sisk and G. W. Koch}, title = {Wireless Sensor Networks for Dense Spatio-Temporal Monitoring of the Environment: A Case for Integrated Circuit, System, and Network Design}, booktitle = {2001 IEEE CAS Workshop on Wireless Communications and Networking}, OPTcrossref = {}, OPTkey = {}, OPTpages = {}, year = {2001}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, address = {University of Notre Dame}, month = {August}, OPTorganization = {}, OPTpublisher = {}, OPTnote = {}, OPTannote = {} } @InProceedings{wong:jm2004, author = {{J.-M.} Wong and B. Stojadinovic}, title = {Structural Sensor Data Repository: Metadata and web-based user interface}, booktitle = {Proceeding of 13th World Conference on Earthquake Engineering, Vancouver, BC Canada}, OPTcrossref = {}, OPTkey = {}, OPTpages = {}, year = {2004}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, OPTaddress = {}, month = {August 1-6}, OPTorganization = {}, OPTpublisher = {}, OPTnote = {}, OPTannote = {} } @InProceedings{woo:a2003, author = {A. Woo and T. Tong and D. Culler}, title = {Taming the underlying hurdles for Reliable Multihop Routing in Sensor Networks}, booktitle = {Proceedings of ACM SenSys 2003}, OPTcrossref = {}, OPTkey = {}, OPTpages = {}, year = {2003}, OPTeditor = {}, OPTvolume = {}, OPTnumber = {}, OPTseries = {}, address = {Los Angeles, CA}, month = {November 5-7}, OPTorganization = {}, OPTpublisher = {}, OPTnote = {}, OPTannote = {} } |
From: David M. D. <do...@us...> - 2004-07-13 12:54:11
|
Update of /cvsroot/firebug/firebug/doc/chassis/figs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31326 Added Files: .cvsignore Makefile Log Message: MAke and ignore file added. --- NEW FILE: .cvsignore --- *.eps --- NEW FILE: Makefile --- .SUFFIXES : .eps .ps .jpg .dia .dot EPSPLOTS = exploded_view_2.eps \ candy_bar_injection_moldable_front.eps \ candy_bar_injection_moldable_back.eps # graphviz dot format #PSPLOTS = TestSensirion.eps ALL = epsplots psplots all: $(ALL) epsplots: $(EPSPLOTS) psplots: $(PSPLOTS) #figplots: $(FIGPLOTS) pngplots: $(PNGPLOTS) hpglplots: $(HPGLPLOTS) .dia.eps: dia -e $*.eps $*.dia .gnu.eps: gnuplot < $*.gnu .m.eps: octave -q $*.m .win.png: gnuplot < $*.win .hp.hpg: gnuplot < $*.hp .fig.eps: fig2dev -L eps $*.fig > $*.eps .jpg.eps: jpeg2ps $*.jpg > $*.eps .dot.eps: dot -Tps $*.dot > $*.ps .gz.bb: zcat $* |egrep BoundingBox > $*.bb clean: rm -f core $(TEXPLOTS) $(PSPLOTS) *.bak *~ $(FIGPLOTS) $(EPSPLOTS) |
From: David M. D. <do...@us...> - 2004-07-13 12:53:22
|
Update of /cvsroot/firebug/firebug/doc/chassis/figs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31111 Added Files: candy_bar_injection_moldable_back.jpg candy_bar_injection_moldable_front.jpg Log Message: Added figures of alexs injection mold design. --- NEW FILE: candy_bar_injection_moldable_back.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: candy_bar_injection_moldable_front.jpg --- (This appears to be a binary file; contents omitted.) |
From: Alex Do <use...@us...> - 2004-07-13 05:37:15
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30745 Modified Files: chassis.tex Log Message: Organizational and content updates, will deal with formatting in future revisions Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** chassis.tex 10 Jul 2004 00:35:16 -0000 1.7 --- chassis.tex 13 Jul 2004 05:37:06 -0000 1.8 *************** *** 20,24 **** --- 20,67 ---- \section{Introduction} + Wireless sensors networks (WSN) are currently emerging as solutions to monitor + and collect data in situations where traditional ``wired'' sensing components + are cumbersome or impractical. Though originally developed in the late 1990's + for the military to monitor hostile combat situations, scientists and experts + now see applications in monitoring structural conditions in large skyscrapers + or bridges, industrial manufacturing operations, heating and cooling systems, + and an endless addition of other applications. The technology, however, is + extremely early in its lifecycle -- where commercial markets are minute and + the bulk of the current customers are comprised of government, academic, and + corporate researchers. >>NEED SOURCE REFERENCE<< + + These researchers are continually developing and optimizing WSN for use in + untracked territory (often literally) >>reference great duck and firebug papers <<, + and require hardware that can repeatedly be rapidly deployed, operated, and + then taken down for constant revision. Because of the nascence of the + technology, there are no commercially available housings or chassis units + available that serve as the ``AT computer case'' of wireless sensor hardware. + + We are developing a mechanical chassis for wireless sensor network equipment + distributed by Crossbow Inc. The chassis will allow for rapid assembly, + deployment, and dissasembly of the Crossbow WSN hardware. + + This paper reviews the design process and technical issues for creating such a chassis. + + \section{Hardware Overview} + -Components overview + -sensing + -mote board + --radio antenna + -power + + Discuss issues that stem from interconnections and assembly. + + \section{Design Objectives} + Discuss needs for the following features: + -Tool-less; requires only hands and possibly a coin to open, disassemble, reassemble (rapid and simple) + -Separation of modular components: sensing, power, mote, antennas + -Wiring harness to separate power connection + -battery cage design to accommodate different battery candidates + -Supports mounting by: screw, strap, zip-tie, magnet + -Injection moldable for low-cost production + + \section{Design for Assembly} *************** *** 143,147 **** suitable than Ni-Cd batteries for this project. ! \section{Chassis} --- 186,193 ---- suitable than Ni-Cd batteries for this project. ! \section{Mounting} ! ! ! \section{Design for Injection Molding} |
From: David M. D. <do...@us...> - 2004-07-10 00:35:25
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15708 Modified Files: chassis.tex Added Files: comment.tex Log Message: Added comment.tex for support file. Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** chassis.tex 10 Jul 2004 00:01:14 -0000 1.6 --- chassis.tex 10 Jul 2004 00:35:16 -0000 1.7 *************** *** 38,44 **** we found it best to use 26 AWG wire. In order to crimp these connectors, we were officially supposed to use a specific Molex ! crimping tool.However, the cost of this tool is roughly $180, making it quite a hefty investment. Thus, we instead went with ! a $7 crimping tool from a nearby electronics store, and did our best to make working connectors. But because of the size of these parts, crimping the terminals was very difficult, and even --- 38,44 ---- we found it best to use 26 AWG wire. In order to crimp these connectors, we were officially supposed to use a specific Molex ! crimping tool.However, the cost of this tool is roughly \$180, making it quite a hefty investment. Thus, we instead went with ! a \$7 crimping tool from a nearby electronics store, and did our best to make working connectors. But because of the size of these parts, crimping the terminals was very difficult, and even *************** *** 56,60 **** there were still issues to be addressed. ! To join the wires and form one piece that went from the battery case to the connector, solder was first applied on each pair of wire separately (the two red and two black wires) and then reinforced altogether with some --- 56,60 ---- there were still issues to be addressed. ! To join the wires and form one piece that went from the battery case to the connector, solder was first applied on each pair of wire separately (the two red and two black wires) and then reinforced altogether with some *************** *** 63,67 **** could not fit over the crimp housings, so the heat shrink had to be placed on the wires prior to soldering. It is important to note that ! since the heat-shrinking material only shrinks up to 50% of its expanded diameter, a larger heat shrink would have been too loose to properly insulate the two sets of wires together. Thus, we could not use heat --- 63,67 ---- could not fit over the crimp housings, so the heat shrink had to be placed on the wires prior to soldering. It is important to note that ! since the heat-shrinking material only shrinks up to 50\% of its expanded diameter, a larger heat shrink would have been too loose to properly insulate the two sets of wires together. Thus, we could not use heat *************** *** 123,127 **** frequently open up the device and replace the AA batteries. However, Ni-Cd batteries have what is ! known as the memory effect, where partial discharges will lead to a decrease in the capacity of the battery. Thus, to combat the memory effect, --- 123,127 ---- frequently open up the device and replace the AA batteries. However, Ni-Cd batteries have what is ! known as ``the memory effect,'' where partial discharges will lead to a decrease in the capacity of the battery. Thus, to combat the memory effect, *************** *** 145,159 **** \section{Chassis} ! %\begin{comment} ! %\begin{figure} ! %\begin{center} ! %\includegraphics[width=3in]{figs/exploded_view_2.eps} ! %\label{fig:exploded_view_2} ! %\caption{An exploded view of the ``candy bar'' chassis ! %used for the controlled burn test at East Bay Regional ! %Parks Fire Department, Lake Chabot.} ! %\end{center} ! %\end{figure} ! %\end{comment} --- 145,159 ---- \section{Chassis} ! ! \begin{figure} ! \begin{center} ! \includegraphics[width=3in]{figs/exploded_view_2.eps} ! \label{fig:exploded_view_2} ! \caption{An exploded view of the ``candy bar'' chassis ! used for the controlled burn test at East Bay Regional ! Parks Fire Department, Lake Chabot.} ! \end{center} ! \end{figure} ! *************** *** 164,166 **** ! \end{document} \ No newline at end of file --- 164,167 ---- ! \end{document} ! --- NEW FILE: comment.tex --- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Comment.sty version 3.0, 3 September 1992 % selectively in/exclude pieces of text: the user can define new % comment versions, and each is controlled separately. % Special comments can be defined where the user specifies the % action that is to be taken with each comment line. % % This style can be used with plain TeX or LaTeX, and probably % most other packages too. % % Author % Victor Eijkhout % Department of Computer Science % University Tennessee at Knoxville % 104 Ayres Hall % Knoxville, TN 37996 % USA % % eij...@cs... % % Usage: all text included in between % \comment ... \endcomment % or \begin{comment} ... \end{comment} % is discarded. The closing command should appear on a line % of its own. No starting spaces, nothing after it. % This environment should work with arbitrary amounts % of comment. % % Other 'comment' environments are defined by % and are selected/deselected with % \includecomment{versiona} % \excludecoment{versionb} % % These environments are used as % \versiona ... \endversiona % or \begin{versiona} ... \end{versiona} % with the closing command again on a line of its own. % % Special comments are defined as % \specialcomment{name}{before commands}{after commands} % where the second and third arguments are executed before % and after each comment. By defining a control sequence % \Thiscomment#1{...} in the before commands the user can % specify what is to be done which each comment line. % % Basic approach: % to comment something out, scoop up every line in verbatim mode % as macro argument, then throw it away. % For inclusions, both the opening and closing comands % are defined as noop % % This file copyright Victor Eijkhout. All nonprofit use granted \def\makeinnocent#1{\catcode`#1=12 } \def\csarg#1#2{\expandafter#1\csname#2\endcsname} \def\TreatAsComment#1{\begingroup \def\CurrentComment{#1}% \let\do\makeinnocent \dospecials \makeinnocent\^^L% and whatever other special cases \endlinechar`\^^M \catcode`\^^M=12 \xComment} {\catcode`\^^M=12 \endlinechar=-1 % \gdef\xComment#1^^M{\def\test{#1} \csarg\ifx{PlainEnd\CurrentComment Test}\test \def\next{\endgroup\AfterComment}% \else \csarg\ifx{LolliEnd\CurrentComment Test}\test \def\next{\endgroup\AfterComment}% \else \csarg\ifx{LaLaEnd\CurrentComment Test}\test \edef\next{\endgroup\noexpand\AfterComment \noexpand\end{\CurrentComment}} \else \ThisComment{#1}\let\next\xComment \fi \fi \fi \next} } \def\includecomment #1{\message{Including comment '#1'}% \expandafter\def\csname#1\endcsname{}% \expandafter\def\csname end#1\endcsname{}} \def\excludecomment #1{\message{Excluding comment '#1'}% \csarg\def{#1}{\let\AfterComment\relax \def\ThisComment####1{}\TreatAsComment{#1}}% {\escapechar=-1\relax \csarg\xdef{PlainEnd#1Test}{\string\\end#1}% \csarg\xdef{LolliEnd#1Test}{\string\\#1Stop}% \csarg\xdef{LaLaEnd#1Test}{\string\\end\string\{#1\string\}}% }} \long\def\specialcomment #1#2#3{\message{Special comment '#1'}% \csarg\def{#1}{\def\ThisComment{}\def\AfterComment{#3}#2% \TreatAsComment{#1}}% {\escapechar=-1\relax \csarg\xdef{PlainEnd#1Test}{\string\\end#1}% \csarg\xdef{LolliEnd#1Test}{\string\\#1Stop}% \csarg\xdef{LaLaEnd#1Test}{\string\\end\string\{#1\string\}}% }} \excludecomment{comment} \endinput % a test of the special comments \newcount\comlines \specialcomment{countedcomment} {\comlines=-1\relax %note that the rest of the first line is also comment \def\ThisComment{\global\advance\comlines1\relax}} {\endgraf **Comment: \number\comlines\ line(s) removed**\endgraf} This is a line of text \countedcomment Oneline \endcountedcomment another line of text \countedcomment One line Two line Three line \endcountedcomment last line of text \end |
From: Alex Do <use...@us...> - 2004-07-10 00:01:23
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10064 Modified Files: chassis.tex Log Message: Commented out figure, need jpeg2ps.exe Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** chassis.tex 8 Jul 2004 00:47:41 -0000 1.5 --- chassis.tex 10 Jul 2004 00:01:14 -0000 1.6 *************** *** 2,6 **** \usepackage{graphicx} ! \setlength{\textheight}{8.5in} --- 2,6 ---- \usepackage{graphicx} ! %\input{comment} \setlength{\textheight}{8.5in} *************** *** 145,160 **** \section{Chassis} - \begin{figure} - \begin{center} - \includegraphics[width=3in]{figs/exploded_view_2.eps} - \label{fig:exploded_view_2} - \caption{An exploded view of the ``candy bar'' chassis - used for the controlled burn test at East Bay Regional - Parks Fire Department, Lake Chabot.} - \end{center} - \end{figure} ! The ``candy bar chassis is shown in Fig.~\ref{exploded_view_2}. --- 145,162 ---- \section{Chassis} + %\begin{comment} + %\begin{figure} + %\begin{center} + %\includegraphics[width=3in]{figs/exploded_view_2.eps} + %\label{fig:exploded_view_2} + %\caption{An exploded view of the ``candy bar'' chassis + %used for the controlled burn test at East Bay Regional + %Parks Fire Department, Lake Chabot.} + %\end{center} + %\end{figure} + %\end{comment} ! The ``candy bar'' chassis is shown in Fig.~\ref{exploded_view_2}. |
From: David M. D. <do...@us...> - 2004-07-08 21:46:58
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11817 Modified Files: chassis.xls Log Message: Alex's chassis b.o.m. spreadsheet. Index: chassis.xls =================================================================== RCS file: /cvsroot/firebug/firebug/web/chassis.xls,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsje8Bx5 and /tmp/cvsi9Xplp differ |
From: David M. D. <do...@us...> - 2004-07-08 00:47:50
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30795 Modified Files: Makefile chassis.tex Log Message: Added picture of chassis into documentation. Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** chassis.tex 8 Jul 2004 00:32:20 -0000 1.4 --- chassis.tex 8 Jul 2004 00:47:41 -0000 1.5 *************** *** 1,4 **** --- 1,7 ---- \documentclass{article} + \usepackage{graphicx} + + \setlength{\textheight}{8.5in} \setlength{\topmargin}{0in} *************** *** 6,9 **** --- 9,15 ---- \setlength{\textwidth}{6.5in} + + + \begin{document} *************** *** 137,140 **** --- 143,161 ---- suitable than Ni-Cd batteries for this project. + \section{Chassis} + + + \begin{figure} + \begin{center} + \includegraphics[width=3in]{figs/exploded_view_2.eps} + \label{fig:exploded_view_2} + \caption{An exploded view of the ``candy bar'' chassis + used for the controlled burn test at East Bay Regional + Parks Fire Department, Lake Chabot.} + \end{center} + \end{figure} + + The ``candy bar chassis is shown in Fig.~\ref{exploded_view_2}. + \section{Conclusions} Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 2 Jul 2004 20:41:21 -0000 1.1 --- Makefile 8 Jul 2004 00:47:41 -0000 1.2 *************** *** 3,5 **** --- 3,7 ---- chassis: latex chassis + latex chassis + latex chassis dvipdfm chassis.dvi |
From: David M. D. <do...@us...> - 2004-07-08 00:42:52
|
Update of /cvsroot/firebug/firebug/doc/chassis/figs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30163 Added Files: exploded_view_2.jpg Log Message: Added a view of the candy bar chassis. --- NEW FILE: exploded_view_2.jpg --- (This appears to be a binary file; contents omitted.) |
From: David M. D. <do...@us...> - 2004-07-08 00:41:06
|
Update of /cvsroot/firebug/firebug/doc/chassis/figs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29941/figs Log Message: Directory /cvsroot/firebug/firebug/doc/chassis/figs added to the repository |
From: David M. D. <do...@us...> - 2004-07-08 00:32:29
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28012 Modified Files: chassis.tex Log Message: Added Kevin's notes on wiring harness. Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** chassis.tex 5 Jul 2004 18:13:37 -0000 1.3 --- chassis.tex 8 Jul 2004 00:32:20 -0000 1.4 *************** *** 19,22 **** --- 19,102 ---- \section{Wiring harness} + To create wiring harnesses for the motes, the issues that were encountered + can be separated into roughly two sections: crimping the connectors + and connecting the connectors to the battery cases. + + + \subsection{Crimping the connectors} + + + In order to utilize the Molex power connector on the mote, we + purchased 50058-8100 Molex crimp terminals and 51021-0200 Molex + crimp housings. To accommodate the size of these two parts, + we found it best to use 26 AWG wire. In order to crimp these + connectors, we were officially supposed to use a specific Molex + crimping tool.However, the cost of this tool is roughly $180, + making it quite a hefty investment. Thus, we instead went with + a $7 crimping tool from a nearby electronics store, and did our + best to make working connectors. But because of the size of + these parts, crimping the terminals was very difficult, and even + now there is no telling just how robust these connectors are. + + \subsection{Connecting the connectors to the battery cases} + + The battery cases provided with the motes caused a predicament + when it came to connecting the connectors to an actual power + source, which in this case meant batteries. For some of the + battery cases that no longer had wires extending from them, we + tried to solder wires to the cases, but to no avail. The cases + just were not designed for soldering wires to them. And even + for the cases that did still have wires connected to them, + there were still issues to be addressed. + + To join the wires and form one piece that went from the battery case to + the connector, solder was first applied on each pair of wire separately + (the two red and two black wires) and then reinforced altogether with some + plastic heat-shrinking material. This process, however, had some flaws. + First, the diameter of the heat shrink (expanded diameter of .187) + could not fit over the crimp housings, so the heat shrink had to be + placed on the wires prior to soldering. It is important to note that + since the heat-shrinking material only shrinks up to 50% of its expanded + diameter, a larger heat shrink would have been too loose to properly + insulate the two sets of wires together. Thus, we could not use heat + shrinks with a larger diameter to remedy this problem.As a result, + since we had to place the heat shrink on the wires before soldering, + the length of heat shrink that we were allowed to use was limited + by where the joining of the wires would take place. This was rather + disappointing, because we had hoped to cover up the two wires entirely + with heat-shrinking material so that the two sets of wires would act as + one. The second flaw we found was that the soldered wires could not + just be wrapped in heat-shrinking material, because a short would then + exist at the soldered areas between the red and black wires. To prevent + a short from happening, the two options were to either first wrap each + wire separately with heat-shrinking material and then wrap both of these + with a heat shrink, or to use electrical tape and first insulate each of + the wires before applying the heat shrink. The former could not be done, + however, because we did not have heat shrink with a large enough diameter + that would insulate the two heat-shrinked wires. The latter proved to + be quite difficult too, because the heat shrink barely (and in some cases + failed to) fit over the taped-and-soldered wires. + + \subsection{Suggestions} + + + From these experiences with creating wire harnesses for the + motes, we have a couple of suggestions to make. The first + one is regarding the Molex power connector on the mote board. + It would be nicer if Crossbow could use a larger (and possibly + structurally different) connector so that we could manually make + more robust connections. Secondly, it would be very helpful if + Crossbow could provide better battery cases. Since there is a + Molex power connector on the mote board, Crossbow should devise + a way for people to utilize that connector instead of just the + soldered connections. Using the current battery cases for this + purpose is very difficult, largely because of the different sizes + of the wires, and the difficulty of insulating them properly. + It would be great if Crossbow could either provide battery cases + that would allow us to connect our wires directly to them (instead + of having to find a way to couple our wires with existing ones), + or to maybe even provide a battery case that already has a molex + connector on the end. + \section{Batteries} |
From: David M. D. <do...@us...> - 2004-07-07 19:25:03
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7842 Modified Files: db_create.php db_table_select.php Log Message: Changed database mote number scheme to go from 1 to n, assuming base station id is 0. Index: db_create.php =================================================================== RCS file: /cvsroot/firebug/firebug/web/db_create.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** db_create.php 11 Mar 2004 23:41:04 -0000 1.14 --- db_create.php 7 Jul 2004 19:24:54 -0000 1.15 *************** *** 88,92 **** <?php ! for ($i = 2; $i <= $nummotes+1; $i++) { $statement = "insert into current values ($i,NULL,NULL,NULL,NULL,NULL,NULL);"; --- 88,92 ---- <?php ! for ($i = 1; $i <= $nummotes; $i++) { $statement = "insert into current values ($i,NULL,NULL,NULL,NULL,NULL,NULL);"; Index: db_table_select.php =================================================================== RCS file: /cvsroot/firebug/firebug/web/db_table_select.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_table_select.php 5 Jul 2004 19:44:00 -0000 1.7 --- db_table_select.php 7 Jul 2004 19:24:55 -0000 1.8 *************** *** 32,35 **** --- 32,38 ---- <?php + + phpinfo(); + //if (!isset($HTTP_SESSION_VARS["tblname"])) { if ($HTTP_POST_VARS["tbl1"]!=Null){ |
From: David M. D. <do...@us...> - 2004-07-05 20:44:32
|
Update of /cvsroot/firebug/firebug/project/java/src/org/firebug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv318/project/java/src/org/firebug Modified Files: XBowLogger.java Log Message: Everything appears to work correctly, on firebug2. Index: XBowLogger.java =================================================================== RCS file: /cvsroot/firebug/firebug/project/java/src/org/firebug/XBowLogger.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** XBowLogger.java 5 Jul 2004 18:13:38 -0000 1.3 --- XBowLogger.java 5 Jul 2004 20:44:21 -0000 1.4 *************** *** 129,138 **** int intersematemp = (int)msg.get_fintersematemp(); //System.out.println("fintersematemp: " + intersematemp); ! float fintersematemp = (float)intersematemp/(float)100.0; System.out.println("fintersematemp: " + fintersematemp); int intersemapress = (int)msg.get_fintersemapressure(); //System.out.println("fintersematemp: " + intersemapress); ! float fintersemapress = (float)intersemapress/(float)10.0; System.out.println("fintersemapressure: " + fintersemapress); --- 129,138 ---- int intersematemp = (int)msg.get_fintersematemp(); //System.out.println("fintersematemp: " + intersematemp); ! float fintersematemp = (float)intersematemp/(float)10.0; System.out.println("fintersematemp: " + fintersematemp); int intersemapress = (int)msg.get_fintersemapressure(); //System.out.println("fintersematemp: " + intersemapress); ! float fintersemapress = (float)intersemapress; System.out.println("fintersemapressure: " + fintersemapress); |
From: David M. D. <do...@us...> - 2004-07-05 19:44:09
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21765 Modified Files: db_table_select.php Log Message: Took out the automatic refresh due to a problem carrying php session variables forward. Index: db_table_select.php =================================================================== RCS file: /cvsroot/firebug/firebug/web/db_table_select.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_table_select.php 30 Mar 2004 23:26:52 -0000 1.6 --- db_table_select.php 5 Jul 2004 19:44:00 -0000 1.7 *************** *** 1,3 **** ! <?php> session_start(); session_register("dbname"); --- 1,3 ---- ! <?php session_start(); session_register("dbname"); *************** *** 8,13 **** --- 8,15 ---- <head> <title>FireBug Client</title> + <!-- <META HTTP-EQUIV="Refresh" CONTENT="30;URL=http://localhost/firebug/db_table_select.php"> + --> <link rel="SHORTCUT ICON" href="./images/favicon.ico"> <link type="text/css" rel="stylesheet" href="firebug.css"> |
From: David M. D. <do...@us...> - 2004-07-05 18:39:14
|
Update of /cvsroot/firebug/firebug/web/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9811 Added Files: image002.jpg Log Message: Added ignore file, images. --- NEW FILE: image002.jpg --- (This appears to be a binary file; contents omitted.) |
From: David M. D. <do...@us...> - 2004-07-05 18:38:54
|
Update of /cvsroot/firebug/firebug/web/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9677 Added Files: .cvsignore forestfire.jpg stooges.jpg Log Message: Added ignore file, images. --- NEW FILE: .cvsignore --- sysarch.eps --- NEW FILE: forestfire.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stooges.jpg --- (This appears to be a binary file; contents omitted.) |
From: David M. D. <do...@us...> - 2004-07-05 18:18:03
|
Update of /cvsroot/firebug/firebug/project/src/sensordata In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5347/project/src/sensordata Added Files: .cvsignore Log Message: Added ignore file. --- NEW FILE: .cvsignore --- *.java |
From: David M. D. <do...@us...> - 2004-07-05 18:13:52
|
Update of /cvsroot/firebug/firebug/doc/spie2004 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4573/doc/spie2004 Added Files: README Log Message: Database fix xbow logger. --- NEW FILE: README --- This paper died, was never presented at SPIE 2004. |
From: David M. D. <do...@us...> - 2004-07-05 18:13:51
|
Update of /cvsroot/firebug/firebug/project/src/sensordata In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4573/project/src/sensordata Modified Files: xbow.h Log Message: Database fix xbow logger. Index: xbow.h =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/sensordata/xbow.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xbow.h 2 Jul 2004 00:09:47 -0000 1.2 --- xbow.h 5 Jul 2004 18:13:38 -0000 1.3 *************** *** 57,67 **** uint32_t fintersematemp; uint32_t fintersemapressure; ! uint16_t intersemapressure; - uint16_t taosch0; - uint16_t taosch1; - uint16_t accel_x; } Weather1; --- 57,64 ---- uint32_t fintersematemp; uint32_t fintersemapressure; ! uint32_t lux; uint16_t intersemapressure; uint16_t accel_x; } Weather1; |
From: David M. D. <do...@us...> - 2004-07-05 18:13:51
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4573/doc/chassis Modified Files: chassis.tex Log Message: Database fix xbow logger. Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** chassis.tex 2 Jul 2004 20:41:21 -0000 1.2 --- chassis.tex 5 Jul 2004 18:13:37 -0000 1.3 *************** *** 15,18 **** --- 15,23 ---- \section{Introduction} + + + \section{Wiring harness} + + \section{Batteries} |
From: David M. D. <do...@us...> - 2004-07-05 18:13:50
|
Update of /cvsroot/firebug/firebug/project/java/src/org/firebug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4573/project/java/src/org/firebug Modified Files: XBow3Msg.java XBowLogger.java Log Message: Database fix xbow logger. Index: XBowLogger.java =================================================================== RCS file: /cvsroot/firebug/firebug/project/java/src/org/firebug/XBowLogger.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XBowLogger.java 2 Jul 2004 00:08:30 -0000 1.2 --- XBowLogger.java 5 Jul 2004 18:13:38 -0000 1.3 *************** *** 107,166 **** */ - public int mts400_convert_intersemapressure(byte [] packet) - { - - float UT1,dT; - float OFF,SENS,X,Press; - //uint16_t PressureData, TempData; - //uint16_t calibration[4]; //intersema calibration words - //uint16_t C1,C2,C3,C4,C5,C6; //intersema calibration coefficients - - short PressureData, TempData; - short [] calibration = new short[4]; //intersema calibration words - short C1,C2,C3,C4,C5,C6; //intersema calibration coefficients - - - //XSensorMTS400Data1 *data = (XSensorMTS400Data1 *)packet->data; - - calibration[0] = packet[15]; //data->cal_word1; - calibration[0] = (short)(packet[16] << 8); //data->cal_word1; - - calibration[1] = packet[17]; //data->cal_word2; - calibration[1] = (short)(packet[18] << 8); //data->cal_word2; - - calibration[2] = packet[19]; //data->cal_word3; - calibration[2] = (short)(packet[20] << 8); //data->cal_word3; - - calibration[3] = packet[21]; //data->cal_word4; - calibration[3] = (short)(packet[22] << 8); //data->cal_word4; - - PressureData = packet[23]; //data->intersemapressure; - PressureData = (short)(packet[24] << 8); //data->intersemapressure; - - TempData = packet[25]; //data->intersematemp; - TempData = (short)(packet[26] << 8); //data->intersematemp; - - C1 = (short)(calibration[0] >> 1); - C2 = (short)(((calibration[2] & 0x3f) << 6) | (calibration[3] & 0x3f)); - C3 = (short)(calibration[3] >> 6); - C4 = (short)(calibration[2] >> 6); - C5 = (short)(((calibration[0] & 1) << 10) | (calibration[1] >> 6)); - // C6 = calibration[1] & 0x3f; - - UT1=8*(float)C5+20224; - dT = (float)TempData-UT1; - OFF = (float)C2*4 + (((float)C4-(float)512.0)*dT)/(float)(1024); - SENS = (float)C1 + ((float)C3*dT)/(float)1024 + 24576; - X = (SENS*((float)PressureData-(float)7168.0))/16384 - OFF; - Press = X/(float)32.0 + (float)250.0; - System.out.println("Press: " + Press); - - return (int)Press; - } - public void parse_packet_1(byte [] packet) { XBow3Msg msg = new XBow3Msg(packet,9); int mote_id = packet[7]; --- 107,115 ---- */ public void parse_packet_1(byte [] packet) { XBow3Msg msg = new XBow3Msg(packet,9); + Connection conn = dbh.getConnection(); int mote_id = packet[7]; *************** *** 180,190 **** int intersematemp = (int)msg.get_fintersematemp(); //System.out.println("fintersematemp: " + intersematemp); ! float fintersematemp = (float)intersematemp;///(float)100000.0; System.out.println("fintersematemp: " + fintersematemp); int intersemapress = (int)msg.get_fintersemapressure(); //System.out.println("fintersematemp: " + intersemapress); ! float fintersemapress = (float)intersemapress;///(float)1000000.0; System.out.println("fintersemapressure: " + fintersemapress); } --- 129,193 ---- int intersematemp = (int)msg.get_fintersematemp(); //System.out.println("fintersematemp: " + intersematemp); ! float fintersematemp = (float)intersematemp/(float)100.0; System.out.println("fintersematemp: " + fintersematemp); int intersemapress = (int)msg.get_fintersemapressure(); //System.out.println("fintersematemp: " + intersemapress); ! float fintersemapress = (float)intersemapress/(float)10.0; System.out.println("fintersemapressure: " + fintersemapress); + + int ilux = (int)msg.get_lux(); + float lux = (float)ilux; + System.out.println("Lux: " + lux); + + /** FIXME: Ugly flow control using exception logic to + * to track down a bbad statement, needs to be cleaned up. + */ + try { + ResultSet rs; + Statement stmt = conn.createStatement(); + int cnt = 0; + + String updatequery = "UPDATE current " + + "SET " + //+ "time=" + time + ", " + + "cnt=" + cnt + "," + + "rel_hum=" + fHumidity + ", " + + "baro_pres=" + fintersemapress + ", " + + "temp=" + fintersematemp + "," + + "lux=" + lux + + " WHERE mote_id=" + mote_id; + + String insertquery = "INSERT INTO cumulative VALUES (" + + mote_id + ", " + + "NULL," // NULL lets timestamp do its thing. //time + ", " + + cnt + ", " + + fintersematemp + ", " + + fHumidity + ", " + + fintersemapress + ", " + + lux + ")"; + + + try { + rs = stmt.executeQuery(insertquery); + } catch (SQLException sqle) { + System.out.println("Problem with insert statement: " + insertquery); + sqle.printStackTrace(); + } + + try { + rs = stmt.executeQuery(updatequery); + } catch (SQLException sqle) { + System.out.println("Problem with update statement: " + updatequery); + sqle.printStackTrace(); + } + stmt.close(); + } catch (SQLException sqle) { + System.out.println("Problem with statement"); + sqle.printStackTrace(); + } + + dbh.return_connection(conn); + } *************** *** 193,206 **** public void parse_packet_2(byte [] packet) { ! } /** Put everything in print for now. */ public void print(byte [] packet) { - - - // Ugh what a kludge. The GPS date/time format // is not compatible with java. The date/time --- 196,207 ---- public void parse_packet_2(byte [] packet) { ! print_packet_raw(packet); } + /** Put everything in print for now. */ public void print(byte [] packet) { // Ugh what a kludge. The GPS date/time format // is not compatible with java. The date/time Index: XBow3Msg.java =================================================================== RCS file: /cvsroot/firebug/firebug/project/java/src/org/firebug/XBow3Msg.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XBow3Msg.java 2 Jul 2004 00:08:30 -0000 1.1 --- XBow3Msg.java 5 Jul 2004 18:13:38 -0000 1.2 *************** *** 106,116 **** } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { ! s += " [intersemapressure=0x"+Long.toHexString(get_intersemapressure())+"]\n"; ! } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } ! try { ! s += " [taosch0=0x"+Long.toHexString(get_taosch0())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { ! s += " [taosch1=0x"+Long.toHexString(get_taosch1())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { --- 106,113 ---- } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { ! s += " [lux=0x"+Long.toHexString(get_lux())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { ! s += " [intersemapressure=0x"+Long.toHexString(get_intersemapressure())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { *************** *** 501,631 **** ///////////////////////////////////////////////////////// ! // Accessor methods for field: intersemapressure ! // Field type: int, unsigned // Offset (bits): 128 ! // Size (bits): 16 ///////////////////////////////////////////////////////// /** ! * Return whether the field 'intersemapressure' is signed (false). */ ! public static boolean isSigned_intersemapressure() { return false; } /** ! * Return whether the field 'intersemapressure' is an array (false). */ ! public static boolean isArray_intersemapressure() { return false; } /** ! * Return the offset (in bytes) of the field 'intersemapressure' */ ! public static int offset_intersemapressure() { return (128 / 8); } /** ! * Return the offset (in bits) of the field 'intersemapressure' */ ! public static int offsetBits_intersemapressure() { return 128; } /** ! * Return the value (as a int) of the field 'intersemapressure' ! */ ! public int get_intersemapressure() { ! return (int)getUIntElement(offsetBits_intersemapressure(), 16); ! } ! ! /** ! * Set the value of the field 'intersemapressure' ! */ ! public void set_intersemapressure(int value) { ! setUIntElement(offsetBits_intersemapressure(), 16, value); ! } ! ! /** ! * Return the size, in bytes, of the field 'intersemapressure' ! */ ! public static int size_intersemapressure() { ! return (16 / 8); ! } ! ! /** ! * Return the size, in bits, of the field 'intersemapressure' ! */ ! public static int sizeBits_intersemapressure() { ! return 16; ! } ! ! ///////////////////////////////////////////////////////// ! // Accessor methods for field: taosch0 ! // Field type: int, unsigned ! // Offset (bits): 144 ! // Size (bits): 16 ! ///////////////////////////////////////////////////////// ! ! /** ! * Return whether the field 'taosch0' is signed (false). ! */ ! public static boolean isSigned_taosch0() { ! return false; ! } ! ! /** ! * Return whether the field 'taosch0' is an array (false). ! */ ! public static boolean isArray_taosch0() { ! return false; ! } ! ! /** ! * Return the offset (in bytes) of the field 'taosch0' ! */ ! public static int offset_taosch0() { ! return (144 / 8); ! } ! ! /** ! * Return the offset (in bits) of the field 'taosch0' ! */ ! public static int offsetBits_taosch0() { ! return 144; ! } ! ! /** ! * Return the value (as a int) of the field 'taosch0' */ ! public int get_taosch0() { ! return (int)getUIntElement(offsetBits_taosch0(), 16); } /** ! * Set the value of the field 'taosch0' */ ! public void set_taosch0(int value) { ! setUIntElement(offsetBits_taosch0(), 16, value); } /** ! * Return the size, in bytes, of the field 'taosch0' */ ! public static int size_taosch0() { ! return (16 / 8); } /** ! * Return the size, in bits, of the field 'taosch0' */ ! public static int sizeBits_taosch0() { ! return 16; } ///////////////////////////////////////////////////////// ! // Accessor methods for field: taosch1 // Field type: int, unsigned // Offset (bits): 160 --- 498,565 ---- ///////////////////////////////////////////////////////// ! // Accessor methods for field: lux ! // Field type: long, unsigned // Offset (bits): 128 ! // Size (bits): 32 ///////////////////////////////////////////////////////// /** ! * Return whether the field 'lux' is signed (false). */ ! public static boolean isSigned_lux() { return false; } /** ! * Return whether the field 'lux' is an array (false). */ ! public static boolean isArray_lux() { return false; } /** ! * Return the offset (in bytes) of the field 'lux' */ ! public static int offset_lux() { return (128 / 8); } /** ! * Return the offset (in bits) of the field 'lux' */ ! public static int offsetBits_lux() { return 128; } /** ! * Return the value (as a long) of the field 'lux' */ ! public long get_lux() { ! return (long)getUIntElement(offsetBits_lux(), 32); } /** ! * Set the value of the field 'lux' */ ! public void set_lux(long value) { ! setUIntElement(offsetBits_lux(), 32, value); } /** ! * Return the size, in bytes, of the field 'lux' */ ! public static int size_lux() { ! return (32 / 8); } /** ! * Return the size, in bits, of the field 'lux' */ ! public static int sizeBits_lux() { ! return 32; } ///////////////////////////////////////////////////////// ! // Accessor methods for field: intersemapressure // Field type: int, unsigned // Offset (bits): 160 *************** *** 634,689 **** /** ! * Return whether the field 'taosch1' is signed (false). */ ! public static boolean isSigned_taosch1() { return false; } /** ! * Return whether the field 'taosch1' is an array (false). */ ! public static boolean isArray_taosch1() { return false; } /** ! * Return the offset (in bytes) of the field 'taosch1' */ ! public static int offset_taosch1() { return (160 / 8); } /** ! * Return the offset (in bits) of the field 'taosch1' */ ! public static int offsetBits_taosch1() { return 160; } /** ! * Return the value (as a int) of the field 'taosch1' */ ! public int get_taosch1() { ! return (int)getUIntElement(offsetBits_taosch1(), 16); } /** ! * Set the value of the field 'taosch1' */ ! public void set_taosch1(int value) { ! setUIntElement(offsetBits_taosch1(), 16, value); } /** ! * Return the size, in bytes, of the field 'taosch1' */ ! public static int size_taosch1() { return (16 / 8); } /** ! * Return the size, in bits, of the field 'taosch1' */ ! public static int sizeBits_taosch1() { return 16; } --- 568,623 ---- /** ! * Return whether the field 'intersemapressure' is signed (false). */ ! public static boolean isSigned_intersemapressure() { return false; } /** ! * Return whether the field 'intersemapressure' is an array (false). */ ! public static boolean isArray_intersemapressure() { return false; } /** ! * Return the offset (in bytes) of the field 'intersemapressure' */ ! public static int offset_intersemapressure() { return (160 / 8); } /** ! * Return the offset (in bits) of the field 'intersemapressure' */ ! public static int offsetBits_intersemapressure() { return 160; } /** ! * Return the value (as a int) of the field 'intersemapressure' */ ! public int get_intersemapressure() { ! return (int)getUIntElement(offsetBits_intersemapressure(), 16); } /** ! * Set the value of the field 'intersemapressure' */ ! public void set_intersemapressure(int value) { ! setUIntElement(offsetBits_intersemapressure(), 16, value); } /** ! * Return the size, in bytes, of the field 'intersemapressure' */ ! public static int size_intersemapressure() { return (16 / 8); } /** ! * Return the size, in bits, of the field 'intersemapressure' */ ! public static int sizeBits_intersemapressure() { return 16; } |
From: David M. D. <do...@us...> - 2004-07-02 20:41:30
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26991 Modified Files: chassis.tex Added Files: .cvsignore Makefile Log Message: . --- NEW FILE: .cvsignore --- *.pdf *.dvi *.aux *.log Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** chassis.tex 2 Jul 2004 11:54:57 -0000 1.1 --- chassis.tex 2 Jul 2004 20:41:21 -0000 1.2 *************** *** 1,2 **** --- 1,19 ---- + \documentclass{article} + + \setlength{\textheight}{8.5in} + \setlength{\topmargin}{0in} + \setlength{\oddsidemargin}{0in} + \setlength{\textwidth}{6.5in} + + \begin{document} + + \title{Chassis design for motes} + \author{Kevin Lee, Alex Do, David M. Doolin, Nicholas Sitar} + \date{\today} + \maketitle + + \section{Introduction} + + \section{Batteries} *************** *** 33,35 **** making them much safer for this particular use. Given these considerations, Li-Ion batteries are much more ! suitable than Ni-Cd batteries for this project. \ No newline at end of file --- 50,58 ---- making them much safer for this particular use. Given these considerations, Li-Ion batteries are much more ! suitable than Ni-Cd batteries for this project. ! ! ! \section{Conclusions} ! ! ! \end{document} \ No newline at end of file --- NEW FILE: Makefile --- chassis: latex chassis dvipdfm chassis.dvi |
From: David M. D. <do...@us...> - 2004-07-02 11:55:07
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8134 Added Files: chassis.tex Log Message: Added paragraph from Kevin. --- NEW FILE: chassis.tex --- When considering whether to use the Nickel-Cadmium (Ni-Cd) or Lithium Ion (Li-ion) batteries, we took into account several factors, focusing on its ease of use and whether there would be detrimental effects to the environment given the proposed usage of these batteries. Since firefighters will be placing these battery-powered devices on their helmets, one issue is to have the batteries be as light as possible. In this case, the Li-Ion battery chemistry is much lighter than the Nickel-Cadmium one, providing less of a burden on firefighters. Now the idea of using rechargeable batteries was so that firefighters would not have to frequently open up the device and replace the AA batteries. However, Ni-Cd batteries have what is known as the memory effect, where partial discharges will lead to a decrease in the capacity of the battery. Thus, to combat the memory effect, it is recommended that the Ni-Cd batteries be fully discharged before recharging. If we were to require firefighters to completely discharge the batteries first each time, then this idea of using rechargeable batteries would not be that much more convenient than having to replace the AAs. Luckily, Li-Ion batteries do not have this effect, and it is even recommended that only partial discharges be made before recharging them. Lastly, another concern was what effects the batteries could have on the environment if they were burned up. Again, the Li-Ion batteries prove to be the better choice, as Ni-Cd batteries are toxic and harmful to the environment. Li-Ion batteries do not even contain free lithium, thus making them much safer for this particular use. Given these considerations, Li-Ion batteries are much more suitable than Ni-Cd batteries for this project. |
From: David M. D. <do...@us...> - 2004-07-02 00:09:56
|
Update of /cvsroot/firebug/firebug/project/src/sensordata In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25875/src/sensordata Modified Files: mkmsg.sh xbow.h Log Message: Added some xbow style message support in java. Index: xbow.h =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/sensordata/xbow.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xbow.h 1 Jul 2004 21:40:25 -0000 1.1 --- xbow.h 2 Jul 2004 00:09:47 -0000 1.2 *************** *** 41,42 **** --- 41,72 ---- AM_XSENSORMTS420GPSDATA = 138 }; + + + typedef struct Weather1 { + uint16_t battery; + uint16_t humidity; + uint16_t temp; + + uint16_t intersematemp; + + //uint16_t cal_word1; //!< Pressure calibration word 1 + //uint16_t cal_word2; //!< Pressure calibration word 2 + //uint16_t cal_word3; //!< Pressure calibration word 3 + //uint16_t cal_word4; //!< Pressure calibration word 4 + + uint32_t fintersematemp; + uint32_t fintersemapressure; + + + uint16_t intersemapressure; + + uint16_t taosch0; + uint16_t taosch1; + + uint16_t accel_x; + } Weather1; + + + enum { + AM_WEATHER1 = 139 + }; Index: mkmsg.sh =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/sensordata/mkmsg.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mkmsg.sh 1 Jul 2004 21:40:25 -0000 1.4 --- mkmsg.sh 2 Jul 2004 00:09:47 -0000 1.5 *************** *** 14,17 **** --- 14,18 ---- mig java -java-classname=org.firebug.XBow1Msg -I. xbow.h XSensorMTS400Data1 > XBow1Msg.java mig java -java-classname=org.firebug.XBow2Msg -I. xbow.h XSensorMTS420GPSData > XBow2Msg.java + mig java -java-classname=org.firebug.XBow3Msg -I. xbow.h Weather1 > XBow3Msg.java |
From: David M. D. <do...@us...> - 2004-07-02 00:09:15
|
Update of /cvsroot/firebug/firebug/project/java/src/org/firebug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25772 Added Files: XBow1Msg.java XBow2Msg.java Log Message: Added some xbow style messages. --- NEW FILE: XBow1Msg.java --- /** * This class is automatically generated by mig. DO NOT EDIT THIS FILE. * This class implements a Java interface to the 'XBow1Msg' * message type. */ package org.firebug; public class XBow1Msg extends net.tinyos.message.Message { /** The default size of this message type in bytes. */ public static final int DEFAULT_MESSAGE_SIZE = 24; /** The Active Message type associated with this message. */ public static final int AM_TYPE = 137; /** Create a new XBow1Msg of size 24. */ public XBow1Msg() { super(DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** Create a new XBow1Msg of the given data_length. */ public XBow1Msg(int data_length) { super(data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg with the given data_length * and base offset. */ public XBow1Msg(int data_length, int base_offset) { super(data_length, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg using the given byte array * as backing store. */ public XBow1Msg(byte[] data) { super(data); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg using the given byte array * as backing store, with the given base offset. */ public XBow1Msg(byte[] data, int base_offset) { super(data, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg using the given byte array * as backing store, with the given base offset and data length. */ public XBow1Msg(byte[] data, int base_offset, int data_length) { super(data, base_offset, data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg embedded in the given message * at the given base offset. */ public XBow1Msg(net.tinyos.message.Message msg, int base_offset) { super(msg, base_offset, DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg embedded in the given message * at the given base offset and length. */ public XBow1Msg(net.tinyos.message.Message msg, int base_offset, int data_length) { super(msg, base_offset, data_length); amTypeSet(AM_TYPE); } /** /* Return a String representation of this message. Includes the * message type name and the non-indexed field values. */ public String toString() { String s = "Message <XBow1Msg> \n"; try { s += " [battery=0x"+Long.toHexString(get_battery())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [humidity=0x"+Long.toHexString(get_humidity())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [temp=0x"+Long.toHexString(get_temp())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word1=0x"+Long.toHexString(get_cal_word1())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word2=0x"+Long.toHexString(get_cal_word2())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word3=0x"+Long.toHexString(get_cal_word3())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word4=0x"+Long.toHexString(get_cal_word4())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [intersematemp=0x"+Long.toHexString(get_intersematemp())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [intersemapressure=0x"+Long.toHexString(get_intersemapressure())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [taosch0=0x"+Long.toHexString(get_taosch0())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [taosch1=0x"+Long.toHexString(get_taosch1())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [accel_x=0x"+Long.toHexString(get_accel_x())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } return s; } // Message-type-specific access methods appear below. ///////////////////////////////////////////////////////// // Accessor methods for field: battery // Field type: int, unsigned // Offset (bits): 0 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'battery' is signed (false). */ public static boolean isSigned_battery() { return false; } /** * Return whether the field 'battery' is an array (false). */ public static boolean isArray_battery() { return false; } /** * Return the offset (in bytes) of the field 'battery' */ public static int offset_battery() { return (0 / 8); } /** * Return the offset (in bits) of the field 'battery' */ public static int offsetBits_battery() { return 0; } /** * Return the value (as a int) of the field 'battery' */ public int get_battery() { return (int)getUIntElement(offsetBits_battery(), 16); } /** * Set the value of the field 'battery' */ public void set_battery(int value) { setUIntElement(offsetBits_battery(), 16, value); } /** * Return the size, in bytes, of the field 'battery' */ public static int size_battery() { return (16 / 8); } /** * Return the size, in bits, of the field 'battery' */ public static int sizeBits_battery() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: humidity // Field type: int, unsigned // Offset (bits): 16 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'humidity' is signed (false). */ public static boolean isSigned_humidity() { return false; } /** * Return whether the field 'humidity' is an array (false). */ public static boolean isArray_humidity() { return false; } /** * Return the offset (in bytes) of the field 'humidity' */ public static int offset_humidity() { return (16 / 8); } /** * Return the offset (in bits) of the field 'humidity' */ public static int offsetBits_humidity() { return 16; } /** * Return the value (as a int) of the field 'humidity' */ public int get_humidity() { return (int)getUIntElement(offsetBits_humidity(), 16); } /** * Set the value of the field 'humidity' */ public void set_humidity(int value) { setUIntElement(offsetBits_humidity(), 16, value); } /** * Return the size, in bytes, of the field 'humidity' */ public static int size_humidity() { return (16 / 8); } /** * Return the size, in bits, of the field 'humidity' */ public static int sizeBits_humidity() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: temp // Field type: int, unsigned // Offset (bits): 32 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'temp' is signed (false). */ public static boolean isSigned_temp() { return false; } /** * Return whether the field 'temp' is an array (false). */ public static boolean isArray_temp() { return false; } /** * Return the offset (in bytes) of the field 'temp' */ public static int offset_temp() { return (32 / 8); } /** * Return the offset (in bits) of the field 'temp' */ public static int offsetBits_temp() { return 32; } /** * Return the value (as a int) of the field 'temp' */ public int get_temp() { return (int)getUIntElement(offsetBits_temp(), 16); } /** * Set the value of the field 'temp' */ public void set_temp(int value) { setUIntElement(offsetBits_temp(), 16, value); } /** * Return the size, in bytes, of the field 'temp' */ public static int size_temp() { return (16 / 8); } /** * Return the size, in bits, of the field 'temp' */ public static int sizeBits_temp() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word1 // Field type: int, unsigned // Offset (bits): 48 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word1' is signed (false). */ public static boolean isSigned_cal_word1() { return false; } /** * Return whether the field 'cal_word1' is an array (false). */ public static boolean isArray_cal_word1() { return false; } /** * Return the offset (in bytes) of the field 'cal_word1' */ public static int offset_cal_word1() { return (48 / 8); } /** * Return the offset (in bits) of the field 'cal_word1' */ public static int offsetBits_cal_word1() { return 48; } /** * Return the value (as a int) of the field 'cal_word1' */ public int get_cal_word1() { return (int)getUIntElement(offsetBits_cal_word1(), 16); } /** * Set the value of the field 'cal_word1' */ public void set_cal_word1(int value) { setUIntElement(offsetBits_cal_word1(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word1' */ public static int size_cal_word1() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word1' */ public static int sizeBits_cal_word1() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word2 // Field type: int, unsigned // Offset (bits): 64 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word2' is signed (false). */ public static boolean isSigned_cal_word2() { return false; } /** * Return whether the field 'cal_word2' is an array (false). */ public static boolean isArray_cal_word2() { return false; } /** * Return the offset (in bytes) of the field 'cal_word2' */ public static int offset_cal_word2() { return (64 / 8); } /** * Return the offset (in bits) of the field 'cal_word2' */ public static int offsetBits_cal_word2() { return 64; } /** * Return the value (as a int) of the field 'cal_word2' */ public int get_cal_word2() { return (int)getUIntElement(offsetBits_cal_word2(), 16); } /** * Set the value of the field 'cal_word2' */ public void set_cal_word2(int value) { setUIntElement(offsetBits_cal_word2(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word2' */ public static int size_cal_word2() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word2' */ public static int sizeBits_cal_word2() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word3 // Field type: int, unsigned // Offset (bits): 80 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word3' is signed (false). */ public static boolean isSigned_cal_word3() { return false; } /** * Return whether the field 'cal_word3' is an array (false). */ public static boolean isArray_cal_word3() { return false; } /** * Return the offset (in bytes) of the field 'cal_word3' */ public static int offset_cal_word3() { return (80 / 8); } /** * Return the offset (in bits) of the field 'cal_word3' */ public static int offsetBits_cal_word3() { return 80; } /** * Return the value (as a int) of the field 'cal_word3' */ public int get_cal_word3() { return (int)getUIntElement(offsetBits_cal_word3(), 16); } /** * Set the value of the field 'cal_word3' */ public void set_cal_word3(int value) { setUIntElement(offsetBits_cal_word3(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word3' */ public static int size_cal_word3() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word3' */ public static int sizeBits_cal_word3() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word4 // Field type: int, unsigned // Offset (bits): 96 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word4' is signed (false). */ public static boolean isSigned_cal_word4() { return false; } /** * Return whether the field 'cal_word4' is an array (false). */ public static boolean isArray_cal_word4() { return false; } /** * Return the offset (in bytes) of the field 'cal_word4' */ public static int offset_cal_word4() { return (96 / 8); } /** * Return the offset (in bits) of the field 'cal_word4' */ public static int offsetBits_cal_word4() { return 96; } /** * Return the value (as a int) of the field 'cal_word4' */ public int get_cal_word4() { return (int)getUIntElement(offsetBits_cal_word4(), 16); } /** * Set the value of the field 'cal_word4' */ public void set_cal_word4(int value) { setUIntElement(offsetBits_cal_word4(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word4' */ public static int size_cal_word4() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word4' */ public static int sizeBits_cal_word4() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: intersematemp // Field type: int, unsigned // Offset (bits): 112 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'intersematemp' is signed (false). */ public static boolean isSigned_intersematemp() { return false; } /** * Return whether the field 'intersematemp' is an array (false). */ public static boolean isArray_intersematemp() { return false; } /** * Return the offset (in bytes) of the field 'intersematemp' */ public static int offset_intersematemp() { return (112 / 8); } /** * Return the offset (in bits) of the field 'intersematemp' */ public static int offsetBits_intersematemp() { return 112; } /** * Return the value (as a int) of the field 'intersematemp' */ public int get_intersematemp() { return (int)getUIntElement(offsetBits_intersematemp(), 16); } /** * Set the value of the field 'intersematemp' */ public void set_intersematemp(int value) { setUIntElement(offsetBits_intersematemp(), 16, value); } /** * Return the size, in bytes, of the field 'intersematemp' */ public static int size_intersematemp() { return (16 / 8); } /** * Return the size, in bits, of the field 'intersematemp' */ public static int sizeBits_intersematemp() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: intersemapressure // Field type: int, unsigned // Offset (bits): 128 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'intersemapressure' is signed (false). */ public static boolean isSigned_intersemapressure() { return false; } /** * Return whether the field 'intersemapressure' is an array (false). */ public static boolean isArray_intersemapressure() { return false; } /** * Return the offset (in bytes) of the field 'intersemapressure' */ public static int offset_intersemapressure() { return (128 / 8); } /** * Return the offset (in bits) of the field 'intersemapressure' */ public static int offsetBits_intersemapressure() { return 128; } /** * Return the value (as a int) of the field 'intersemapressure' */ public int get_intersemapressure() { return (int)getUIntElement(offsetBits_intersemapressure(), 16); } /** * Set the value of the field 'intersemapressure' */ public void set_intersemapressure(int value) { setUIntElement(offsetBits_intersemapressure(), 16, value); } /** * Return the size, in bytes, of the field 'intersemapressure' */ public static int size_intersemapressure() { return (16 / 8); } /** * Return the size, in bits, of the field 'intersemapressure' */ public static int sizeBits_intersemapressure() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: taosch0 // Field type: int, unsigned // Offset (bits): 144 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'taosch0' is signed (false). */ public static boolean isSigned_taosch0() { return false; } /** * Return whether the field 'taosch0' is an array (false). */ public static boolean isArray_taosch0() { return false; } /** * Return the offset (in bytes) of the field 'taosch0' */ public static int offset_taosch0() { return (144 / 8); } /** * Return the offset (in bits) of the field 'taosch0' */ public static int offsetBits_taosch0() { return 144; } /** * Return the value (as a int) of the field 'taosch0' */ public int get_taosch0() { return (int)getUIntElement(offsetBits_taosch0(), 16); } /** * Set the value of the field 'taosch0' */ public void set_taosch0(int value) { setUIntElement(offsetBits_taosch0(), 16, value); } /** * Return the size, in bytes, of the field 'taosch0' */ public static int size_taosch0() { return (16 / 8); } /** * Return the size, in bits, of the field 'taosch0' */ public static int sizeBits_taosch0() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: taosch1 // Field type: int, unsigned // Offset (bits): 160 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'taosch1' is signed (false). */ public static boolean isSigned_taosch1() { return false; } /** * Return whether the field 'taosch1' is an array (false). */ public static boolean isArray_taosch1() { return false; } /** * Return the offset (in bytes) of the field 'taosch1' */ public static int offset_taosch1() { return (160 / 8); } /** * Return the offset (in bits) of the field 'taosch1' */ public static int offsetBits_taosch1() { return 160; } /** * Return the value (as a int) of the field 'taosch1' */ public int get_taosch1() { return (int)getUIntElement(offsetBits_taosch1(), 16); } /** * Set the value of the field 'taosch1' */ public void set_taosch1(int value) { setUIntElement(offsetBits_taosch1(), 16, value); } /** * Return the size, in bytes, of the field 'taosch1' */ public static int size_taosch1() { return (16 / 8); } /** * Return the size, in bits, of the field 'taosch1' */ public static int sizeBits_taosch1() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: accel_x // Field type: int, unsigned // Offset (bits): 176 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'accel_x' is signed (false). */ public static boolean isSigned_accel_x() { return false; } /** * Return whether the field 'accel_x' is an array (false). */ public static boolean isArray_accel_x() { return false; } /** * Return the offset (in bytes) of the field 'accel_x' */ public static int offset_accel_x() { return (176 / 8); } /** * Return the offset (in bits) of the field 'accel_x' */ public static int offsetBits_accel_x() { return 176; } /** * Return the value (as a int) of the field 'accel_x' */ public int get_accel_x() { return (int)getUIntElement(offsetBits_accel_x(), 16); } /** * Set the value of the field 'accel_x' */ public void set_accel_x(int value) { setUIntElement(offsetBits_accel_x(), 16, value); } /** * Return the size, in bytes, of the field 'accel_x' */ public static int size_accel_x() { return (16 / 8); } /** * Return the size, in bits, of the field 'accel_x' */ public static int sizeBits_accel_x() { return 16; } } --- NEW FILE: XBow2Msg.java --- /** * This class is automatically generated by mig. DO NOT EDIT THIS FILE. * This class implements a Java interface to the 'XBow2Msg' * message type. */ package org.firebug; public class XBow2Msg extends net.tinyos.message.Message { /** The default size of this message type in bytes. */ public static final int DEFAULT_MESSAGE_SIZE = 18; /** The Active Message type associated with this message. */ public static final int AM_TYPE = 138; /** Create a new XBow2Msg of size 18. */ public XBow2Msg() { super(DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** Create a new XBow2Msg of the given data_length. */ public XBow2Msg(int data_length) { super(data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg with the given data_length * and base offset. */ public XBow2Msg(int data_length, int base_offset) { super(data_length, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg using the given byte array * as backing store. */ public XBow2Msg(byte[] data) { super(data); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg using the given byte array * as backing store, with the given base offset. */ public XBow2Msg(byte[] data, int base_offset) { super(data, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg using the given byte array * as backing store, with the given base offset and data length. */ public XBow2Msg(byte[] data, int base_offset, int data_length) { super(data, base_offset, data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg embedded in the given message * at the given base offset. */ public XBow2Msg(net.tinyos.message.Message msg, int base_offset) { super(msg, base_offset, DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg embedded in the given message * at the given base offset and length. */ public XBow2Msg(net.tinyos.message.Message msg, int base_offset, int data_length) { super(msg, base_offset, data_length); amTypeSet(AM_TYPE); } /** /* Return a String representation of this message. Includes the * message type name and the non-indexed field values. */ public String toString() { String s = "Message <XBow2Msg> \n"; try { s += " [hours=0x"+Long.toHexString(get_hours())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [minutes=0x"+Long.toHexString(get_minutes())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Lat_deg=0x"+Long.toHexString(get_Lat_deg())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Long_deg=0x"+Long.toHexString(get_Long_deg())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [dec_sec=0x"+Long.toHexString(get_dec_sec())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Lat_dec_min=0x"+Long.toHexString(get_Lat_dec_min())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Long_dec_min=0x"+Long.toHexString(get_Long_dec_min())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [NSEWind=0x"+Long.toHexString(get_NSEWind())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Fixed=0x"+Long.toHexString(get_Fixed())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } return s; } // Message-type-specific access methods appear below. ///////////////////////////////////////////////////////// // Accessor methods for field: hours // Field type: short, unsigned // Offset (bits): 0 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'hours' is signed (false). */ public static boolean isSigned_hours() { return false; } /** * Return whether the field 'hours' is an array (false). */ public static boolean isArray_hours() { return false; } /** * Return the offset (in bytes) of the field 'hours' */ public static int offset_hours() { return (0 / 8); } /** * Return the offset (in bits) of the field 'hours' */ public static int offsetBits_hours() { return 0; } /** * Return the value (as a short) of the field 'hours' */ public short get_hours() { return (short)getUIntElement(offsetBits_hours(), 8); } /** * Set the value of the field 'hours' */ public void set_hours(short value) { setUIntElement(offsetBits_hours(), 8, value); } /** * Return the size, in bytes, of the field 'hours' */ public static int size_hours() { return (8 / 8); } /** * Return the size, in bits, of the field 'hours' */ public static int sizeBits_hours() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: minutes // Field type: short, unsigned // Offset (bits): 8 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'minutes' is signed (false). */ public static boolean isSigned_minutes() { return false; } /** * Return whether the field 'minutes' is an array (false). */ public static boolean isArray_minutes() { return false; } /** * Return the offset (in bytes) of the field 'minutes' */ public static int offset_minutes() { return (8 / 8); } /** * Return the offset (in bits) of the field 'minutes' */ public static int offsetBits_minutes() { return 8; } /** * Return the value (as a short) of the field 'minutes' */ public short get_minutes() { return (short)getUIntElement(offsetBits_minutes(), 8); } /** * Set the value of the field 'minutes' */ public void set_minutes(short value) { setUIntElement(offsetBits_minutes(), 8, value); } /** * Return the size, in bytes, of the field 'minutes' */ public static int size_minutes() { return (8 / 8); } /** * Return the size, in bits, of the field 'minutes' */ public static int sizeBits_minutes() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: Lat_deg // Field type: short, unsigned // Offset (bits): 16 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'Lat_deg' is signed (false). */ public static boolean isSigned_Lat_deg() { return false; } /** * Return whether the field 'Lat_deg' is an array (false). */ public static boolean isArray_Lat_deg() { return false; } /** * Return the offset (in bytes) of the field 'Lat_deg' */ public static int offset_Lat_deg() { return (16 / 8); } /** * Return the offset (in bits) of the field 'Lat_deg' */ public static int offsetBits_Lat_deg() { return 16; } /** * Return the value (as a short) of the field 'Lat_deg' */ public short get_Lat_deg() { return (short)getUIntElement(offsetBits_Lat_deg(), 8); } /** * Set the value of the field 'Lat_deg' */ public void set_Lat_deg(short value) { setUIntElement(offsetBits_Lat_deg(), 8, value); } /** * Return the size, in bytes, of the field 'Lat_deg' */ public static int size_Lat_deg() { return (8 / 8); } /** * Return the size, in bits, of the field 'Lat_deg' */ public static int sizeBits_Lat_deg() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: Long_deg // Field type: short, unsigned // Offset (bits): 24 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'Long_deg' is signed (false). */ public static boolean isSigned_Long_deg() { return false; } /** * Return whether the field 'Long_deg' is an array (false). */ public static boolean isArray_Long_deg() { return false; } /** * Return the offset (in bytes) of the field 'Long_deg' */ public static int offset_Long_deg() { return (24 / 8); } /** * Return the offset (in bits) of the field 'Long_deg' */ public static int offsetBits_Long_deg() { return 24; } /** * Return the value (as a short) of the field 'Long_deg' */ public short get_Long_deg() { return (short)getUIntElement(offsetBits_Long_deg(), 8); } /** * Set the value of the field 'Long_deg' */ public void set_Long_deg(short value) { setUIntElement(offsetBits_Long_deg(), 8, value); } /** * Return the size, in bytes, of the field 'Long_deg' */ public static int size_Long_deg() { return (8 / 8); } /** * Return the size, in bits, of the field 'Long_deg' */ public static int sizeBits_Long_deg() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: dec_sec // Field type: long, unsigned // Offset (bits): 32 // Size (bits): 32 ///////////////////////////////////////////////////////// /** * Return whether the field 'dec_sec' is signed (false). */ public static boolean isSigned_dec_sec() { return false; } /** * Return whether the field 'dec_sec' is an array (false). */ public static boolean isArray_dec_sec() { return false; } /** * Return the offset (in bytes) of the field 'dec_sec' */ public static int offset_dec_sec() { return (32 / 8); } /** * Return the offset (in bits) of the field 'dec_sec' */ public static int offsetBits_dec_sec() { return 32; } /** * Return the value (as a long) of the field 'dec_sec' */ public long get_dec_sec() { return (long)getUIntElement(offsetBits_dec_sec(), 32); } /** * Set the value of the field 'dec_sec' */ public void set_dec_sec(long value) { setUIntElement(offsetBits_dec_sec(), 32, value); } /** * Return the size, in bytes, of the field 'dec_sec' */ public static int size_dec_sec() { return (32 / 8); } /** * Return the size, in bits, of the field 'dec_sec' */ public static int sizeBits_dec_sec() { return 32; } ///////////////////////////////////////////////////////// // Accessor methods for field: Lat_dec_min // Field type: long, unsigned // Offset (bits): 64 // Size (bits): 32 ///////////////////////////////////////////////////////// /** * Return whether the field 'Lat_dec_min' is signed (false). */ public static boolean isSigned_Lat_dec_min() { return false; } /** * Return whether the field 'Lat_dec_min' is an array (false). */ public static boolean isArray_Lat_dec_min() { return false; } /** * Return the offset (in bytes) of the field 'Lat_dec_min' */ public static int offset_Lat_dec_min() { return (64 / 8); } /** * Return the offset (in bits) of the field 'Lat_dec_min' */ public static int offsetBits_Lat_dec_min() { return 64; } /** * Return the value (as a long) of the field 'Lat_dec_min' */ public long get_Lat_dec_min() { return (long)getUIntElement(offsetBits_Lat_dec_min(), 32); } /** * Set the value of the field 'Lat_dec_min' */ public void set_Lat_dec_min(long value) { setUIntElement(offsetBits_Lat_dec_min(), 32, value); } /** * Return the size, in bytes, of the field 'Lat_dec_min' */ public static int size_Lat_dec_min() { return (32 / 8); } /** * Return the size, in bits, of the field 'Lat_dec_min' */ public static int sizeBits_Lat_dec_min() { return 32; } ///////////////////////////////////////////////////////// // Accessor methods for field: Long_dec_min // Field type: long, unsigned // Offset (bits): 96 // Size (bits): 32 ///////////////////////////////////////////////////////// /** * Return whether the field 'Long_dec_min' is signed (false). */ public static boolean isSigned_Long_dec_min() { return false; } /** * Return whether the field 'Long_dec_min' is an array (false). */ public static boolean isArray_Long_dec_min() { return false; } /** * Return the offset (in bytes) of the field 'Long_dec_min' */ public static int offset_Long_dec_min() { return (96 / 8); } /** * Return the offset (in bits) of the field 'Long_dec_min' */ public static int offsetBits_Long_dec_min() { return 96; } /** * Return the value (as a long) of the field 'Long_dec_min' */ public long get_Long_dec_min() { return (long)getUIntElement(offsetBits_Long_dec_min(), 32); } /** * Set the value of the field 'Long_dec_min' */ public void set_Long_dec_min(long value) { setUIntElement(offsetBits_Long_dec_min(), 32, value); } /** * Return the size, in bytes, of the field 'Long_dec_min' */ public static int size_Long_dec_min() { return (32 / 8); } /** * Return the size, in bits, of the field 'Long_dec_min' */ public static int sizeBits_Long_dec_min() { return 32; } ///////////////////////////////////////////////////////// // Accessor methods for field: NSEWind // Field type: short, unsigned // Offset (bits): 128 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'NSEWind' is signed (false). */ public static boolean isSigned_NSEWind() { return false; } /** * Return whether the field 'NSEWind' is an array (false). */ public static boolean isArray_NSEWind() { return false; } /** * Return the offset (in bytes) of the field 'NSEWind' */ public static int offset_NSEWind() { return (128 / 8); } /** * Return the offset (in bits) of the field 'NSEWind' */ public static int offsetBits_NSEWind() { return 128; } /** * Return the value (as a short) of the field 'NSEWind' */ public short get_NSEWind() { return (short)getUIntElement(offsetBits_NSEWind(), 8); } /** * Set the value of the field 'NSEWind' */ public void set_NSEWind(short value) { setUIntElement(offsetBits_NSEWind(), 8, value); } /** * Return the size, in bytes, of the field 'NSEWind' */ public static int size_NSEWind() { return (8 / 8); } /** * Return the size, in bits, of the field 'NSEWind' */ public static int sizeBits_NSEWind() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: Fixed // Field type: short, unsigned // Offset (bits): 136 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'Fixed' is signed (false). */ public static boolean isSigned_Fixed() { return false; } /** * Return whether the field 'Fixed' is an array (false). */ public static boolean isArray_Fixed() { return false; } /** * Return the offset (in bytes) of the field 'Fixed' */ public static int offset_Fixed() { return (136 / 8); } /** * Return the offset (in bits) of the field 'Fixed' */ public static int offsetBits_Fixed() { return 136; } /** * Return the value (as a short) of the field 'Fixed' */ public short get_Fixed() { return (short)getUIntElement(offsetBits_Fixed(), 8); } /** * Set the value of the field 'Fixed' */ public void set_Fixed(short value) { setUIntElement(offsetBits_Fixed(), 8, value); } /** * Return the size, in bytes, of the field 'Fixed' */ public static int size_Fixed() { return (8 / 8); } /** * Return the size, in bits, of the field 'Fixed' */ public static int sizeBits_Fixed() { return 8; } } |