Replies

  • New Release

    UDB5 - PIC UAV Development Board v5

    https://www.sparkfun.com/products/11703?utm_source=SparkFun+Custome...

  • I cannot build the MatrixPilot_3_2_1 project.

    I had a lot more problems with MPLAB X so I am now working with MPLAB v8.85 and I have gotten further but it still wont build.

    I have a PICkit 3 and a UDB4.  I have downloaded "mplabc30-v3_31-windows-installer.exe" and am going by the "UDB4 Quick START GUIDE.pdf" from this website http://code.google.com/p/gentlenav/downloads/list.  I have come to a problem on pg 10 step 8.  When I select Project>"Make" I get the "Couldn't locate build tool.  Check tool locations." message.  I don't know what tool it is looking for and this is my first time using MPLAB.  Here is the full error message.

    ----------------------------------------------------------------------

    Release build of project `C:\Users\Jebs laptop\Documents\JebsPICprj\MatrixPilot_3_2_1\MatrixPilot\MatrixPilot-udb4.mcp' started. Sat May 19 11:40:53 2012

    ----------------------------------------------------------------------

    Executing: cscript "C:\Users\Jebs laptop\Documents\JebsPICprj\MatrixPilot_3_2_1\MatrixPilot\..\libUDB\fixDeps.vbs" "C:\Users\Jebs laptop\Documents\JebsPICprj\MatrixPilot_3_2_1\MatrixPilot\options.h" "C:\Users\Jebs laptop\Documents\JebsPICprj\MatrixPilot_3_2_1\MatrixPilot\..\libUDB\fixDeps.h"

    Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved.

    Couldn't locate build tool. Check tool locations.

    ----------------------------------------------------------------------

    Release build of project `C:\Users\Jebs laptop\Documents\JebsPICprj\MatrixPilot_3_2_1\MatrixPilot\MatrixPilot-udb4.mcp' failed. Sat May 19 11:40:54 2012

    ----------------------------------------------------------------------

    BUILD FAILED

    Any help would be awesome.  I have 7 of the UDB4 boards and can't use them.

  • Hello,

     

    I am trying to setup a UDB4 for my electric A10 Warthog.  I have the new code downloaded, compiled and installed.  I have all the electronics including the radio and servos setting on my bench.  After powerup I get the double wag of the servo and I believe it's trying to get GPS lock, but since I'm inside it probably can't see the GPS satellites very well (if at all). 

     

    My question is - will I be able to switch on stabilized mode and see the servos try to correct if there is no GPS lock?  As it sits right now, after the initial servo wag (after 10 seconds), the green LED is on, all the radio controls work the servos (through the UDB4), but if I switch on stabilize and move the UDB4 around I don't get any servo movement.  I'm hoping that it's just from the lack of GPS lock.

     

    Any thoughts?  Thanks!

     

    Mark

  • Hi

    I read the matrixpilot code, But I can't figure out what GGAIN is?

      #define GGAIN SCALEGYRO*6*(RMAX*0.025)

    and why multiplying it in 1 in 2.14 format RMAX

    Thanks.

  • Thanks pete

    I am building QuadRotor, and i designed my own control algorithm so all i needed from the code is the DCM algorithm to get the roll, pitch, Yaw angles. I am reading this code

    http://code.google.com/p/matrixpilotheli/downloads/detail?name=MP-Q...

    I have the UAV V2.9 board with

    • MMA7260 three axis accelerometer
    • 3 LISY300AL gyros  

    I have sent for the new board i will receive it after while so for now i have to work with V2.9

    i also need to ask if someone can tell if it is better to build my own kalman filter for the board or it is better to work with DCM.

  • Hello

    i don't understand the purpose of the filtering statement

             xaccel.value = xaccel.value + (( (xaccel.input>>1) - (xaccel.value>>1) )>> FILTERSHIFT ) ;
            xrate.value = xrate.value + (( (xrate.input>>1) - (xrate.value>>1) )>> FILTERSHIFT ) ;
            yaccel.value = yaccel.value + (( ( yaccel.input>>1) - (yaccel.value>>1) )>> FILTERSHIFT ) ;
            yrate.value = yrate.value + (( (yrate.input>>1) - (yrate.value>>1) )>> FILTERSHIFT ) ;
            zaccel.value = zaccel.value + (( (zaccel.input>>1) - (zaccel.value>>1) )>> FILTERSHIFT ) ;
            zrate.value = zrate.value + ((( zrate.input>>1) - (zrate.value>>1) )>> FILTERSHIFT ) ;

    and what is filtershift?

    THaNKS

  • Hi everyone,

         I recently got a UDB4 and am trying to program it for the first time using a Pickit3. I have been following the "UAV DevBoard: Getting Started with PIC Programming" guide but have run into problems when trying to build..... First off I hadn't changed the #define in the options.h which was giving me a failed build. Now however I am getting the following error:

    c:\program files\microchip\mplab c30\bin\bin\..\bin/pic30-coff-ld.exe: cannot find -legacy-libc Link step failed. ---------------------------------------------------------------------- Release build of project `C:\Documents and Settings\Rich\Desktop\MatrixPilot_3_2_1\MatrixPilot\MatrixPilot-udb4.mcp' failed. Language tool versions: pic30-as.exe v3.31, pic30-gcc.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31 Thu Jan 19 10:05:00 2012 ---------------------------------------------------------------------- BUILD FAILED

    Any recomendations? 

    Thanks in advance for any help!

  • Im interested in the UAVDevBoard solely for a camera tracker. Im running a full autopilot on a helicopter and I would like to use the UAVDevBoard as a stand alone unit to track. Can anyone tell me what I'll need to implement it?

    Thanks,

    matt

  • Developer

    @Dave, Hi. Yes, I had that problem once.In MPLAB under "Configure / Select Device", select "dsPIC33FJ256GP710A". Be careful to select the right one ! .
    It will then load the correct libraries for the UDB4.

     

    Best wishes, Pete

    http://once.In/
  • I just ordered a udb4 board. I've installed mplab along with the c30 compiler evaluatation version on two differents computers. When I try to compile the matrixpilotV3.2 for udb4 I get the same error on both computers :

    "../libDCM/../libUDB/libUDB_defines.h:60:22: error: p30f4011.h: No such file or directory"

    I have tried to manually include the p30f4011.h file to the project, no success ?

    Has anyone experience this problem ?

This reply was deleted.

Activity

DIY Robocars via Twitter
Practice virtual race this Saturday; the real thing will be on Oct 3 https://www.meetup.com/DIYRobocars/
yesterday
DIY Robocars via Twitter
yesterday
Derrick Davies liked lisa TDrones's profile
yesterday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Sep 14
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: How this works: 1)object detection to find cones in single camera image, 30 frames/sec on @NVIDIAEmbedded Xavier. 2)comp…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: Use two color cones to guide the robocar. No map needed, on onsite training needed. Just place the cones and it will fol…
Sep 7
DIY Robocars via Twitter
Sep 7
DIY Robocars via Twitter
RT @roboton_io: Great to see http://roboton.io running at 60fps on the cheapest #chromebook we could find! #edtech #robotics #educat…
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Crazy in-depth article about using the OpenMV Cam for Astrophotography: https://github.com/frank26080115/OpemMV-Astrophotography-Gear https://t.co/BPoK9QDEwS
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Hi folks, it's finally here! Our first draft of our Arduino Interface Library is out! It works over SoftwareSerial, Hardware…
Sep 3
DIY Robocars via Twitter
RT @chr1sa: Please let them have an open API. This would be perfect for @DIYRobocars races https://twitter.com/NintendoAmerica/status/1301513099707658246
Sep 3
DIY Robocars via Twitter
RT @SmallpixelCar: Lanenet pretty much used all my GPU power on @NVIDIAEmbedded Xavier since I optimized with tensorRT. I need to run anoth…
Sep 3
DIY Robocars via Twitter
RT @LyftLevel5: Our @kaggle competition on Motion Prediction for Autonomous Vehicles is now live! Experiment with the largest-ever self-dri…
Aug 24
More…