ArduPilot_2_7.1

所属分类:GPS编程
开发工具:Visual C++
文件大小:1163KB
下载次数:118
上传日期:2011-06-01 00:45:13
上 传 者bhaskargorle
说明:  INS code using GPS and IMU for navigation system

文件列表:
ArduPilot_2_7\.svn (0, 2010-11-18)
ArduPilot_2_7\.svn\all-wcprops (3144, 2010-11-18)
ArduPilot_2_7\.svn\dir-prop-base (115, 2010-09-07)
ArduPilot_2_7\.svn\entries (4643, 2010-11-18)
ArduPilot_2_7\.svn\prop-base (0, 2010-07-24)
ArduPilot_2_7\.svn\props (0, 2010-07-24)
ArduPilot_2_7\.svn\text-base (0, 2010-11-18)
ArduPilot_2_7\.svn\text-base\AP_Config.h.svn-base (9094, 2010-11-18)
ArduPilot_2_7\.svn\text-base\AP_Config_xplane.h.svn-base (8934, 2010-09-07)
ArduPilot_2_7\.svn\text-base\AP_PID_settings.h.svn-base (4687, 2010-09-07)
ArduPilot_2_7\.svn\text-base\ArduPilot_2_7.pde.svn-base (20837, 2010-09-15)
ArduPilot_2_7\.svn\text-base\attitude.pde.svn-base (8286, 2010-09-07)
ArduPilot_2_7\.svn\text-base\control_modes.pde.svn-base (1099, 2010-09-07)
ArduPilot_2_7\.svn\text-base\debug.pde.svn-base (10393, 2010-09-15)
ArduPilot_2_7\.svn\text-base\defines.h.svn-base (5741, 2010-09-07)
ArduPilot_2_7\.svn\text-base\EEPROM.pde.svn-base (5563, 2010-09-07)
ArduPilot_2_7\.svn\text-base\events.pde.svn-base (3132, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GCS_Jason_text.pde.svn-base (3434, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GCS_None.pde.svn-base (1786, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GCS_Standard_text.pde.svn-base (4896, 2010-09-15)
ArduPilot_2_7\.svn\text-base\GCS_Xplane.pde.svn-base (4134, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GPS_EM406.pde.svn-base (5805, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GPS_IMU.pde.svn-base (8892, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GPS_MTK.pde.svn-base (4246, 2010-09-26)
ArduPilot_2_7\.svn\text-base\GPS_NMEA.pde.svn-base (7871, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GPS_None.pde.svn-base (109, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GPS_Sim.pde.svn-base (5251, 2010-09-07)
ArduPilot_2_7\.svn\text-base\GPS_UBLOX.pde.svn-base (5823, 2010-09-07)
ArduPilot_2_7\.svn\text-base\navigation.pde.svn-base (4787, 2010-09-07)
ArduPilot_2_7\.svn\text-base\radio.pde.svn-base (10050, 2010-09-07)
ArduPilot_2_7\.svn\text-base\sensors.pde.svn-base (3605, 2010-09-07)
ArduPilot_2_7\.svn\text-base\servos.pde.svn-base (5712, 2010-09-15)
ArduPilot_2_7\.svn\text-base\system.pde.svn-base (10991, 2010-09-15)
ArduPilot_2_7\.svn\text-base\timing.pde.svn-base (593, 2010-09-07)
ArduPilot_2_7\.svn\text-base\waypoints.pde.svn-base (7346, 2010-09-07)
ArduPilot_2_7\.svn\tmp (0, 2010-11-18)
ArduPilot_2_7\.svn\tmp\AP_Config.h.2.tmp (9535, 2010-08-07)
ArduPilot_2_7\.svn\tmp\AP_Config.h.3.tmp (9473, 2010-08-13)
ArduPilot_2_7\.svn\tmp\AP_Config.h.4.tmp (9473, 2010-08-14)
ArduPilot_2_7\.svn\tmp\AP_Config.h.5.tmp (9273, 2010-08-23)
... ...

Using Wiring with Flash (via serproxy) -------------------------------------- Connect the Wiring board to a USB port. Take note of which USB port you use, as different ones have different identifiers. Launch Wiring. Look in the Tools | Serial Port menu and take note of the identifier corresponding to the serial device for the USB port to which the Wiring board is connected (look for something WITHOUT "modem" in its name). Open serproxy.cfg in TextEdit. The serproxy can handle multiple serial devices (each of which corresponds to a USB or serial port). For example: comm_ports=1,2 tells serproxy to use two comm ports, numbered 1 and 2. To tell serproxy which serial device (from the Wiring menu) corresponds to each comm port, use a line like this: serial_device1=/dev/tty.usbserial-1B1 This tells serproxy that comm port 1 uses serial device /dev/tty.usbserial-1B1. Change this to the identifier from the Wiring menu. Then, you assign a network port the comm port: net_port1=5331 This tells serproxy to listen for connections on port 5331. Set this to whatever port you wish to connect to from Flash (on host "localhost"). To configure another port, repeat the above instructions, plugging the Wiring board into a different USB port (you'll have to quit Wiring, plug into the new USB port, and then relaunch Wiring). Then add the appropriate lines to the serproxy.cfg. For example: serial_device2=/dev/tty.usbserial-3B1 net_port2=5332 Will configure comm port 2 to use serial device /dev/tty.usbserial-3B1 and listen for connections from Flash on port 5332. Each serial device will always correspond to the same network port, so if you plug the Wiring board into a different USB port, you'll need to connect to a different network port from Flash. If you need more than two comm ports, you'll need to change the comm_ports line. For example: comm_ports=1,2,3,4 allocates four comm ports numbered 1 through 4. You need to make sure that the baud rate specified by your Wiring code: beginSerial(19200); matches the baud rate specified in serproxy.cfg: comm_baud=19200 Finally, Flash will not process any incoming data (i.e. call the onData() function of your XMLSocket) until it receives a nil (ASCII code 0, '\0'). If your Wiring code uses newlines (ASCII code 10, '\n') to delimit data (so that, for example, it's easier to read in the Wiring serial monitor, HyperTerminal, zterm, Terminal, etc), you can tell serproxy to convert them into nils: newlines_to_nils=true To launch serproxy, simply double-click it. (This version does not require a .command file.) -- David A. Mellis 7 June 2005

近期下载者

相关文件


收藏者