"YES you were right!
Everything works fine now. Thank you very much.
To summarize it:
- I commented out this lines in the code (ArduCopter 3.2) to enable UartE (Serial 4) on pixhawk.
// HAL_PX4_Class.cpp : l. 292-301 // AP_GPS.cpp :…"
"Thank you!
Today I searched through the code and commented out the appropriate lines. Tomorrow I´ll give it a try. I´m curious and sure that it will work now.
I´ll keep you up to date.
Cheers!"
"Thank you Chris!
I´m using ArduCopter 3.2.
I found in ArduCopter > system.pde (l.106 - 110)
and in ArduCopter > ArduCopter.pde the same (l. 15468 - 15472)
"Hi Chris,
its me again. I finally got the serial connection to pixhawk almost working but there is a little bug with the pixhawk port. Can you please have a short look at my thread.
Pixhawk custom sensor Integration
I think you already solved this…"
"Hi James,
can you please have another look at my thread.
pixhawk custom sensor Integration
Your code helped me a lot but there is an little remaining problem with reading the serial data into pixhawk. I think you already solved this problem too.…"
"I´m in big trouble !!!
Hi everyone, I added and changed the code like James told above. If I start the pixhawk there are only some bytes coming into the serial port. But these are not the bytes beeing sent from the sensor. There are only some random…"
"Thank you Andre!
I finally solved my problem. To summarize it:
- first I checked out ArduCopter 3.2 as you explained
- then I checked out PX4Nuttx version 3.2
- as I tried to check out version 3.2 on PX4Firmware it failed (I also tried to change the…"
"Thank you very much James!
It´s quite a long time ago since I joint this thread but now I´ll work further on my drone.
I´m really sorry but at the moment I´m not allowed to tell any details about the sensor.
Maybe you would like to have a look at my…"
Hi everyone,I´ve got some problems with compiling and uploading ArduCopter on Pixhawk. In the past I did some code modification and compiled with eclipse successfully. If I download arducopter, PX4Nuttx and PX4Firmware directories from Github,…
"Hi James,
great job thanks again!!!
The last days a played around with your code and modified it for my needs. Finally I got it working quite good. The code below could be used to process serial data in form of:
xxx,-111.11,+222.22,-333.33,x,xxx<LF>…"
"Hi James,
that sounds good and is exactly what I want to do. Yes you are right it is quite difficult to find the best place for mounting the sensor. I did some cfd simulations on this and I can tell you that on the upper side of the copter there is…"
"Rai,
ok im really interessted in your files as they will help me a lot.
Yes i know how to compile the code and have the toolchain installed. I played around with eclipse quite much trying to modify the px4 firmware for my needs without success.
But…"
"Chris,
great that sounds very good. Can you please specify this a little bit? Esspecially which file(s) you talk about out of the ArduCopter code. I´m a mechanical engineer so this programming stuff is quite hard for me. : P
Is it possible to add…"
"Hi Rai,
at the moment I am in trouble with my pixhawk and reading data from a custom sensor. I think you managed problems like this already. Could you please have a short look at my problem ???
Pixhawk custom sensor Integration
"Hi Chris,
Pixhawk custom sensor Integration
as I read from your comments you solved the problem I have at the moment. Could you please have a short look at my thread ???
Thanks in advance and kind regards!!!
Marvin"