2.7.1 support all U-Blox Neo-6MGPS

Dear All,

I just tried the 2.7.1, but seems that the GPS cannot be recognized! The GCS shows no GPS was found. Does the new firmware supports all ublox GPS even the speed is 9600 or 57600? 

Thanks,

Eric

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Now the GPS can be recognized. Originally the GPS's speed 9600 of GPS 6M cannot be recognized by the ArduCopter 2.7.1!

    Config.h

    # define CONFIG_APM_HARDWARE APM_HARDWARE_APM1 update to

    # define CONFIG_APM_HARDWARE APM_HARDWARE_APM2

    Add the below code of System 

    #if GPS_PROTOCOL == GPS_PROTOCOL_AUTO byte ublox_set_pos[16]={0xB5 ,0x62 ,0x06 ,0x01 ,0x08 ,0x00 ,0x01 ,0x02 ,0x00 ,0x01 ,0x00 ,0x00 ,0x00 ,0x00 ,0x13 ,0xBE}; byte ublox_set_sta[16]={0xB5 ,0x62 ,0x06 ,0x01 ,0x08 ,0x00 ,0x01 ,0x03 ,0x00 ,0x01 ,0x00 ,0x00 ,0x00 ,0x00 ,0x14 ,0xC5}; byte ublox_set_vel[16]={0xB5 ,0x62 ,0x06 ,0x01 ,0x08 ,0x00 ,0x01 ,0x12 ,0x00 ,0x01 ,0x00 ,0x00 ,0x00 ,0x00 ,0x23 ,0x2E}; byte ublox_set_sba[16]={0xB5 ,0x62 ,0x06 ,0x16 ,0x08 ,0x00 ,0x00 ,0x03 ,0x03 ,0x00 ,0x51 ,0x62 ,0x06 ,0x00 ,0xE3 ,0x27}; byte ublox_set_5hz[14]={0xB5 ,0x62 ,0x06 ,0x08 ,0x06 ,0x00 ,0xC8 ,0x00 ,0x01 ,0x00 ,0x01 ,0x00 ,0xDE ,0x6A}; byte ublox_set_384[28]={0xB5 ,0x62 ,0x06 ,0x00 ,0x14 ,0x00 ,0x01 ,0x00 ,0x00 ,0x00 ,0xD0 ,0x08 ,0x00 ,0x00 ,0x00 ,0x96 ,0x00 ,0x00 ,0x03 ,0x00 ,0x03 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x8F ,0x70}; uint8_t i; Serial1.begin(9600); for (i=0;i<16;i++) Serial1.write(ublox_set_pos[i]); delay(100); for (i=0;i<16;i++) Serial1.write(ublox_set_sta[i]); delay(100); for (i=0;i<16;i++) Serial1.write(ublox_set_vel[i]); delay(100); for (i=0;i<16;i++) Serial1.write(ublox_set_sba[i]); delay(100); for (i=0;i<14;i++) Serial1.write(ublox_set_5hz[i]); delay(100); for (i=0;i<28;i++) Serial1.write(ublox_set_384[i]); delay(1000); Serial1.begin(38400,128,16); #endif Serial.printf_P(PSTR("\n\nInit " THISFIRMWARE "\n\nFree RAM: %u\n"), memcheck_available_memory());

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Sunday
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…