# Custom postion control

**URL:** <https://discuss.px4.io/t/custom-postion-control/22394>\
**Category:** PX4 Autopilot\
**Created:** [May 17, 2021, 5:40pm UTC](https://discuss.px4.io/t/custom-postion-control/22394 "2021-05-17T17:40:19Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Huy\_Quang](https://discuss.px4.io/user_avatar/discuss.px4.io/huy_quang/32/8397_2.png) [@Huy\_Quang](https://discuss.px4.io/u/Huy_Quang)\
**Post date:** [October 31, 2021, 4:47pm UTC](https://discuss.px4.io/t/custom-postion-control/22394/9 "2021-10-31T16:47:12Z")

</div>

> [@Custom new position control](https://discuss.px4.io/t/custom-new-position-control/22484):
>
> Hi, I have a few questions about the position control. My goal is implement a new position control (Sliding mode control) instead of PID (P in position and PID velocity and acceleration) May be that not better than PID but i just try for my internship grin[question.pdf](https://discuss.px4.io/uploads/short-url/n51kMqy19IxP0Gr5ZYpTmjNPgS9.pdf) (57.6 KB) Here i draw a diagram of Position control . And the red line is my question Also the value of struct vehicle\_local\_position\_setpoint\_s like float x;\* float y;\* float z;\* float yaw;\* float yawspeed;\* float vx;…

u can see that file pdf , that can have u , an overview

---

_[View the full topic](https://discuss.px4.io/t/custom-postion-control/22394)._
