Skip to content
November 13, 2010 / ygramulqc

Some kind of “hardware in the loop”

Today I did my first “HIL-Test”. Ok, a real “Hardware in the loop” might be a little bit more complex. 😉

What I did was to connect my Quadrocopter with two serial interface to my computer. With the first connection I get the quadrocopter internal information to the mac. On the second connection – normally – a gps receiver can be connected to the quadrocopter. Now I implemented a gps simulation on my mac and put these simulated gps data to the quadrocopter. The first connection is now used to see, if the quadrocopter use the gps information in a correct way.

Now I see that this works and on the next step I can check if calculating the home position or the next waypoint is correct. The nice thing is, that the gps simulation allow to get me a moving position without a time-consuming and risky testflight. The other point is, that winter time is not very nice for outdoor tests. 😉

OSPGroundControl to visualise quadrocopter data and GPSParser to simulate GPS

X-BL Quadrocopter with OSP Firmware and two serial connections to the Mac

All the code – simulation, quadrocopter firmware and data visualisation – is available on the subversion repository on the project website (http://sourceforge.net/p/opensourcepilot/).

Advertisements

2 Comments

Leave a Comment
  1. marcz / Nov 16 2010 8:47 pm

    Super nice job Martin!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: