Commit 6dbae4d4 authored by nopeppermint's avatar nopeppermint

correct spelling mistakes

parent f2b95f1b
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
# #
# This file contains configuration settings which are common to both the QGC Application and # This file contains configuration settings which are common to both the QGC Application and
# the Location Plugin. It should mainly contains intial CONFIG tag setup and compiler settings. # the Location Plugin. It should mainly contains initial CONFIG tag setup and compiler settings.
# #
# Setup our supported build types. We do this once here and then use the defined config scopes # Setup our supported build types. We do this once here and then use the defined config scopes
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<fileheader> <fileheader>
<author> Ron Jensen Aeromatic v 0.91 </author> <author> Ron Jensen Aeromatic v 0.91 </author>
<filecreationdate> 2010-03-28 </filecreationdate> <filecreationdate> 2010-03-28 </filecreationdate>
<version>$Revison: $</version> <version>$Revision: $</version>
<description> Models a EasyStar. </description> <description> Models a EasyStar. </description>
</fileheader> </fileheader>
......
Origional readme: Original readme:
************************************************************************ ************************************************************************
* MULTIPLEX Modellsport GmbH & Co. KG * * MULTIPLEX Modellsport GmbH & Co. KG *
* Neuer Weg 2, D-75223 Niefern, Germany * * Neuer Weg 2, D-75223 Niefern, Germany *
...@@ -12,4 +12,4 @@ weichungen m ...@@ -12,4 +12,4 @@ weichungen m
This Model was created for FMS and now modified by Ken Northup using AC3D and is freely distributed. Please feel free to modify as you wish using AC3D. If you modify and make a better paint scheme, feel free to contact me via email, as I would love to see different versions created for Clearview RC Simulator. To Install, simply extract the file and put the folder under the models in the Clearview RC Simulator. The next time you run Clearview, it will appear under the Airplane selections. This Model was created for FMS and now modified by Ken Northup using AC3D and is freely distributed. Please feel free to modify as you wish using AC3D. If you modify and make a better paint scheme, feel free to contact me via email, as I would love to see different versions created for Clearview RC Simulator. To Install, simply extract the file and put the folder under the models in the Clearview RC Simulator. The next time you run Clearview, it will appear under the Airplane selections.
Ken Northup Ken Northup
Helos360@bellsouth.net Helos360@bellsouth.net
\ No newline at end of file
...@@ -529,7 +529,7 @@ double QwtText::heightForWidth( double width, const QFont &defaultFont ) const ...@@ -529,7 +529,7 @@ double QwtText::heightForWidth( double width, const QFont &defaultFont ) const
Returns the size, that is needed to render text Returns the size, that is needed to render text
\param defaultFont Font of the text \param defaultFont Font of the text
\return Caluclated size \return Calculated size
*/ */
QSizeF QwtText::textSize( const QFont &defaultFont ) const QSizeF QwtText::textSize( const QFont &defaultFont ) const
{ {
...@@ -637,7 +637,7 @@ void QwtText::draw( QPainter *painter, const QRectF &rect ) const ...@@ -637,7 +637,7 @@ void QwtText::draw( QPainter *painter, const QRectF &rect ) const
returns true. If there is none QwtPlainTextEngine is returned. returns true. If there is none QwtPlainTextEngine is returned.
If no text engine is registered for the format QwtPlainTextEngine If no text engine is registered for the format QwtPlainTextEngine
is returnd. is returned.
\param text Text, needed in case of AutoText \param text Text, needed in case of AutoText
\param format Text format \param format Text format
......
...@@ -181,7 +181,7 @@ double QwtPlainTextEngine::heightForWidth( const QFont& font, int flags, ...@@ -181,7 +181,7 @@ double QwtPlainTextEngine::heightForWidth( const QFont& font, int flags,
\param flags Bitwise OR of the flags used like in QPainter::drawText \param flags Bitwise OR of the flags used like in QPainter::drawText
\param text Text to be rendered \param text Text to be rendered
\return Caluclated size \return Calculated size
*/ */
QSizeF QwtPlainTextEngine::textSize( const QFont &font, QSizeF QwtPlainTextEngine::textSize( const QFont &font,
int flags, const QString& text ) const int flags, const QString& text ) const
...@@ -270,7 +270,7 @@ double QwtRichTextEngine::heightForWidth( const QFont& font, int flags, ...@@ -270,7 +270,7 @@ double QwtRichTextEngine::heightForWidth( const QFont& font, int flags,
\param flags Bitwise OR of the flags used like in QPainter::drawText() \param flags Bitwise OR of the flags used like in QPainter::drawText()
\param text Text to be rendered \param text Text to be rendered
\return Caluclated size \return Calculated size
*/ */
QSizeF QwtRichTextEngine::textSize( const QFont &font, QSizeF QwtRichTextEngine::textSize( const QFont &font,
......
...@@ -50,7 +50,7 @@ function processLib ...@@ -50,7 +50,7 @@ function processLib
exit 0 exit 0
;; ;;
*) *)
echo unknown lib, possiblities are: $libList echo unknown lib, possibilities are: $libList
exit 1 exit 1
esac esac
REPLY= REPLY=
......
...@@ -7,7 +7,7 @@ site, and I will get to it ASAP: ...@@ -7,7 +7,7 @@ site, and I will get to it ASAP:
http://code.google.com/p/libxbee/issues/list http://code.google.com/p/libxbee/issues/list
Documentation is avaliable via the man page system once you have installed the Documentation is available via the man page system once you have installed the
library, or as HTML in the 'doc' directory. library, or as HTML in the 'doc' directory.
$ man libxbee $ man libxbee
......
...@@ -267,7 +267,7 @@ static int xbee_sendATdelay(xbee_hnd xbee, int guardTime, char *command, char *r ...@@ -267,7 +267,7 @@ static int xbee_sendATdelay(xbee_hnd xbee, int guardTime, char *command, char *r
/* terminate the string */ /* terminate the string */
retBuf[bufi] = '\0'; retBuf[bufi] = '\0';
xbee_log("sendATdelay: Recieved '%s'",retBuf); xbee_log("sendATdelay: Received '%s'",retBuf);
return 0; return 0;
} }
...@@ -999,7 +999,7 @@ int _xbee_vsenddata(xbee_hnd xbee, xbee_con *con, char *format, va_list ap) { ...@@ -999,7 +999,7 @@ int _xbee_vsenddata(xbee_hnd xbee, xbee_con *con, char *format, va_list ap) {
} }
/* returns: /* returns:
1 - if NAC was recieved 1 - if NAC was received
0 - if packet was successfully sent (or just sent if waitforACK is off) 0 - if packet was successfully sent (or just sent if waitforACK is off)
-1 - if there was an error building the packet -1 - if there was an error building the packet
-2 - if the connection type was unknown */ -2 - if the connection type was unknown */
...@@ -1226,14 +1226,14 @@ xbee_pkt *_xbee_getpacket(xbee_hnd xbee, xbee_con *con) { ...@@ -1226,14 +1226,14 @@ xbee_pkt *_xbee_getpacket(xbee_hnd xbee, xbee_con *con) {
if ((p = xbee->pktlist) == NULL) { if ((p = xbee->pktlist) == NULL) {
xbee_mutex_unlock(xbee->pktmutex); xbee_mutex_unlock(xbee->pktmutex);
/*if (xbee->log) { /*if (xbee->log) {
xbee_log("No packets avaliable..."); xbee_log("No packets available...");
}*/ }*/
return NULL; return NULL;
} }
l = NULL; l = NULL;
q = NULL; q = NULL;
/* get the first avaliable packet for this connection */ /* get the first available packet for this connection */
do { do {
/* does the packet match the connection? */ /* does the packet match the connection? */
if (xbee_matchpktcon(xbee, p, con)) { if (xbee_matchpktcon(xbee, p, con)) {
...@@ -1490,18 +1490,18 @@ static int xbee_listen(xbee_hnd xbee) { ...@@ -1490,18 +1490,18 @@ static int xbee_listen(xbee_hnd xbee) {
/* check it is a valid length... */ /* check it is a valid length... */
if (!l) { if (!l) {
if (xbee->log) { if (xbee->log) {
xbee_logI("Recived zero length packet!"); xbee_logI("Received zero length packet!");
} }
continue; continue;
} }
if (l > 100) { if (l > 100) {
if (xbee->log) { if (xbee->log) {
xbee_logI("Recived oversized packet! Length: %d",l - 1); xbee_logI("Received oversized packet! Length: %d",l - 1);
} }
} }
if (l > LISTEN_BUFLEN) { if (l > LISTEN_BUFLEN) {
if (xbee->log) { if (xbee->log) {
xbee_logI("Recived packet larger than buffer! Discarding..."); xbee_logI("Received packet larger than buffer! Discarding...");
} }
continue; continue;
} }
...@@ -1551,7 +1551,7 @@ static int xbee_listen(xbee_hnd xbee) { ...@@ -1551,7 +1551,7 @@ static int xbee_listen(xbee_hnd xbee) {
/* add the checksum */ /* add the checksum */
chksum += xbee_getbyte(xbee); chksum += xbee_getbyte(xbee);
/* check if the whole packet was recieved, or something else occured... unlikely... */ /* check if the whole packet was received, or something else occured... unlikely... */
if (l>1) { if (l>1) {
if (xbee->log) { if (xbee->log) {
xbee_logE("Didn't get whole packet... :("); xbee_logE("Didn't get whole packet... :(");
...@@ -1754,7 +1754,7 @@ static int xbee_listen(xbee_hnd xbee) { ...@@ -1754,7 +1754,7 @@ static int xbee_listen(xbee_hnd xbee) {
xbee_mutex_unlock(xbee->conmutex); xbee_mutex_unlock(xbee->conmutex);
/* ########################################## */ /* ########################################## */
/* if: 16 / 64bit data recieve */ /* if: 16 / 64bit data receive */
} else if ((t == XBEE_64BIT_DATARX) || } else if ((t == XBEE_64BIT_DATARX) ||
(t == XBEE_16BIT_DATARX)) { (t == XBEE_16BIT_DATARX)) {
int offset; int offset;
...@@ -1816,7 +1816,7 @@ static int xbee_listen(xbee_hnd xbee) { ...@@ -1816,7 +1816,7 @@ static int xbee_listen(xbee_hnd xbee) {
for (;i>offset + 1;i--) p->data[i-(offset + 2)] = d[i]; for (;i>offset + 1;i--) p->data[i-(offset + 2)] = d[i];
/* ########################################## */ /* ########################################## */
/* if: 16 / 64bit I/O recieve */ /* if: 16 / 64bit I/O receive */
} else if ((t == XBEE_64BIT_IO) || } else if ((t == XBEE_64BIT_IO) ||
(t == XBEE_16BIT_IO)) { (t == XBEE_16BIT_IO)) {
int offset,i2; int offset,i2;
...@@ -1940,7 +1940,7 @@ static int xbee_listen(xbee_hnd xbee) { ...@@ -1940,7 +1940,7 @@ static int xbee_listen(xbee_hnd xbee) {
p->datalen = 0; p->datalen = 0;
/* ########################################## */ /* ########################################## */
/* if: Series 2 data recieve */ /* if: Series 2 data receive */
} else if (t == XBEE2_DATARX) { } else if (t == XBEE2_DATARX) {
int offset; int offset;
offset = 10; offset = 10;
...@@ -2354,8 +2354,8 @@ static int _xbee_send_pkt(xbee_hnd xbee, t_data *pkt, xbee_con *con) { ...@@ -2354,8 +2354,8 @@ static int _xbee_send_pkt(xbee_hnd xbee, t_data *pkt, xbee_con *con) {
xbee_log("Waiting for ACK/NAK response..."); xbee_log("Waiting for ACK/NAK response...");
xbee_sem_wait1sec(con->waitforACKsem); xbee_sem_wait1sec(con->waitforACKsem);
switch (con->ACKstatus) { switch (con->ACKstatus) {
case 0: xbee_log("ACK recieved!"); break; case 0: xbee_log("ACK received!"); break;
case 1: xbee_log("NAK recieved..."); break; case 1: xbee_log("NAK received..."); break;
case 2: xbee_log("CCA failure..."); break; case 2: xbee_log("CCA failure..."); break;
case 3: xbee_log("Purged..."); break; case 3: xbee_log("Purged..."); break;
case 255: default: xbee_log("Timeout..."); case 255: default: xbee_log("Timeout...");
......
...@@ -38,7 +38,7 @@ or contact me (Attie) directly: ...@@ -38,7 +38,7 @@ or contact me (Attie) directly:
<A NAME="lbAD">&nbsp;</A> <A NAME="lbAD">&nbsp;</A>
<H2>MAN PAGES</H2> <H2>MAN PAGES</H2>
Documentation is avaliable via the following man pages, or by example in the 'sample' folder in the SVN repository Documentation is available via the following man pages, or by example in the 'sample' folder in the SVN repository
<P> <P>
<B><A HREF="../man3/xbee_pkt.3.html">xbee_pkt</A></B>(3) - libxbee's packet structure <B><A HREF="../man3/xbee_pkt.3.html">xbee_pkt</A></B>(3) - libxbee's packet structure
......
...@@ -26,7 +26,7 @@ xbee_getpacket ...@@ -26,7 +26,7 @@ xbee_getpacket
The The
<B>xbee_getpacket</B>() <B>xbee_getpacket</B>()
function will return the next avaliable packet for the provided connection. function will return the next available packet for the provided connection.
It takes 1 argument. It takes 1 argument.
<P> <P>
The argument The argument
...@@ -49,7 +49,7 @@ You must keep hold of the packet until you are finished with it, and then you mu ...@@ -49,7 +49,7 @@ You must keep hold of the packet until you are finished with it, and then you mu
it to prevent memory leaks. it to prevent memory leaks.
<P> <P>
If a packet was not avaliable for the provided connection, a If a packet was not available for the provided connection, a
<B>NULL</B> <B>NULL</B>
is returned. is returned.
...@@ -69,7 +69,7 @@ For information on using callback functions with connections instead, please see ...@@ -69,7 +69,7 @@ For information on using callback functions with connections instead, please see
<A NAME="lbAF">&nbsp;</A> <A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLE</H2> <H2>EXAMPLE</H2>
To recieve a packet from a previously made connection: To receive a packet from a previously made connection:
<PRE> <PRE>
#include &lt;<A HREF="file:/usr/include/xbee.h">xbee.h</A>&gt; #include &lt;<A HREF="file:/usr/include/xbee.h">xbee.h</A>&gt;
......
...@@ -37,7 +37,7 @@ It takes at least 2 arguments, and possibly up to 4 depending on the ...@@ -37,7 +37,7 @@ It takes at least 2 arguments, and possibly up to 4 depending on the
<B>NOTE:</B> <B>NOTE:</B>
Packets will only be collected when they match an active connection. Packets will only be collected when they match an active connection.
You must setup a connection in order to recieve packets. You must setup a connection in order to receive packets.
<P> <P>
The argument The argument
<I>frameID</I> <I>frameID</I>
...@@ -48,7 +48,7 @@ identifies where the data is coming from or going to. ...@@ -48,7 +48,7 @@ identifies where the data is coming from or going to.
The The
<I>type</I> <I>type</I>
specifies the type of connection you would like. The following types are avaliable: specifies the type of connection you would like. The following types are available:
<DL COMPACT> <DL COMPACT>
<DT><B>xbee_localAT</B> <DT><B>xbee_localAT</B>
...@@ -57,11 +57,11 @@ communicates AT commands with the local XBee ...@@ -57,11 +57,11 @@ communicates AT commands with the local XBee
<DT><B>xbee_txStatus</B> <DT><B>xbee_txStatus</B>
<DD> <DD>
recieves transmit status information from the local XBee receives transmit status information from the local XBee
<DT><B>xbee_modemStatus</B> <DT><B>xbee_modemStatus</B>
<DD> <DD>
recieves modem status information from the local XBee receives modem status information from the local XBee
<DT><B>xbee_16bitRemoteAT</B> <DT><B>xbee_16bitRemoteAT</B>
<DD> <DD>
...@@ -73,19 +73,19 @@ communicates AT commands with a remote node (using 64-bit addressing) ...@@ -73,19 +73,19 @@ communicates AT commands with a remote node (using 64-bit addressing)
<DT><B>xbee_16bitData</B> <DT><B>xbee_16bitData</B>
<DD> <DD>
sends/recieves data through a remote node (using 16-bit addressing) sends/receives data through a remote node (using 16-bit addressing)
<DT><B>xbee_64bitData</B> <DT><B>xbee_64bitData</B>
<DD> <DD>
sends/recieves data through a remote node (using 64-bit addressing) sends/receives data through a remote node (using 64-bit addressing)
<DT><B>xbee_16bitIO</B> <DT><B>xbee_16bitIO</B>
<DD> <DD>
sends/recieves I/O data through a remote node (using 16-bit addressing) sends/receives I/O data through a remote node (using 16-bit addressing)
<DT><B>xbee_64bitIO</B> <DT><B>xbee_64bitIO</B>
<DD> <DD>
sends/recieves I/O data through a remote node (using 64-bit addressing) sends/receives I/O data through a remote node (using 64-bit addressing)
</DL> </DL>
<P> <P>
......
...@@ -51,18 +51,18 @@ and others need explaining. I will touch on the most important here: ...@@ -51,18 +51,18 @@ and others need explaining. I will touch on the most important here:
<DT><B>atCmd</B> <DT><B>atCmd</B>
<DD> <DD>
This is the 2 character identifier for the AT command response you just recieved. This is the 2 character identifier for the AT command response you just received.
Of course if you didnt setup an AT connection, you should never see, or try to see data here. Of course if you didnt setup an AT connection, you should never see, or try to see data here.
<DT><B>Addr64</B> and <B>Addr16</B> <DT><B>Addr64</B> and <B>Addr16</B>
<DD> <DD>
These contain the address of the XBee that you recieved the packet from. You should really know this These contain the address of the XBee that you received the packet from. You should really know this
because you setup the connection. However remote AT packets will contain both 16 and 64 bit because you setup the connection. However remote AT packets will contain both 16 and 64 bit
addresses. addresses.
<DT><B>data</B> <DT><B>data</B>
<DD> <DD>
This is the data you just recieved. Either the AT reponse, or the data from the remote XBee node. This is the data you just received. Either the AT reponse, or the data from the remote XBee node.
<DT><B>datalen</B> <DT><B>datalen</B>
<DD> <DD>
......
...@@ -80,7 +80,7 @@ If ...@@ -80,7 +80,7 @@ If
has has
<I>waitforACK</I> <I>waitforACK</I>
enabled, then these functions return 1 when an ACK was not recieved within 1 second. enabled, then these functions return 1 when an ACK was not received within 1 second.
<A NAME="lbAF">&nbsp;</A> <A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLE</H2> <H2>EXAMPLE</H2>
......
...@@ -46,7 +46,7 @@ is the path to the serial port that the XBee is connected to (e.g. /dev/ttyUSB0) ...@@ -46,7 +46,7 @@ is the path to the serial port that the XBee is connected to (e.g. /dev/ttyUSB0)
The The
<I>baudrate</I> <I>baudrate</I>
is the baud rate that the local XBee is configured to run at. The following are avaliable: is the baud rate that the local XBee is configured to run at. The following are available:
<PRE> <PRE>
<B>1200</B> <B>1200</B>
......
...@@ -21,7 +21,7 @@ XBee 2.5 ...@@ -21,7 +21,7 @@ XBee 2.5
0x10* ZigBee Transmit Request 0x10* ZigBee Transmit Request
0x11 Explicit Addressing ZigBee Command Frame 0x11 Explicit Addressing ZigBee Command Frame
0x8B* ZigBee Transmit Status 0x8B* ZigBee Transmit Status
0x90* ZigBee Recieve Packet 0x90* ZigBee Receive Packet
0x91 ZigBee Explicit Rx 0x91 ZigBee Explicit Rx
0x92 ZigBee IO Data Sample Rx 0x92 ZigBee IO Data Sample Rx
0x94 Xbee Sensor Read 0x94 Xbee Sensor Read
......
...@@ -49,7 +49,7 @@ QString APMAirframeComponent::name(void) const ...@@ -49,7 +49,7 @@ QString APMAirframeComponent::name(void) const
QString APMAirframeComponent::description(void) const QString APMAirframeComponent::description(void) const
{ {
return tr("The Airframe Component is used to select the airframe which matches your vehicle. " return tr("The Airframe Component is used to select the airframe which matches your vehicle. "
"This will in turn set up the various tuning values for flight paramters."); "This will in turn set up the various tuning values for flight parameters.");
} }
QString APMAirframeComponent::iconResource(void) const QString APMAirframeComponent::iconResource(void) const
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
QStringList parameterNames(int componentId); QStringList parameterNames(int componentId);
/// Returns the specified parameter Fact from the default component /// Returns the specified parameter Fact from the default component
/// WARNING: Returns a default Fact if parameter does not exists. If that possibility exists, check for existince first with /// WARNING: Returns a default Fact if parameter does not exists. If that possibility exists, check for existence first with
/// parameterExists. /// parameterExists.
Fact* getParameterFact(int componentId, const QString& name); Fact* getParameterFact(int componentId, const QString& name);
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
const QString& name); ///< fact name const QString& name); ///< fact name
/// Returns the specified Fact. /// Returns the specified Fact.
/// WARNING: Will assert if fact does not exists. If that possibility exists, check for existince first with /// WARNING: Will assert if fact does not exists. If that possibility exists, check for existence first with
/// factExists. /// factExists.
Fact* getFact(FactSystem::Provider_t provider, ///< fact provider Fact* getFact(FactSystem::Provider_t provider, ///< fact provider
int componentId, ///< fact component, -1=default component int componentId, ///< fact component, -1=default component
......
...@@ -168,7 +168,7 @@ private: ...@@ -168,7 +168,7 @@ private:
rcCalFunctionFirstAttitudeFunction = rcCalFunctionRoll, rcCalFunctionFirstAttitudeFunction = rcCalFunctionRoll,
rcCalFunctionLastAttitudeFunction = rcCalFunctionThrottle, rcCalFunctionLastAttitudeFunction = rcCalFunctionThrottle,
// Non-Attitude functions are everthing else // Non-Attitude functions are everything else
rcCalFunctionFirstNonAttitudeFunction = rcCalFunctionModeSwitch, rcCalFunctionFirstNonAttitudeFunction = rcCalFunctionModeSwitch,
rcCalFunctionLastNonAttitudeFunction = rcCalFunctionAux2, rcCalFunctionLastNonAttitudeFunction = rcCalFunctionAux2,
}; };
......
...@@ -127,7 +127,7 @@ QString AirframeComponent::name(void) const ...@@ -127,7 +127,7 @@ QString AirframeComponent::name(void) const
QString AirframeComponent::description(void) const QString AirframeComponent::description(void) const
{ {
return tr("The Airframe Component is used to select the airframe which matches your vehicle. " return tr("The Airframe Component is used to select the airframe which matches your vehicle. "
"This will in turn set up the various tuning values for flight paramters."); "This will in turn set up the various tuning values for flight parameters.");
} }
QString AirframeComponent::iconResource(void) const QString AirframeComponent::iconResource(void) const
......
...@@ -948,12 +948,12 @@ velocity</short_desc> ...@@ -948,12 +948,12 @@ velocity</short_desc>
<max>1</max> <max>1</max>
</parameter> </parameter>
<parameter default="30.0" name="LAUN_CAT_A" type="FLOAT"> <parameter default="30.0" name="LAUN_CAT_A" type="FLOAT">
<short_desc>Catapult accelerometer theshold</short_desc> <short_desc>Catapult accelerometer threshold</short_desc>
<long_desc>LAUN_CAT_A * LAUN_CAT_T serves as threshold to trigger launch detection.</long_desc> <long_desc>LAUN_CAT_A * LAUN_CAT_T serves as threshold to trigger launch detection.</long_desc>
<min>0</min> <min>0</min>
</parameter> </parameter>
<parameter default="0.05" name="LAUN_CAT_T" type="FLOAT"> <parameter default="0.05" name="LAUN_CAT_T" type="FLOAT">
<short_desc>Catapult time theshold</short_desc> <short_desc>Catapult time threshold</short_desc>
<long_desc>LAUN_CAT_A * LAUN_CAT_T serves as threshold to trigger launch detection.</long_desc> <long_desc>LAUN_CAT_A * LAUN_CAT_T serves as threshold to trigger launch detection.</long_desc>
<min>0</min> <min>0</min>
</parameter> </parameter>
......
...@@ -75,7 +75,7 @@ public: ...@@ -75,7 +75,7 @@ public:
QStringList parameterNames(int componentId); QStringList parameterNames(int componentId);
/// Returns the specified Fact. /// Returns the specified Fact.
/// WARNING: Will assert if parameter does not exists. If that possibily exists, check for existince first with /// WARNING: Will assert if parameter does not exists. If that possibily exists, check for existence first with
/// parameterExists. /// parameterExists.
Fact* getFact(int componentId, ///< fact component, -1=default component Fact* getFact(int componentId, ///< fact component, -1=default component
const QString& name); ///< fact name const QString& name); ///< fact name
......
...@@ -686,7 +686,7 @@ ...@@ -686,7 +686,7 @@
<value code="1">Enable</value> <value code="1">Enable</value>
</values> </values>
</param> </param>
<param humanName="Crash Detection" name="ArduPlane:CRASH_DETECT" documentation="Automatically detect a crash during AUTO flight and perform the bitmask selected action(s). Disarm will turn off motor for saftey and to help against burning out ESC and motor. Setting the mode to manual will help save the servos from burning out by overexerting if the aircraft crashed in an odd orientation such as upsidedown." user="Advanced"> <param humanName="Crash Detection" name="ArduPlane:CRASH_DETECT" documentation="Automatically detect a crash during AUTO flight and perform the bitmask selected action(s). Disarm will turn off motor for safety and to help against burning out ESC and motor. Setting the mode to manual will help save the servos from burning out by overexerting if the aircraft crashed in an odd orientation such as upsidedown." user="Advanced">
<field name="Bitmask">0:Disarm</field> <field name="Bitmask">0:Disarm</field>
<values> <values>
<value code="0">Disabled</value> <value code="0">Disabled</value>
......
...@@ -87,7 +87,7 @@ public: ...@@ -87,7 +87,7 @@ public:
/// @return -1: reserver all buttons, >0 number of buttons to reserve /// @return -1: reserver all buttons, >0 number of buttons to reserve
virtual int manualControlReservedButtonCount(void) = 0; virtual int manualControlReservedButtonCount(void) = 0;
/// Called before any mavlink message is processed by Vehicle such taht the firmwre plugin /// Called before any mavlink message is processed by Vehicle such that the firmwre plugin
/// can adjust any message characteristics. This is handy to adjust or differences in mavlink /// can adjust any message characteristics. This is handy to adjust or differences in mavlink
/// spec implementations such that the base code can remain mavlink generic. /// spec implementations such that the base code can remain mavlink generic.
/// @param vehicle Vehicle message came from /// @param vehicle Vehicle message came from
......
...@@ -239,7 +239,7 @@ void MissionCommands::_loadMavCmdInfoJson(void) ...@@ -239,7 +239,7 @@ void MissionCommands::_loadMavCmdInfoJson(void)
// We don't add categories till down here, since friendly edit isn't valid till here // We don't add categories till down here, since friendly edit isn't valid till here
if (mavCmdInfo->_command != MAV_CMD_NAV_LAST) { if (mavCmdInfo->_command != MAV_CMD_NAV_LAST) {
// Don't add fake home postion command to categories // Don't add fake home position command to categories
if (mavCmdInfo->friendlyEdit()) { if (mavCmdInfo->friendlyEdit()) {
// Only friendly edit commands go in category list. We use MAV_AUTOPILOT_GENERIC key to store full list. // Only friendly edit commands go in category list. We use MAV_AUTOPILOT_GENERIC key to store full list.
......
...@@ -63,7 +63,7 @@ public: ...@@ -63,7 +63,7 @@ public:
{ return _messageBox(QMessageBox::Warning, title, text, buttons, defaultButton, parent); } { return _messageBox(QMessageBox::Warning, title, text, buttons, defaultButton, parent); }
private slots: private slots:
/// @brief The exec slot is private becasue when only want QGCMessageBox users to use the static methods. Otherwise it will break /// @brief The exec slot is private because when only want QGCMessageBox users to use the static methods. Otherwise it will break
/// unit testing. /// unit testing.
int exec(void) { return QMessageBox::exec(); } int exec(void) { return QMessageBox::exec(); }
......
...@@ -150,7 +150,7 @@ private: ...@@ -150,7 +150,7 @@ private:
static const int _eraseTimeout = 20000; ///< Msecs to wait for response from erase command static const int _eraseTimeout = 20000; ///< Msecs to wait for response from erase command
static const int _rebootTimeout = 10000; ///< Msecs to wait for reboot command to cause serial port to disconnect static const int _rebootTimeout = 10000; ///< Msecs to wait for reboot command to cause serial port to disconnect
static const int _verifyTimeout = 5000; ///< Msecs to wait for response to PROTO_GET_CRC command static const int _verifyTimeout = 5000; ///< Msecs to wait for response to PROTO_GET_CRC command
static const int _readTimout = 2000; ///< Msecs to wait for read bytes to become avilable static const int _readTimout = 2000; ///< Msecs to wait for read bytes to become available
static const int _responseTimeout = 2000; ///< Msecs to wait for command response bytes static const int _responseTimeout = 2000; ///< Msecs to wait for command response bytes
}; };
......
...@@ -282,7 +282,7 @@ QGCView { ...@@ -282,7 +282,7 @@ QGCView {
"This firmware has NOT BEEN FLIGHT TESTED. " + "This firmware has NOT BEEN FLIGHT TESTED. " +
"It is only intended for DEVELOPERS. " + "It is only intended for DEVELOPERS. " +
"Run bench tests without props first. " + "Run bench tests without props first. " +
"Do NOT fly this without addional safety precautions. " + "Do NOT fly this without additonal safety precautions. " +
"Follow the mailing list actively when using it." "Follow the mailing list actively when using it."
} else { } else {
firmwareVersionWarningLabel.visible = false firmwareVersionWarningLabel.visible = false
......
...@@ -1998,7 +1998,7 @@ PREDEFINED = ...@@ -1998,7 +1998,7 @@ PREDEFINED =
EXPAND_AS_DEFINED = EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
# remove all refrences to function-like macros that are alone on a line, have an # remove all references to function-like macros that are alone on a line, have an
# all uppercase name, and do not end with a semicolon. Such function macros are # all uppercase name, and do not end with a semicolon. Such function macros are
# typically used for boiler-plate code, and will confuse the parser if not # typically used for boiler-plate code, and will confuse the parser if not
# removed. # removed.
......
...@@ -194,7 +194,7 @@ void FileManagerTest::_listTest(void) ...@@ -194,7 +194,7 @@ void FileManagerTest::_listTest(void)
// And then it should have errored out because the next list Request would have failed. // And then it should have errored out because the next list Request would have failed.
QCOMPARE(_multiSpy->checkOnlySignalByMask(commandErrorSignalMask), true); QCOMPARE(_multiSpy->checkOnlySignalByMask(commandErrorSignalMask), true);
} else { } else {
// For the simulated errors which failed the intial response we should not have gotten any results back at all. // For the simulated errors which failed the initial response we should not have gotten any results back at all.
// Just an error. // Just an error.
QCOMPARE(_multiSpy->checkOnlySignalByMask(commandErrorSignalMask), true); QCOMPARE(_multiSpy->checkOnlySignalByMask(commandErrorSignalMask), true);
} }
......
...@@ -591,7 +591,7 @@ QString FileManager::errorString(uint8_t errorCode) ...@@ -591,7 +591,7 @@ QString FileManager::errorString(uint8_t errorCode)
case kErrInvalidSession: case kErrInvalidSession:
return QString("invalid session"); return QString("invalid session");
case kErrNoSessionsAvailable: case kErrNoSessionsAvailable:
return QString("no sessions availble"); return QString("no sessions available");
case kErrFailFileExists: case kErrFailFileExists:
return QString("File already exists on target"); return QString("File already exists on target");
case kErrFailFileProtected: case kErrFailFileProtected:
......
...@@ -471,7 +471,7 @@ protected: //COMMENTS FOR TEST UNIT ...@@ -471,7 +471,7 @@ protected: //COMMENTS FOR TEST UNIT
/// IMAGING /// IMAGING
int imageSize; ///< Image size being transmitted (bytes) int imageSize; ///< Image size being transmitted (bytes)
int imagePackets; ///< Number of data packets being sent for this image int imagePackets; ///< Number of data packets being sent for this image
int imagePacketsArrived; ///< Number of data packets recieved int imagePacketsArrived; ///< Number of data packets received
int imagePayload; ///< Payload size per transmitted packet (bytes). Standard is 254, and decreases when image resolution increases. int imagePayload; ///< Payload size per transmitted packet (bytes). Standard is 254, and decreases when image resolution increases.
int imageQuality; ///< Quality of the transmitted image (percentage) int imageQuality; ///< Quality of the transmitted image (percentage)
int imageType; ///< Type of the transmitted image (BMP, PNG, JPEG, RAW 8 bit, RAW 32 bit) int imageType; ///< Type of the transmitted image (BMP, PNG, JPEG, RAW 8 bit, RAW 32 bit)
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
======================================================================*/ ======================================================================*/
/// @file /// @file
/// @brief Dialog to configure RC to paramter mapping /// @brief Dialog to configure RC to parameter mapping
/// @author Thomas Gubler <thomasgubler@gmail.com> /// @author Thomas Gubler <thomasgubler@gmail.com>
#ifndef QGCMAPRCTOPARAMDIALOG_H #ifndef QGCMAPRCTOPARAMDIALOG_H
......
...@@ -160,7 +160,7 @@ void UASQuickView::sortItems(int columncount) ...@@ -160,7 +160,7 @@ void UASQuickView::sortItems(int columncount)
m_PropertyToLayoutIndexMap.remove(i.key()); m_PropertyToLayoutIndexMap.remove(i.key());
itemlist.append(i.value()); itemlist.append(i.value());
} }
// Item list has all the widgets availble, now re-add them to the layouts. // Item list has all the widgets available, now re-add them to the layouts.
for (int i = 0; i < m_verticalLayoutList.size(); i++) for (int i = 0; i < m_verticalLayoutList.size(); i++)
{ {
ui.horizontalLayout->removeItem(m_verticalLayoutList[i]); ui.horizontalLayout->removeItem(m_verticalLayoutList[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment