Friday 20 September 2013

So far so good~ Part 1 - 3 done ; )

Have finally finished installing all the relevant software for my UAV project including the Mission Planner Mav1.0....wow, feeling excited!!!! Right now, i'm progressing to learn Arduino programming since i was given an Arduino Uno board by prof yesterday. Looking forward to it.....gonna spend my weekend on this probably.


Arduino UNO Board


Just a little sharing here on Crius AIOP tutorial Part 3:
 (Here, we are using MegapirateNG V2.8 R3, Arduino 1.0.1, Ublox GPS, Hexa Frame, X Frame)
  • Assuming you have gone through tutorial part 1 & 2, extract MegapirateNG V.2.8 R3 into Crius file created earlier.
  • Copy library file from MPNG folder and replace with the one in Arduino 1.0.1 folder. (This to ensure that the library to be used in Arduino programming later is the same as in MPNG)
  • Plug in the cable into your laptop and it shall install the device driver automatically. (LED starts blinking) 
  •  Click into the device manager and try to look for the device installed. Identify the port. (COM 7) 
  •  Go to Crius file and open the arduino application file
                            i) Tools > Select Arduino Mega 2560/ MegaADK

                            ii) File   > Open Arducopter file in MPNG and select
                                            ArduCopter.pde

                            iii) Close previous window. (Empty sketchbook)

                            iv) Go to APM_Config.h and do changes on parameters
                                 define.
                                    a) #define PIRATES_SENSORS_BOARD
                                        PIRATES_CRIUS_AIO_PRO_V2
                                    b) #define CONFIG_BAROAP_BARO_MS5611_I2C
                                    c) #define GPS_PROTOCOL GPS_PROTOCOL_UBLOX
                                    d) #define FRAME_CONFIG HEXA_FRAME
                                    e) #define FRAME_ORIENTATION X_FRAME

                             v)  Compile and upload into your AIOP V.2 board.
                                 *There shouldn't be any errors while compiling.
                                    If errors occur, try recopied MPNG library
                                    file to Arduino file. If problem persists, uninstall
                                    your Arduino software and delete all the directories
                                    before re-installing.          

Now, we may proceed to Part 4 of Jose tutorial. The links for part 1-4 are given as below:






Comparisons between AIOP  V2 and V1.1


As usual, a song for a day : ) Ocean will part by Hillsongs (Annie Garratt)

Present suffering may pass, 
Lord, Your mercy will last
As You open my eyes to the work of Your hands
And my heart will find praise, 
I'll delight in Your way
As You open my eyes to the work of Your hands







No comments:

Post a Comment