Output via serial certain sensor values from Toc

Discussions about all things Bitcraze
Post Reply
colorsound
Beginner
Posts: 6
Joined: Tue Mar 26, 2019 10:43 am

Output via serial certain sensor values from Toc

Post by colorsound » Sat Apr 06, 2019 12:04 pm

Hello Guys,

could you point me how could i output only certain values available in the toc via serial , like outputting just the estimate position , estimate orientation , temperature pressure ? , one or all this values via serial , but just the values itself without any other CF data .

thanks.



tobias
Bitcraze
Posts: 1916
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Output via serial certain sensor values from Toc

Post by tobias » Wed Apr 10, 2019 7:43 am

I don't think that would be to difficult to do. The log values you can read though the logging API, example here. Then use one of the UART1/UART2 drivers to write it out.

colorsound
Beginner
Posts: 6
Joined: Tue Mar 26, 2019 10:43 am

Re: Output via serial certain sensor values from Toc

Post by colorsound » Thu Apr 11, 2019 8:50 pm

Thanks we, ll try that.

Post Reply