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

Chris Anderson liked Zara Mae Pickering's profile
May 21
Azjeg liked Azjeg's profile
Apr 27
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
More…