# EKF API Text Output

**URL:** <https://discuss.px4.io/t/ekf-api-text-output/7263>\
**Category:** Uncategorized\
**Created:** [July 24, 2018, 9:05pm UTC](https://discuss.px4.io/t/ekf-api-text-output/7263 "2018-07-24T21:05:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabianaj](https://discuss.px4.io/letter_avatar_proxy/v4/letter/f/8edcca/32.png) [@fabianaj](https://discuss.px4.io/u/fabianaj)\
**Post date:** [July 24, 2018, 9:05pm UTC](https://discuss.px4.io/t/ekf-api-text-output/7263/1 "2018-07-24T21:05:25Z")

</div>

@Paul_Riseborough

This question is for a non-PX4 flight controller which is using the ECL EKF by creating an Ekf() object and using the methods in estimator\_interface.h.

Any suggestions for how to connect ECL\_INFO / ECL\_WARN / ECL\_ERR to a function I control?

It looks like they’re macro’d to either printf or PX4\_INFO, etc…

If I create the appropriately-named functions and my own header called px4\_log.h, would that work? How would I get that header into the build script? I’m trying to do this without touching any files under ecl, so that I can continue to pull updates without worrying about local changes.

Also a final question - do you know of any other universities that are using the ECL outside of PX4? I’d like to track down their grad students and compare notes.

Andy

---

<div class="post-metadata">

**Author:** ![Paul\_Riseborough](https://discuss.px4.io/user_avatar/discuss.px4.io/paul_riseborough/32/4255_2.png) [@Paul\_Riseborough](https://discuss.px4.io/u/Paul_Riseborough)\
**Post date:** [July 24, 2018, 10:11pm UTC](https://discuss.px4.io/t/ekf-api-text-output/7263/2 "2018-07-24T22:11:48Z")

</div>

I’m not the right person to be asking about build scripts - my programming knowledge doesn’t extend that far.

In the past we had contact from some researchers from Delft TU who were working on integrating it into their flight stack.
