Software Development questions

1) The SVN seems out of date or unused. Is there a development branch we can sync with?svn checkout http://ardupilot.googlecode.com/svn/trunk/ ardupilot-read-only2) Whats the procedure for patches? Should they be emailed or posted? Diffs?3) Serial ports on Arduino 0017 on Ubuntu Linux seem unstable, is the windows version stable?4) I am working on building a hardware in the loop test system and have GPS data coming out of X-Plane. So, before I get myself any further into this can someone verify my understanding of the NEMA parser?GPGGA Only position fix and altitude are usedGPRMC everything except utc, utc status and date are usedand GPS times out after 2 secondsMy understanding is that none of the other NEMA information is used.I get the impression that long term you only want to support ublox binary protocol. Is part of that due to issues with reproducing bugs and troubleshooting?I would like to see some sort of flight data recorder that can be plugged in to x-plane and the HITL test system to reproduce test cases.5) My GPS emulator right now outputs the exact position (exact in x-plane), Should I even bother emulating error at this point? Is supporting binary GPS formats more important?This looks like some good information on GPS error distribution http://users.erols.com/dlwilson/gpsacc.htm Apparently GPS error has a Rayleigh distribution.

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

Join diydrones

Email me when people reply –

Replies

  • Ok today I am looking at the servo PWM subsystem...
    This afternoon I got the connectors soldered to the ArduPilot and hooked up a scope and it looks like the way the PWM signals are generated is interesting. I went through the source and it looks like...

    Channel 1 and Channel 2 are generated by a hardware PWM generator that gives approximately an effective 9 bit resolution due to the 2us resolution. This uses roughly 0 cpu since everything is in hardware.

    Channel 3 (the throttle) is generated by hitting an interrupt every 8us and running a counter to the right time to flip the i/o line. This give us a 7 bit resolution on the throttle and is drive by an interrupt.

    On the scope it looked like channel 1 and 2 turn on at the same time and from the code it looks like the period for channel 3 is probably different than the period for 1&2.
    It also looks like the capture for flyby wire is driven by the hardware interrupt pins.
    So the ArduPilot does not output PPM compatible PWM signals.

    Does this sound correct?

    If you have the software internals documented somewhere let me know and I can read that instead of asking all these questions.
  • 3D Robotics
    1, 2) Yes, we're noobs with SVN and never got it working correctly. And Jordi doesn't like the whole checkin/checkout process ;-) For now, let's just email patches or post them to the ArduPilot thread. If there are a lot, we'll get SVN working.

    3) Yes, the Windows version of 17 is stable. If you're using Linux and having trouble, stick with 16. ArduPilot works fine with either.

    4) That sounds right. It's been a while since I looked at the NMEA parser (we don't use it anymore), but that's my recollection

    5) Long term, we want one code base and one hardware configuration. Given how many people have the EM406, we'll continue to support that but as soon as we release the uBlox5 combo, we'll make that the recommended GPS. It's too hard to support random combinations of hardware, which spiral into an unlimited number of one-off configuration problems. If people want support, they'll have to use the recommended configurations. (Of course, they're free to use other hardware and software just as long as they don't expect us to debug their setups).

    6) GPS error (other than heading) is not a big problem with uBlox 5
This reply was deleted.

Activity

DIY Robocars via Twitter
Jan 28
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
Jan 23
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
Jan 23
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
Jan 23
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Jan 22
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Jan 21
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Jan 11
More…