How can I program Pixhawk?

Hi everyone!

I'm a software engineering student and my graduation project deals with programming a software for obstacles avoidance for a 3DR Pixhawk based drone.

Soon I'm going to have the Lidar-Lite 2 sensor I ordered for this, and now i'm starting to figure out how am I suppose to work with it, and this is where I need your help.

I have so many questions that i'm sure some of you would be able to answer and it goes like this:

1) What is the needed IDE for programming such a thing?

2) Which working environment do I need for this? Windows/Linux/doesn't matter? if linux, is it possible to work with VMWare?

3) If you familiar with an example code for the Lidar-Lite2 sensor which works with the Pixhawk and can direct me to it - would be fantastic.

4) Which softwares do I need in general for this? I know of Mission Planner which can be used for reading the data from the sensor and plan missions, but I have no idea what really can be done with this program.

If you need more information to give proper answer please tell me, because i'm not sure and too much into all the details in the project (I'm taking only one part in the big picture).

Thank you very much in advance,

Ben

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

Join diydrones

Email me when people reply –

Replies

  • Hi Ben, I am also implementing the similar setup. Could you please share any more information you found on this.

  • no, don't mind that.

    ESXi and such are references to VMWare servers that may run your VM , it's in case you planned to develop in an datacenter, using great power, compiling anything from clean in seconds.  Then you could redirect local USB devices to connect to that, or connect hardware to server, but none of those are completely painless.

    So by your response, I "know" will be using VMWare Player or VMWare Workstation, and it will work just fine - and you will be able to connect the USB devices (Pixhawk, radios,FTDI or anything else you may need) just fine.

  • 1,2  :  Most programmers here (by far, I think) are using Linux, that goes the least troublesome building, and greatest options when you want to build for other  /even more powerful hardware.  - and yes, you can run it in VMware, (even it may not make much sense if you have a inefficient windows to run the VMware Workstation)

    (I say workstation, because VMWare ESX based stuff will have hard time with the USB ports)

    3 - you will soon discover, I think :)

    4: for custom sensors, you'll find MavProxy much more meaningful than mission planner.

    Start here: http://dev.ardupilot.com/wiki/building-px4-for-linux-with-make/

    - observe that ardupilot.com is really the site for what you want to do..

This reply was deleted.

Activity

gotham liked gotham's profile
6 hours ago
DIY Robocars via Twitter
RT @RoboticMasters: Monaco GP Circuit in the Donkey Sim (coming soon). Including buildings, tunnel and all! https://github.com/robotics-masters/sim-donkeycar-f1/tree/f1-tracks @diyr…
yesterday
DIY Robocars via Twitter
RT @breadcentric: Here are the details of #AWSDeepRacer finals: https://blog.deepracing.io/2020/12/01/aws-deepracer-league-finals-2020-round-1-schedule/ #awsreinvent2020 #AWSreInvent https://t.co/ovqsjp8V…
yesterday
DIY Robocars via Twitter
RT @breadcentric: #AWSDeepRacer League #awsreinvent2020 Open race is on Dec 1st - Dec 31st in three categories, 15 DeepRacer Evo (with LIDA…
yesterday
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars It's just something that's easy to track with chroma keying. I ended up using different colors on th…
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Nov 23
DIY Robocars via Twitter
Nov 23
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
More…