<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38451/nrf52-quadcopter-pid-question</link><description>Hello. 
 I almost finish nrf52-quadcopter develop. 
 I want fly drone with mobile. 
 I want to confirm PID value from minum to maxium in mobile. 
 and I want to confirm your PID value. 
 Roll - rate 
 P: I: D: 
 Roll - attitude 
 P: I: D: 
 Pitch - rate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Sep 2018 07:02:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38451/nrf52-quadcopter-pid-question" /><item><title>RE: nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/thread/149746?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 07:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10c4dea-61d4-4722-bb6d-5032f243e769</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems that the gyro &amp;amp; accelerometer might not be calibrated correctly. When you press the &amp;quot;calibrate quadcopter&amp;quot; button, only the offset is adjusted. It does not run a complete calibration. I would calibrate both the gyro &amp;amp; accelerometer correctly &amp;amp; then also tune the regulator if necessary.&lt;/p&gt;
&lt;p&gt;I would also take a closer look at the calibration code &amp;amp; how the regulator inputs are scaled.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/thread/149096?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 15:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a15c442d-c145-4c44-acdf-23f28dbcc610</guid><dc:creator>Yoojin.Jang</dc:creator><description>&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;I was using the physical web &amp;amp; bluetooth web api to control the drone.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;rate mode is joystick throttle OK.&amp;nbsp;six-axis sensor is OK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;so&amp;nbsp;The drone well fly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;but attitude mode is joystick throttle not OK.&amp;nbsp;Unconditionally motor is 100% on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1. Bluetooth connection will receive the PID&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1537230940042v3.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;2. calibarate click after controller mode is Rate mode.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1537230920486v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;3. According to the first data- 23 of the send joystick, the motor also operates as 23.&lt;br /&gt;Because of the capture, please understand that the joystick movements and values are different.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1537230890396v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;4. &lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;calibarate click after controller mode is Attitude mode.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1537231438165v4.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;The joystick operation is the same as the data in Figure 3&lt;/div&gt;
&lt;div&gt;However, the motor operates at 100%&lt;br /&gt;maybe do not read the throttle value&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/thread/148968?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 09:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb0526c8-453d-4420-ba8d-9b0248bd72e5</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Are you using the physical web &amp;amp; bluetooth web api to control the drone? Are you sure that the accelerometer has been initialized correctly? Could it be that the accelerometer is thinking the quadcopter is not balanced? Have you tried debugging the drone to see if there is anything weird going on? Could you please upload the log to devzone?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/thread/148714?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 04:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e86a819-ea8c-4a14-a5d1-fa5b6bc95db6</guid><dc:creator>Yoojin.Jang</dc:creator><description>&lt;p&gt;thank you for your support.&lt;/p&gt;
&lt;p&gt;I test drone about basic PID.&lt;/p&gt;
&lt;p&gt;The 2,3 motor runs full when the joystick is only 1 raised from the smartphone.&lt;/p&gt;
&lt;p&gt;And if you move the drone, it looks like a six-axis sensor.&lt;/p&gt;
&lt;p&gt;The joystick increases by 1 or increases by 255, but works unconditionally at max. Is this also a bug?&lt;br /&gt;Do you have any corrective points?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/thread/148543?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 08:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b51c9d2-5408-4603-b245-a687c87d7195</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Depending on which motors &amp;amp; parts you are using, you will most likely need to tune the values a bit. I have talked to the developers &amp;amp; they said that the code can be quite buggy at times. For example, you cannot expect the same behavior when uart logging is turned off compared to when it is on.&lt;/p&gt;
&lt;p&gt;If you make changes to the code that could introduce more delay in the system, this could affect the performance of the quadcopter.&lt;/p&gt;
&lt;p&gt;You will most likely need to tune the values yourself to find the best values for your specific HW. The values given in the header file should be able to give you a good starting point. Hope that helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/thread/148416?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 12:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f320b24-8321-4390-8ee2-dd64c99e6b23</guid><dc:creator>Yoojin.Jang</dc:creator><description>&lt;p&gt;thank you for your support.&lt;/p&gt;
&lt;p&gt;I was find pid.h header file.&lt;/p&gt;
&lt;p&gt;but my drone not well fly about basic pid setting.&lt;/p&gt;
&lt;p&gt;so I want to confirm minium ~ maxium value.&lt;/p&gt;
&lt;p&gt;I want to test my drone with smartphone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-quadcopter PID question.</title><link>https://devzone.nordicsemi.com/thread/148390?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 11:33:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4af90769-a1c0-42f6-9d9e-55aaf1ec3320</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you taken a look at the pid.h header file? There you can see the default PID values for the different axis. I will double check with the developer to see if these values were changed at all via the smartphone.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>