Source code modification adding sensors-thrusters

Hello guys,

the time to modify my BR2 has come so I want to add some sensors to the BR2, I´m not such a newbie in coding but I need some help with this:

I just want the path to follow on how can I modify the code to add some sensors lets say some of this or this or another Thruster.

how or where can I see the source code? Can anybody give me an idea of this?

Regards,
Luis

1 Like

Hi @luisgamez , you can get links to all of the source code here.

I think these sensors would be good to add to the Pixhawk by UART. It would also be possible to add them to the Raspberry Pi.

I can help you write some drivers for them. An example to look at would be the NMEA GPS driver.

I wrote an I2C driver for the conductivity sensor:

Hey @jwalser

Thank you so much! I will take a look.

Regards,
Luis Gamez

hey @jwalser

Can you please show me how can I add to the code another Motor like another M100?,

I am building a rotary screw gripper with one of the M100s but I need to know where can I add it to the code.

Regards,
Luis

Hi Luis,

Please join the developer chat, and we can get you in the loop there.