# Sample code to run in QGC

**URL:** <https://discuss.bluerobotics.com/t/sample-code-to-run-in-qgc/2032>\
**Category:** Blue Robotics Products\
**Created:** [January 19, 2018, 6:41pm UTC](https://discuss.bluerobotics.com/t/sample-code-to-run-in-qgc/2032 "2018-01-19T18:41:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vatsal\_shah](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vatsal\_shah](https://discuss.bluerobotics.com/u/vatsal_shah)\
**Post date:** [January 19, 2018, 6:41pm UTC](https://discuss.bluerobotics.com/t/sample-code-to-run-in-qgc/2032/1 "2018-01-19T18:41:07Z")

</div>

Can you’ll provide a sample code and list of commands to send to Bluerov2 from mavlink command line in QGroundcontrol.

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [January 19, 2018, 8:02pm UTC](https://discuss.bluerobotics.com/t/sample-code-to-run-in-qgc/2032/2 "2018-01-19T20:02:44Z")

</div>

Hello, there is no ‘mavlink command line’ in QGroundControl.

You can check out MAVProxy and pymavlink. There are a lot of [posts](http://discuss.bluerobotics.com/t/autonomous-bluerov2-mavlink-ardusub-help/1761/2) on this forum about these programs and what you can do with them

---

<div class="post-metadata">

**Author:** ![vatsal\_shah](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vatsal\_shah](https://discuss.bluerobotics.com/u/vatsal_shah)\
**Post date:** [January 20, 2018, 4:58am UTC](https://discuss.bluerobotics.com/t/sample-code-to-run-in-qgc/2032/3 "2018-01-20T04:58:55Z")

</div>

There is a mavlink console in qgroundcontrol

 ![image](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/2X/1/10b2c47ae556dee50944c1b189d7d03b94b253d0.png)

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [January 23, 2018, 4:45pm UTC](https://discuss.bluerobotics.com/t/sample-code-to-run-in-qgc/2032/4 "2018-01-23T16:45:32Z")

</div>

This console is a system shell for the operating system that ardupilot runs on. This shell doesn’t have anything to do with mavlink, the name is a little bit misleading. The data is passed back and forth between the OS and the QGC console via mavlink, but the association ends there.
