Bienvenidos a Helicopteros RC / Radiocontrol
Miesntras espero las investigaciones de Cayesa, una pregunta...¿Cuantos canales hacen falta para usar bien el GPS? yo entiendo que dos, y justo me irá para usarlo con la Spektrum Dx6i. Un canal para HOLD, no parece complicado, pero el canal de HOME, sirve un canal normal? Como se hace para grabar el punto y luego para que vuelva hasta el punto guardado?
Hi,Just some precisions about the current GPS dev code:[U]1) hardware setup:[/U]An arduino mega (might change in the future for a promini, but not yet) with the GPS connected on serial port 2 (customizable, but with the typo correction just mentionned by PatrikE). I'm currently using the flyduino MEGA.You must configure the right baud speed of the GPS port according to your GPS device. (#define GPS + #define GPS_SERIAL 2 + #define GPS_BAUD 115200)You need a NMEA GPS compatible (most serial GPS are compatible). Currently multiwii does not configure the GPS device (will change in the future). So your GPS device must be already configured to output these frames. A 5 or 10Hz is preferable. This update rate is not configurable inside multiwii, multiwii takes what it receives. I'm now using the 10Hz FMP04 GPS with the GPS BOB from flyduino.All the sensors GYRO+ACC+MAG are mandatory. Your multi must be perfectly tuned in level and heading (mag) mode. Your mag direction should not be altered by running motors (this point is very important). Your MAG arrow must point the north direction.Baro is not mandatory, but a working baro config in preferable.[U]2) visualization[/U]If the GPS is correctly connected and configured. You should see the GPS blinking in the GUI (around the grey rosace N/S/E/W in the GUI) according to its update rate.A specific Status LED blink pattern occurs when motors are disarmed and once a fix is ok.Once a fix is ok, you should see the number of satellites and the distance to the first fix position (home) in the GUI.[U]3) activating the GPS[/U]The GPS must be activated (via checkbox and AUX configuration) only if a fix is ok. The home will be set with the first fix.The GPS can be only activated if level mode if also activated. (MAG mode activation or BARO mode activation are not mandatory)The current implementation only supports Return To Home function (PH will be easy to add)Once activated, the GPS will rely on 3 parameters to workdistance to the target point (calculation obtained from GPS device)absolute direction to the target point (calculation obtained from GPS device)heading direction (calculation obtained from MAG+ACC device)The target point distance is used to determine an angle inclination.A PID has been added to the GUI, but it's not currently a real PID.P is used to tune the proportion of inclination regarding the distance to the target point.I is not usedD is used to limit the max inclinationThe combination of direction to the target point+heading direction is used to apply a mix on the motors to follow the right direction. [URL=http://www.multiwii.com/forum/memberlist.php?mode=viewprofile&u=53]Alexinparis[/URL]
El Home es un interruptor de 2 posiciones, cuando lo activas, el multi vuelve a la posición de inicialización, o sea donde le has dado corriente a la placa.
Si alguien necesita aclaración que lo diga.
Una de las cosas que dice es que el GPS solo se integra con arduinos mega y que debe conectarse al puerto serie 2.
Arian, tu placa es una seeduino mega, clon de la arduino mega, con lo que si es compatible.
El puerto serie 2 lo puedes localizar mirando los pines de la seeduino donde ponga Tx2 y Rx2. Lo que no se es si esos pines están transferidos a la shield. En el caso de no estar, tendrás que hacer alguna chapucilla.
Lo que comenta Alexinparis es que hay que configurar el GPS a los parámetros que especifica, pero el tuyo ya biene por defecto con esos parámetros.
También comenta que es imprescindible tener magnetómetro y que todo esté perfectamente ajustado.
Una vez activo, desde el gui se puede ver la cantidad de satélites que ha encontrado y el led de estado en la placa tiene una secuencia mientras busca satélites y otra cuando ha fijado la posición.
Arian que GPS es el que tinees tu. GRacias.Y otra cosa mmmmm SOlo es valido para la vuelta a casa o tambien es valido para mantener posicion por GPS.Gracias. NEcesitooo mas informacion. QUe ganas