Developer

PixRacer with Ardupilot

This is a discussion to focus the feedback and support of ardupilot on the PixRacer board from AUAV.co.

We believe that all teething problems encountered are now resolved and so we recommend people load Copter-3.3.4 which is available for all multicopters through the Mission Planner's (and other GCS's) Install Firmware screens.  Note that because regular Pixhawks are still on Copter-3.3.3 the install icon may show Copter-3.3.3 but rest assured, Copter-3.3.4 will be installed (you can check the version by looking at the very top of the Mission Planner).

3691274249?profile=original

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

Join diydrones

Email me when people reply –

Replies

  • Thanks Otto

    I know about PixRacer GPS port pinouts. I made a special cable for Pixracer GPS Port, so I can connect GPS and PX4FLOW module. I tried connect i2c external led. It's work fine. I think cable don't have any problem.

    Can I use nsh mode to get list of connected i2c devices?

  • @Denis,

    The description (5V,SCL,SDA,GND) ist a I2C Port on Pixhawk 4 pins, The GPS is connected to a serial Port (RX,TX) on Pixhawk or Pixracer 6 pins. On Pixracer the GPS Port is combined with RX/TX and SCL,SDA on a 6 pin connector.



    Denis said:

    Thanks Marcell

    Today I tried connect PX4FLOW to a GPS port (5V, SCL, SDA, GND)
    I use this manual: http://ardupilot.org/copter/docs/common-px4flow-overview.html?highl...

    Parameters:
    FLOW_ENABLE = 1
    LOG_BITMASK = 131071

    My problem is that dataflash logs not contained OF message’s

  • Thanks Marcell

    Today I tried connect PX4FLOW to a GPS port (5V, SCL, SDA, GND)
    I use this manual: http://ardupilot.org/copter/docs/common-px4flow-overview.html?highl...

    Parameters:
    FLOW_ENABLE = 1
    LOG_BITMASK = 131071

    My problem is that dataflash logs not contained OF message’s

    PX4FLOW Optical Flow Camera Board — Copter documentation
  • Hi Denis,

    By the release notes, it should work, at least on an experimental level.

    See https://github.com/ArduPilot/ardupilot/blob/master/ArduCopter/Relea... 

    I wish i could answer this question based on practical experience with px4flow ;)


    Denis said:

    Can I use PX4FLOW with a PixRacer(AC3.3.4)?

    ArduPilot/ardupilot
    ArduPlane, ArduCopter, ArduRover source. Contribute to ArduPilot/ardupilot development by creating an account on GitHub.
  • Can I use PX4FLOW with a PixRacer(AC3.3.4)?

  • Status update. Seems the issue is introduced in px4firmware. Baro and accep seems to be conflicting. After a few try starting /reseting baro, it starts providing data, but accel stops working (mpu6000). Reproducible with px4 latest beta and master and 3.4rc1 and master. Havent find any related commit yet. (This is still the ugly clone. Genuine is on its way to me)
  • When I'm setting HIL_mode to 1 and restart my Pixracer, my radio is not recognized anymore?!?

  • Wow, thank you very much! Excactly what I was looking for. :)

  • Developer

    @Tobias,

    Pixracer is a FMUv4 board, so you need "make px4-v4" instead.

    Note that you don't need a special firmware for HIL in plane, just set the HIL_MODE parameter to 1 in a normal firmware.

    Also, HIL isn't really very good for simulation, SITL is much better. For planes you may like to look at a posting I did recently on using SITL with X-Plane 10:

    http://ardupilot.org/dev/docs/sitl-with-xplane.html

    Cheers, Tridge

    Using SITL with X-Plane 10 — Dev documentation
  • Hi, what command do I need to make a firmware for Pixracer? With make px4-v2 and trying to write the firmware to the Pixracer, MP tells me, an Error: Firmware not suitable for this board.

    In fact, I'm trying to make a HIL-firmware to play a bit around with missions, without risking my plane or copter. :)

    Kind regards

    Tobias

This reply was deleted.

Activity

DIY Robocars via Twitter
Sunday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
Saturday
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…