Hi,Im completely new to pixhawk (i did only some research on the question i am asking). I want to make a dogfighting-lasertag system on multiple drones, where one drone shoots IR beam on the other and when the otger gets hit it will stop and slow down the control (something like podracing with shooting)... I have advanced knowledge on "sensors and arduino" so my though was to connect an I/O expander to the I2C pins. To the I/O pins will be connected a box that will sense the hit by the laser (so: laser hits IR sensor on external box that is connected to I/O expander on the I2C pins which is going to command the pixhawk to "autolevel", stop and slow down the control. So, is this realistic? Isnt there other way? If its ok, how to program the pixhawk to do those tasks?
You need to be a member of diydrones to add comments!
Sounds like a cool idea and I am sure it is realistic. Be prepared to be persistent.
Your first step in programming the Pixhawk is to get the toolchain up and running and use it to build the firmware for your board. In some ways that is the trickiest part
Replies
@Webstrider,
Hi,
Sounds like a cool idea and I am sure it is realistic. Be prepared to be persistent.
Your first step in programming the Pixhawk is to get the toolchain up and running and use it to build the firmware for your board. In some ways that is the trickiest part
http://ardupilot.org/dev/docs/building-the-code.html
Once successful with that part then I would suggest reading the whole wiki section
http://ardupilot.org/dev/index.html
At that point you could try buidling and modifyng some examples
http://ardupilot.org/dev/docs/learning-ardupilot-the-example-sketch...
There are various ways from there. You could try simulating your system using SITL for example
http://ardupilot.org/dev/docs/simulation-2.html
before trying it out on real planes, but that is ony one way forward