<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.5">Jekyll</generator><link href="https://notos-robomaster.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://notos-robomaster.github.io/" rel="alternate" type="text/html" /><updated>2024-04-15T11:45:36+00:00</updated><id>https://notos-robomaster.github.io/feed.xml</id><title type="html">notos-robomaster Introduction</title><subtitle>This is the website of notos-robomaster Team, author Gavin Lee</subtitle><entry><title type="html">Markdown basic gramer</title><link href="https://notos-robomaster.github.io/jekyll/update/2024/04/14/basic-markdown-grammer.html" rel="alternate" type="text/html" title="Markdown basic gramer" /><published>2024-04-14T22:16:46+00:00</published><updated>2024-04-14T22:16:46+00:00</updated><id>https://notos-robomaster.github.io/jekyll/update/2024/04/14/basic-markdown-grammer</id><content type="html" xml:base="https://notos-robomaster.github.io/jekyll/update/2024/04/14/basic-markdown-grammer.html"><![CDATA[<h1 id="南風notos-github文章使用基础语法基于markdown">南風NOTOS github文章使用基础语法（基于markdown）</h1>
<p><strong>创建.md文档,打开同步预览功能，开始编辑</strong>
###二、 基本语法</p>
<ol>
  <li>
    <p><strong>标题</strong>
 #一级标题
 ##二级标题
…</p>
  </li>
  <li><strong>引用</strong>
    <blockquote>
      <p>编辑这类教程文档很好用!
 #&gt; 即可打开引用，常用在代码上</p>
    </blockquote>
  </li>
  <li><strong>列表</strong>
    <ol>
      <li>无序列表
        <ul>
          <li>列表1</li>
          <li>列表2</li>
          <li>列表3</li>
        </ul>
      </li>
      <li>有序列表</li>
      <li>嵌套</li>
      <li>TodoList
        <ul class="task-list">
          <li class="task-list-item"><input type="checkbox" class="task-list-item-checkbox" disabled="disabled" checked="checked" />a</li>
          <li class="task-list-item"><input type="checkbox" class="task-list-item-checkbox" disabled="disabled" />b</li>
          <li class="task-list-item"><input type="checkbox" class="task-list-item-checkbox" disabled="disabled" />c</li>
        </ul>
      </li>
    </ol>
  </li>
  <li>
    <p><strong>表格</strong>
 | 左对齐 | 居中对齐 | 右对齐 |
 | :—– | :—-: | —-: |
 | a | b | c |</p>
  </li>
  <li><strong>段落</strong>
    <ul>
      <li>换行？ —— 两个以上空格后回车/空一行</li>
      <li>分割线 —— 三个*
  ***</li>
      <li>字体
  | 字体 | 代码 |
  | :–: | :–: |
  |<em>斜体</em>|* <em>|
  |==高亮==|== ==|
  |<strong>粗体</strong>|** <strong>|
  |</strong></em>粗斜体<strong><em>|</em></strong> ***|
  |<del>删除</del>|~~ ~~|
  |<u>下划线</u>|<code class="language-plaintext highlighter-rouge">&lt;u&gt; &lt;/u&gt;</code>|
        <ul>
          <li>脚注
少年共创荣耀，青春比翼南風[^1]!
[^1]:南風队训</li>
        </ul>
      </li>
    </ul>
  </li>
</ol>

<p>6.<strong>代码</strong>
    <code class="language-plaintext highlighter-rouge">
   #include&lt;iostream&gt;
   using namespace std;
   int main(){
    print("hello world");
   }
   </code>
    <code class="language-plaintext highlighter-rouge">printf("hello world");</code></p>

<p>7.<strong>超链接</strong>
    [直接将链接放置在方括号内]:https://www.bilibili.com/video/BV1Su4y1y7k9/?spm_id_from=333.337.search-card.all.click&amp;vd_source=59e8703ee442d8783ded7322b6c338ef</p>

<p>###三、 其他操作</p>
<ul>
  <li><strong>插入latex</strong>
    <ul>
      <li>行内显示公式：
  $f(x)=ax+b$</li>
    </ul>
  </li>
  <li>块内显示数学表达式:
    \(\begin{Bmatrix}
    a &amp; b \\
    c &amp; d
    \end{Bmatrix}\)</li>
  <li><strong>html/css语法</strong>
    -ctrl+shift+p 搜索
    “Markdown Preview
    Enhanced:Customize CSS”
    在style中使用css语法改标题格式等</li>
  <li><strong>个性化设置</strong>
    File-Preferences-Settings</li>
</ul>]]></content><author><name>GentaLee</name></author><category term="jekyll" /><category term="update" /><summary type="html"><![CDATA[南風NOTOS github文章使用基础语法（基于markdown） 创建.md文档,打开同步预览功能，开始编辑 ###二、 基本语法 标题 #一级标题 ##二级标题 …]]></summary></entry><entry><title type="html">competition matters and debugging methods</title><link href="https://notos-robomaster.github.io/jekyll/update/2024/04/14/competition-matters.html" rel="alternate" type="text/html" title="competition matters and debugging methods" /><published>2024-04-14T21:54:46+00:00</published><updated>2024-04-14T21:54:46+00:00</updated><id>https://notos-robomaster.github.io/jekyll/update/2024/04/14/competition-matters</id><content type="html" xml:base="https://notos-robomaster.github.io/jekyll/update/2024/04/14/competition-matters.html"><![CDATA[<h1 id="备赛物资最少">备赛物资（最少）</h1>

<table>
  <tbody>
    <tr>
      <td>电烙铁*2</td>
      <td>Xt30*5（3公母1公公1母母）</td>
      <td>哨兵底盘分电板*1</td>
      <td>全向底盘分电板*1</td>
      <td>Xt30公母头*一袋</td>
      <td>红黑线*一捆</td>
      <td>Can线*一盒</td>
      <td>锡*一卷（剩余较多的）</td>
      <td>焊台</td>
      <td>热缩管*一捆（红，黑，蓝，小黑）</td>
    </tr>
    <tr>
      <td>Can锁扣*一卷</td>
      <td>电池*4</td>
      <td>A板（若有备用）</td>
      <td>公母头杜邦线（以防万一软件线出问题）<em>4根 ｜ 航空线</em>一捆</td>
      <td>香蕉头*一袋</td>
      <td>胶枪*1</td>
      <td>胶棒*一袋</td>
      <td>热风枪*1</td>
      <td>电表*2</td>
      <td>4pin线（不带卡扣）*3</td>
    </tr>
  </tbody>
</table>

<h1 id="紧急情况备忘录">紧急情况备忘录</h1>
<ul>
  <li>A板无供电但其余皆有供电——A板供电线断或烧</li>
  <li>
    <p>单摩擦轮不转——检查电调状况，若灯正常，为电调至摩擦轮或者电调至分电板can线断或烧，若灯灭，检查电调与分电板之间供电线</p>
  </li>
  <li>
    <p>双摩擦轮不转——灯正常亮（不太可能，除非两个can全烧或者断）同单摩擦轮，灯不亮，在单摩擦轮基础上再检查电源管理-底盘分电板-云台分电板的ammo供电线（哨兵检查云台中多根电调线是否有断开）</p>
  </li>
  <li>拨弹盘无反应——灯正常亮，拨弹盘-A板can断或烧（全向，其他车是电调-云台分电板），灯不亮，检查拨弹盘电调到云台分电板</li>
  <li>
    <p>Pitch’轴电机无反应——若灯正常，检查电机-云台分电板的can线，若灯不亮，则检查电机-分电板供电线</p>
  </li>
  <li>
    <p>Yaw轴电机无反应——同pitch轴，但其中云台分电板换为底盘分电板。如果6020电机正常亮的话，检查软件方面是否can给了控制信号，如果给了控制信号但是电机还是不动的话，debug看6020有没有反馈数据，如果没有反馈数据则可能是can线废掉了。</p>
  </li>
  <li>
    <p>云台全部无反应——灯正常，就是云台分电板到A板can线断或烧（全向拨弹盘为直接A板例外），灯不亮，滑环供电或者电源管理到底盘分电板香蕉头断或烧</p>
  </li>
  <li>
    <p>云台部分无供电——电源管理-底盘分电板-滑环有线断或者烧</p>
  </li>
  <li>
    <p>底盘四轮无反应——检查底盘-滑环-A板can线，灯正常亮</p>
  </li>
  <li>
    <p>单轮无反应——检查轮-底盘分电板的can或者供电线（通过电调是否亮灯判断）</p>
  </li>
  <li>
    <p>裁判系统部件无反应——检查电源管理至其本身的航空线是否脱落（要不是脱落而是断或烧就遭老罪了）若装甲板无反应，检查四板之间的连接线有没有脱落</p>
  </li>
  <li>
    <p>全车发癫——若电调灯颜色不正常，可能是can线1和2接反，若全车正常仍然发癫，我只能说是软件高端局</p>
  </li>
  <li>软件检查电机不转的方法：先让硬件确认接线无误之后。再检查代码上面是否有can发送控制电机的信号，如果确认没有问题，进debug检查是否有收到电机反馈的数据，</li>
  <li>如果没有数据可能是:
<em>①can线没了</em> 
<em>②是代码这边can口没有和硬件那边对上</em>
<em>③电机的id没有和代码上面的id对应上</em>
<em>④一开始没有设置电机上面的id</em></li>
</ul>

<h1 id="pid的调试方法">PID的调试方法</h1>
<h3 id="建议先调pitch轴的pid因为相对于yaw轴会好调一些">建议先调pitch轴的PID，因为相对于YAW轴会好调一些</h3>
<p><em>下面是以先调Pitch轴电机的PID的例子</em></p>

<ol>
  <li>先把can控制yaw轴电机的数据给0</li>
  <li>进入debug里面，把对应的PID拖到watch里面来</li>
  <li>一开始先把速度环和角度环的I和D都给到0</li>
  <li>先给定一个适中的角度环的P值（因为速度的设定值是由角度环的PID计算所得到）</li>
  <li>再给一个适中的速度环的P值（这个P值一直调试到你觉得它比较硬，但是又不会很抖的情况）</li>
  <li>如果云台始终达不到设置的角度值的话，给大点速度环的i（i建议给的话是零点几的给），给大了i云台相对于之前会更加抖。</li>
  <li>上面的内容都调试好之后可以适当的给点角度环和速度环的d值（d值如果给太大的话会出现超调的情况）。</li>
  <li>Yaw轴电机的调试同上面
    <h5 id="注意如果调试过程中电机出现发烫烫手的情况马上停止调试让电机降温之后再进行调试">注意如果调试过程中电机出现发烫，烫手的情况，马上停止调试，让电机降温之后再进行调试。</h5>
    <h5 id="其中自瞄的pid相对于其他模式下的pid会出现自瞄模式的i值会比较大的情况">其中自瞄的PID相对于其他模式下的PID会出现自瞄模式的I值会比较大的情况。</h5>
  </li>
</ol>]]></content><author><name>CHENqg</name></author><category term="jekyll" /><category term="update" /><summary type="html"><![CDATA[备赛物资（最少）]]></summary></entry><entry><title type="html">joint parameter tuning guide!</title><link href="https://notos-robomaster.github.io/jekyll/update/2024/03/26/joint-parameter-tuning-guide.html" rel="alternate" type="text/html" title="joint parameter tuning guide!" /><published>2024-03-26T18:13:26+00:00</published><updated>2024-03-26T18:13:26+00:00</updated><id>https://notos-robomaster.github.io/jekyll/update/2024/03/26/joint-parameter-tuning-guide</id><content type="html" xml:base="https://notos-robomaster.github.io/jekyll/update/2024/03/26/joint-parameter-tuning-guide.html"><![CDATA[<h1 id="聯調指南">聯調指南</h1>

<hr />

<h2 id="notice"><strong>notice</strong></h2>

<p><strong>開機先開整車電源，再開miniPC供電</strong></p>

<p><strong>關機先關miniPC，再斷miniPC供電，再關整車電源，直接關整車小心miniPC系統崩潰</strong></p>

<p><strong>斷miniPC供電最好斷開穩壓板，不然穩壓板一直在運行</strong></p>

<hr />

<h2 id="視覺調參">視覺調參</h2>

<h3 id="上場準備">上場準備</h3>
<ol>
  <li>相機線，串口線，電源線是否插穩</li>
  <li>調到合適的相機物理光圈，焦距</li>
  <li>Terminal是否打開串口
    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">sudo chmod </span>777 /dev/ttyUSB0
</code></pre></div>    </div>
  </li>
  <li>WatchDog是否打開</li>
  <li>相機代碼曝光參數，可以正確識別數字</li>
  <li>build不了，調整系統時間
    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">sudo date</span> <span class="nt">-s</span> <span class="s2">"2022-07-18 10:28"</span>
</code></pre></div>    </div>
  </li>
  <li>裝甲板顏色</li>
  <li>確認射速是否正確</li>
  <li>是否打開卡爾曼和接收電控數據</li>
  <li>串口收發是否成功</li>
  <li>關閉所有debug選項，關閉圖形界面，減少系統開銷</li>
</ol>

<h3 id="平時調參">平時調參</h3>
<ol>
  <li>上場準備1, 2, 3, 5, 6, 7</li>
  <li>關閉卡爾曼</li>
  <li>調整GUN_CAM_DISTANCE_X和GUN_CAM_DISTANCE_Y，找一個靜止裝甲板為目標，放在正前方2-4米，關閉重力補償，啟動自描，連續發射子彈，調整參數，直致pitch, yaw為正中，yaw有一點重力可忽略 <code class="language-plaintext highlighter-rouge">注意pitch, yaw需要歸0</code></li>
  <li>調整setBulletSpeed，把裝甲板放2-6米靜止，打開重力補償，啟動自描，連續發射子彈，調整參數，直致射中裝甲板，再重複把裝甲板放不同位置測試 <code class="language-plaintext highlighter-rouge">注意pitch, yaw需要歸0</code></li>
  <li>打開卡爾曼，被擊打車關閉小陀螺，勻速平移，調整車的卡爾曼參數，直致能正確擊打</li>
</ol>

<h3 id="使用建議">使用建議</h3>
<ol>
  <li>6米內為正常識別範圍</li>
  <li>自描看被擊打車越久，預測越准。根據剩餘子彈評估是否應該多看一下再打</li>
  <li>距離近更易打中</li>
  <li>卡爾曼看效果決定是否打開</li>
</ol>

<h2 id="電控問題">電控問題</h2>

<h3 id="平時調參-1">平時調參</h3>
<h5 id="2024賽季的電控代碼問題">2024賽季的電控代碼問題</h5>
<ol>
  <li>先看能否收到視覺數據，數據是否正常</li>
  <li>pitch, yaw的比例系數有合適值，越大容易瘋</li>
  <li>pitch, yaw的比例系數最好靠大但不瘋，太小雲台力不足</li>
  <li>pitch, yaw能穩住不抖迅速歸0</li>
  <li>miniPC能否接收到32數據，能否利用收到的數據自動做出選擇</li>
  <li>能否自動發彈</li>
</ol>

<h2 id="機械問題">機械問題</h2>

<h3 id="平時調參-2">平時調參</h3>
<ol>
  <li>是否有線擋住摩打或miniPC風扇運行</li>
  <li>小心上場彈丸打到相機或miniPC接口，機械要做好保護</li>
</ol>]]></content><author><name>Gavin Lee</name></author><category term="jekyll" /><category term="update" /><summary type="html"><![CDATA[聯調指南]]></summary></entry></feed>