Results 1 to 8 of 8

Thread: Trouble compiling PhantomX Hexapod Sketch

  1. Trouble compiling PhantomX Hexapod Sketch

    I recently purchased the PhantomX Hexapod AX12+ kit and I'm trying to get the sketch I downloaded from the products web page to compile. I've done Atmel AVR firmware for several years but only using AVR Studio so I'm new to using the Arduino software. I have arduino-0022 installed and I downloaded the arbotix-0013. I made the arbotix folder my default sketch folder so that the libraries could be directly imported in Arduino and the sketches would show up in the flyout menu.

    I'm going from memory here but the compile errors were all from the ax12.cpp file not finding several register definitions like "UCSR1B". I recognize that as one of the standard definitions for a register in an Atmel AVR processor...serial port I think. So I'm not sure if I missed adding a library into the Arduino directories or what.

    I see this line in ax12.cpp:
    #include "wiring.h" // we need this for the serial port defines
    It looks like this would have been the file to contain the missing definitions but I don't think I got this file with anything I downloaded for the Arbotix or PhantomX Hexapod code.

    Thanks,
    Gil

  2. #2
    Join Date
    May 2008
    Posts
    2,228
    Images
    155
    Rep Power
    126

    Re: Trouble compiling PhantomX Hexapod Sketch

    Did you select the "arbotix" from the drop down menu as your board type in the Arduino IDE? (the default Arduino boards wouldn't have this register, which is the most likely cause of issues if you have a correct installation)

    -Fergs

  3. #3
    Join Date
    Dec 2007
    Location
    Portland, OR
    Posts
    3,198
    Images
    952
    Rep Power
    141

    Re: Trouble compiling PhantomX Hexapod Sketch

    The Arbotix should be pre-programmed btw!

  4. Re: Trouble compiling PhantomX Hexapod Sketch

    No I didn't...that must be it. I'll try that when I get home tonight.

    The only other time I've used the Arduino software was for a sumo I started building for a robotics club at work. It has an ATMega328 and I know I've compiled/downloaded sketches into that. I had help setting up the Arduino software so I don't remember what it was set to.

    Thanks,
    Gil

  5. Re: Trouble compiling PhantomX Hexapod Sketch

    Quote Originally Posted by Tyberius View Post
    The Arbotix should be pre-programmed btw!
    Oh yeah it's already programmed and working great. But my son and I are interested in trying to learn how to use PyPose and make it do other moves so I was trying to compile the original code as a starting point. Plus I wanted to make sure I can program it back to original if we screw it up.

    Thanks,
    Gil

  6. #6
    Join Date
    Dec 2007
    Location
    Portland, OR
    Posts
    3,198
    Images
    952
    Rep Power
    141

    Re: Trouble compiling PhantomX Hexapod Sketch

    Quote Originally Posted by Gilrock View Post
    Oh yeah it's already programmed and working great. But my son and I are interested in trying to learn how to use PyPose and make it do other moves so I was trying to compile the original code as a starting point. Plus I wanted to make sure I can program it back to original if we screw it up.

    Thanks,
    Gil
    That's great to hear, just wanted to make sure you knew that the software setup wasn't holding you back.

  7. #7
    Join Date
    May 2008
    Location
    TN
    Posts
    853
    Images
    99
    Rep Power
    73

    Re: Trouble compiling PhantomX Hexapod Sketch

    I assume you set up the Arduino IDE as described here:
    http://code.google.com/p/arbotix/wiki/GettingSetup
    "If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
    -
    Einstein

    Don't be a HelpVampire

  8. Re: Trouble compiling PhantomX Hexapod Sketch

    Yeah I need to go over that setup page again. I think I skipped over the Arduino section because I already had it installed. I lost my internet at home all day yesterday so I couldn't research what I had done wrong.

    Thanks,
    Gil

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. The Ultimate PhantomX Hexapods and Quadropods thread
    By RobotAtlas in forum Humanoids, Walkers & Crawlers
    Replies: 18
    Last Post: 03-23-2011, 12:15 AM
  2. Project Anansi - a PhantomX hexapod
    By RobotAtlas in forum Project Showcase
    Replies: 11
    Last Post: 12-29-2010, 04:09 PM
  3. PhantomX Hexapod Kits Now Available!
    By DresnerRobotics in forum Humanoids, Walkers & Crawlers
    Replies: 9
    Last Post: 11-25-2010, 03:01 AM
  4. Sneak Peak: InterbotiX PhantomX Hexapod
    By DresnerRobotics in forum Humanoids, Walkers & Crawlers
    Replies: 14
    Last Post: 11-08-2010, 10:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •