# Mavgen.py to translate, but how?

**URL:** <https://discuss.bluerobotics.com/t/mavgen-py-to-translate-but-how/2126>\
**Category:** Blue Robotics Software\
**Created:** [February 6, 2018, 10:30am UTC](https://discuss.bluerobotics.com/t/mavgen-py-to-translate-but-how/2126 "2018-02-06T10:30:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![patrickelectric](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/patrickelectric/32/2162_2.png) [@patrickelectric](https://discuss.bluerobotics.com/u/patrickelectric)\
**Post date:** [February 6, 2018, 12:24pm UTC](https://discuss.bluerobotics.com/t/mavgen-py-to-translate-but-how/2126/2 "2018-02-06T12:24:12Z")

</div>

> [@swagsquad](#):
>
> Then i get a lot of random characters as shown in the picture.

You are receiving this _random characters_ because a second process is using the serial port, probably is the companion mavproxy that creates a bridge between /dev/ACM0 to udp:192.168.2.1:14550 for QGC.

> [@swagsquad](#):
>
> I read that you had to use the mavgen.py to use the data of random characters, but how do I do that?

If you want to get information from the mavlink protocol, you can use the QGC .tlog files, usually they are in `Documents/QGroundControl/Telemetry`.  
An example of how to use the .tlog files to get an accessible information:

```auto
mavlogdump.py 2018-01-02\ 22-48-02.tlog --format csv --types ATTITUDE 

```

For any further questions check the [mavproxy](https://gitter.im/ArduPilot/MAVProxy) and [pymavlink](https://gitter.im/ArduPilot/pymavlink) gitter channels.

---

_[View the full topic](https://discuss.bluerobotics.com/t/mavgen-py-to-translate-but-how/2126)._
