# Command to Take Picture Gazebo Simulated Survey Camera

**URL:** <https://discuss.px4.io/t/command-to-take-picture-gazebo-simulated-survey-camera/27572>\
**Category:** PX4 Autopilot\
**Created:** [May 22, 2022, 2:26pm UTC](https://discuss.px4.io/t/command-to-take-picture-gazebo-simulated-survey-camera/27572 "2022-05-22T14:26:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmstadt](https://discuss.px4.io/letter_avatar_proxy/v4/letter/j/ecccb3/32.png) [@jmstadt](https://discuss.px4.io/u/jmstadt)\
**Post date:** [May 22, 2022, 2:26pm UTC](https://discuss.px4.io/t/command-to-take-picture-gazebo-simulated-survey-camera/27572/1 "2022-05-22T14:26:21Z")

</div>

Hello, I am new to PX4 and Gazebo. But, I have the plane\_cam running in Gazebo by running

```auto
make px4_sitl_default gazebo_plane_cam

```

Per the following instructrions:

> **[Gazebo Simulation | PX4 User Guide](https://docs.px4.io/v1.12/en/simulation/gazebo.html#simulated-survey-camera)**
>
> PX4 is the Professional Autopilot. Developed by world-class developers from industry and academia, and supported by an active world wide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and...

I also see the pictures take are stored in **PX4-Autopilot/build/px4\_sitle\_default/tmp/frames/DSC\_n\_.jpg**

From the px4 console, I can run a `camera_trigger test` and it seems to succeed. I can also take a picture from the gazebo UI and it stores in .gazebo/pictures

But, from the px4 console, how do I instruct the plane\_cam to take a picture?
