import{s as Si,a as Zi,o as Bi,n as kn}from"../chunks/scheduler.eb244325.js";import{S as Pi,i as Ni,e as o,s as i,c as f,q as In,h as Ei,a,d as l,b as s,f as Un,g as u,j as r,r as Rn,k as j,l as Lt,m as n,n as d,t as $,o as h,p as b}from"../chunks/index.3fe63ad3.js";import{C as Ai}from"../chunks/CopyLLMTxtMenu.88bde5f2.js";import{C}from"../chunks/CodeBlock.934d290d.js";import{H as T,E as Wi}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.341974a5.js";import{H as Gi,a as Jn}from"../chunks/HfOption.0914e9f3.js";function Xi(k){let p,v="Example output:",y,g,m,c,U="Where the found port is: <code>/dev/tty.usbmodem575E0032081</code> corresponding to your board.",x;return g=new C({props:{code:"RmluZGluZyUyMGFsbCUyMGF2YWlsYWJsZSUyMHBvcnRzJTIwZm9yJTIwdGhlJTIwTW90b3JCdXMuJTBBJTVCJyUyRmRldiUyRnR0eS51c2Jtb2RlbTU3NUUwMDMyMDgxJyU1RCUwQVJlbW92ZSUyMHRoZSUyMFVTQiUyMGNhYmxlJTIwZnJvbSUyMHlvdXIlMjBNb3RvcnNCdXMlMjBhbmQlMjBwcmVzcyUyMEVudGVyJTIwd2hlbiUyMGRvbmUuJTBBJTBBJTVCLi4uRGlzY29ubmVjdCUyMGNvcnJlc3BvbmRpbmclMjBsZWFkZXIlMjBvciUyMGZvbGxvd2VyJTIwYXJtJTIwYW5kJTIwcHJlc3MlMjBFbnRlci4uLiU1RCUwQSUwQVRoZSUyMHBvcnQlMjBvZiUyMHRoaXMlMjBNb3RvcnNCdXMlMjBpcyUyMCUyRmRldiUyRnR0eS51c2Jtb2RlbTU3NUUwMDMyMDgxJTBBUmVjb25uZWN0JTIwdGhlJTIwVVNCJTIwY2FibGUu",highlighted:`<span class="hljs-symbol">Finding</span> all available ports for the <span class="hljs-symbol">MotorBus</span>.
[<span class="hljs-string">&#x27;/dev/tty.usbmodem575E0032081&#x27;</span>]
<span class="hljs-symbol">Remove</span> the <span class="hljs-symbol">USB</span> cable from your <span class="hljs-symbol">MotorsBus</span> and press <span class="hljs-symbol">Enter</span> when done.

[...<span class="hljs-symbol">Disconnect</span> corresponding leader or follower arm and press <span class="hljs-symbol">Enter</span>...]

<span class="hljs-symbol">The</span> port of this <span class="hljs-symbol">MotorsBus</span> is /dev/tty.usbmodem575E0032081
<span class="hljs-symbol">Reconnect</span> the <span class="hljs-symbol">USB</span> cable.`,wrap:!1}}),{c(){p=o("p"),p.textContent=v,y=i(),f(g.$$.fragment),m=i(),c=o("p"),c.innerHTML=U},l(w){p=a(w,"P",{"data-svelte-h":!0}),r(p)!=="svelte-c9hbnf"&&(p.textContent=v),y=s(w),u(g.$$.fragment,w),m=s(w),c=a(w,"P",{"data-svelte-h":!0}),r(c)!=="svelte-1js73yb"&&(c.innerHTML=U)},m(w,L){n(w,p,L),n(w,y,L),d(g,w,L),n(w,m,L),n(w,c,L),x=!0},p:kn,i(w){x||($(g.$$.fragment,w),x=!0)},o(w){h(g.$$.fragment,w),x=!1},d(w){w&&(l(p),l(y),l(m),l(c)),b(g,w)}}}function Vi(k){let p,v="On Linux, you might need to give access to the USB ports by running:",y,g,m,c,U="Example output:",x,w,L,_,I="Where the found port is: <code>/dev/ttyACM0</code> corresponding to your board.",E;return g=new C({props:{code:"c3VkbyUyMGNobW9kJTIwNjY2JTIwJTJGZGV2JTJGdHR5QUNNMCUwQXN1ZG8lMjBjaG1vZCUyMDY2NiUyMCUyRmRldiUyRnR0eUFDTTE=",highlighted:`sudo <span class="hljs-built_in">chmod</span> 666 /dev/ttyACM0
sudo <span class="hljs-built_in">chmod</span> 666 /dev/ttyACM1`,wrap:!1}}),w=new C({props:{code:"RmluZGluZyUyMGFsbCUyMGF2YWlsYWJsZSUyMHBvcnRzJTIwZm9yJTIwdGhlJTIwTW90b3JCdXMuJTBBJTVCJyUyRmRldiUyRnR0eUFDTTAnJTVEJTBBUmVtb3ZlJTIwdGhlJTIwdXNiJTIwY2FibGUlMjBmcm9tJTIweW91ciUyME1vdG9yc0J1cyUyMGFuZCUyMHByZXNzJTIwRW50ZXIlMjB3aGVuJTIwZG9uZS4lMEElMEElNUIuLi5EaXNjb25uZWN0JTIwY29ycmVzcG9uZGluZyUyMGxlYWRlciUyMG9yJTIwZm9sbG93ZXIlMjBhcm0lMjBhbmQlMjBwcmVzcyUyMEVudGVyLi4uJTVEJTBBJTBBVGhlJTIwcG9ydCUyMG9mJTIwdGhpcyUyME1vdG9yc0J1cyUyMGlzJTIwJTJGZGV2JTJGdHR5QUNNMCUwQVJlY29ubmVjdCUyMHRoZSUyMFVTQiUyMGNhYmxlLg==",highlighted:`<span class="hljs-symbol">Finding</span> all available ports for the <span class="hljs-symbol">MotorBus</span>.
[<span class="hljs-string">&#x27;/dev/ttyACM0&#x27;</span>]
<span class="hljs-symbol">Remove</span> the usb cable from your <span class="hljs-symbol">MotorsBus</span> and press <span class="hljs-symbol">Enter</span> when done.

[...<span class="hljs-symbol">Disconnect</span> corresponding leader or follower arm and press <span class="hljs-symbol">Enter</span>...]

<span class="hljs-symbol">The</span> port of this <span class="hljs-symbol">MotorsBus</span> is /dev/ttyACM0
<span class="hljs-symbol">Reconnect</span> the <span class="hljs-symbol">USB</span> cable.`,wrap:!1}}),{c(){p=o("p"),p.textContent=v,y=i(),f(g.$$.fragment),m=i(),c=o("p"),c.textContent=U,x=i(),f(w.$$.fragment),L=i(),_=o("p"),_.innerHTML=I},l(M){p=a(M,"P",{"data-svelte-h":!0}),r(p)!=="svelte-q7p48l"&&(p.textContent=v),y=s(M),u(g.$$.fragment,M),m=s(M),c=a(M,"P",{"data-svelte-h":!0}),r(c)!=="svelte-c9hbnf"&&(c.textContent=U),x=s(M),u(w.$$.fragment,M),L=s(M),_=a(M,"P",{"data-svelte-h":!0}),r(_)!=="svelte-17l1dbi"&&(_.innerHTML=I)},m(M,J){n(M,p,J),n(M,y,J),d(g,M,J),n(M,m,J),n(M,c,J),n(M,x,J),d(w,M,J),n(M,L,J),n(M,_,J),E=!0},p:kn,i(M){E||($(g.$$.fragment,M),$(w.$$.fragment,M),E=!0)},o(M){h(g.$$.fragment,M),h(w.$$.fragment,M),E=!1},d(M){M&&(l(p),l(y),l(m),l(c),l(x),l(L),l(_)),b(g,M),b(w,M)}}}function Yi(k){let p,v,y,g;return p=new Jn({props:{id:"example",option:"Mac",$$slots:{default:[Xi]},$$scope:{ctx:k}}}),y=new Jn({props:{id:"example",option:"Linux",$$slots:{default:[Vi]},$$scope:{ctx:k}}}),{c(){f(p.$$.fragment),v=i(),f(y.$$.fragment)},l(m){u(p.$$.fragment,m),v=s(m),u(y.$$.fragment,m)},m(m,c){d(p,m,c),n(m,v,c),d(y,m,c),g=!0},p(m,c){const U={};c&2&&(U.$$scope={dirty:c,ctx:m}),p.$set(U);const x={};c&2&&(x.$$scope={dirty:c,ctx:m}),y.$set(x)},i(m){g||($(p.$$.fragment,m),$(y.$$.fragment,m),g=!0)},o(m){h(p.$$.fragment,m),h(y.$$.fragment,m),g=!1},d(m){m&&l(v),b(p,m),b(y,m)}}}function Fi(k){let p,v;return p=new C({props:{code:"bGVyb2JvdC1jYWxpYnJhdGUlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXRlbGVvcC50eXBlJTNEc28xMDBfbGVhZGVyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS10ZWxlb3AucG9ydCUzRCUyRmRldiUyRnR0eS51c2Jtb2RlbTU4NzYwNDMxNTUxJTIwJTVDJTIwJTIzJTIwJTNDLSUyMFRoZSUyMHBvcnQlMjBvZiUyMHlvdXIlMjByb2JvdCUwQSUyMCUyMCUyMCUyMC0tdGVsZW9wLmlkJTNEbXlfYXdlc29tZV9sZWFkZXJfYXJtJTIwJTIzJTIwJTNDLSUyMEdpdmUlMjB0aGUlMjByb2JvdCUyMGElMjB1bmlxdWUlMjBuYW1l",highlighted:`lerobot-calibrate \\
    --teleop.type=so100_leader \\
    --teleop.port=/dev/tty.usbmodem58760431551 \\ <span class="hljs-comment"># &lt;- The port of your robot</span>
    --teleop.id=my_awesome_leader_arm <span class="hljs-comment"># &lt;- Give the robot a unique name</span>`,wrap:!1}}),{c(){f(p.$$.fragment)},l(y){u(p.$$.fragment,y)},m(y,g){d(p,y,g),v=!0},p:kn,i(y){v||($(p.$$.fragment,y),v=!0)},o(y){h(p.$$.fragment,y),v=!1},d(y){b(p,y)}}}function Qi(k){let p,v;return p=new C({props:{code:"ZnJvbSUyMGxlcm9ib3QudGVsZW9wZXJhdG9ycy5zb19sZWFkZXIlMjBpbXBvcnQlMjBTTzEwMExlYWRlckNvbmZpZyUyQyUyMFNPMTAwTGVhZGVyJTBBJTBBY29uZmlnJTIwJTNEJTIwU08xMDBMZWFkZXJDb25maWcoJTBBJTIwJTIwJTIwJTIwcG9ydCUzRCUyMiUyRmRldiUyRnR0eS51c2Jtb2RlbTU4NzYwNDMxNTUxJTIyJTJDJTBBJTIwJTIwJTIwJTIwaWQlM0QlMjJteV9hd2Vzb21lX2xlYWRlcl9hcm0lMjIlMkMlMEEpJTBBJTBBbGVhZGVyJTIwJTNEJTIwU08xMDBMZWFkZXIoY29uZmlnKSUwQWxlYWRlci5jb25uZWN0KGNhbGlicmF0ZSUzREZhbHNlKSUwQWxlYWRlci5jYWxpYnJhdGUoKSUwQWxlYWRlci5kaXNjb25uZWN0KCk=",highlighted:`<span class="hljs-keyword">from</span> lerobot.teleoperators.so_leader <span class="hljs-keyword">import</span> SO100LeaderConfig, SO100Leader

config = SO100LeaderConfig(
    port=<span class="hljs-string">&quot;/dev/tty.usbmodem58760431551&quot;</span>,
    <span class="hljs-built_in">id</span>=<span class="hljs-string">&quot;my_awesome_leader_arm&quot;</span>,
)

leader = SO100Leader(config)
leader.connect(calibrate=<span class="hljs-literal">False</span>)
leader.calibrate()
leader.disconnect()`,wrap:!1}}),{c(){f(p.$$.fragment)},l(y){u(p.$$.fragment,y)},m(y,g){d(p,y,g),v=!0},p:kn,i(y){v||($(p.$$.fragment,y),v=!0)},o(y){h(p.$$.fragment,y),v=!1},d(y){b(p,y)}}}function zi(k){let p,v,y,g;return p=new Jn({props:{id:"calibrate_leader",option:"Command",$$slots:{default:[Fi]},$$scope:{ctx:k}}}),y=new Jn({props:{id:"calibrate_leader",option:"API example",$$slots:{default:[Qi]},$$scope:{ctx:k}}}),{c(){f(p.$$.fragment),v=i(),f(y.$$.fragment)},l(m){u(p.$$.fragment,m),v=s(m),u(y.$$.fragment,m)},m(m,c){d(p,m,c),n(m,v,c),d(y,m,c),g=!0},p(m,c){const U={};c&2&&(U.$$scope={dirty:c,ctx:m}),p.$set(U);const x={};c&2&&(x.$$scope={dirty:c,ctx:m}),y.$set(x)},i(m){g||($(p.$$.fragment,m),$(y.$$.fragment,m),g=!0)},o(m){h(p.$$.fragment,m),h(y.$$.fragment,m),g=!1},d(m){m&&l(v),b(p,m),b(y,m)}}}function Di(k){let p,v,y,g,m,c,U,x,w,L,_,I,E="In the steps below, we explain how to assemble the LeKiwi mobile robot.",M,J,It,A,Hn=`Follow this <a href="https://github.com/SIGRobotics-UIUC/LeKiwi" rel="nofollow">README</a>. It contains the bill of materials, with a link to source the parts, as well as the instructions to 3D print the parts.
And advise if it’s your first time printing or if you don’t own a 3D printer.`,Rt,W,Ht,X,Zn="If you have the <strong>wired</strong> LeKiwi version, you can skip the installation of the Raspberry Pi and setting up SSH. You can also run all commands directly on your PC for both the LeKiwi scripts and the leader arm scripts for teleoperating.",Zt,V,Gt,Y,Gn="Now we have to set up the remote PC that will run on the LeKiwi Robot. This is normally a Raspberry Pi, but can be any PC that can run on 5V and has enough usb ports (2 or more) for the cameras and motor control board.",St,F,Bt,Q,Sn='For setting up the Raspberry Pi and its SD-card see: <a href="https://www.raspberrypi.com/documentation/computers/getting-started.html" rel="nofollow">Setup PI</a>. Here is explained how to download the <a href="https://www.raspberrypi.com/software/" rel="nofollow">Imager</a> to install Raspberry Pi OS or Ubuntu.',Pt,z,Nt,D,Bn='After setting up your Pi, you should enable and set up <a href="https://www.raspberrypi.com/news/coding-on-raspberry-pi-remotely-with-visual-studio-code/" rel="nofollow">SSH</a> (Secure Shell Protocol) so you can log in to the Pi from your laptop without requiring a screen, keyboard, and mouse on the Pi. A great tutorial on how to do this can be found <a href="https://www.raspberrypi.com/documentation/computers/remote-access.html#ssh" rel="nofollow">here</a>. Logging into your Pi can be done in your Command Prompt (cmd) or, if you use VSCode you can use <a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh" rel="nofollow">this</a> extension.',Et,O,At,q,Pn='On your Raspberry Pi install LeRobot using our <a href="./installation">Installation Guide</a>',Wt,K,Nn="In addition to these instructions, you need to install the Feetech SDK & ZeroMQ on your Pi:",Xt,ee,Vt,te,Yt,le,En="If you already have installed LeRobot on your laptop/pc you can skip this step; otherwise, please follow along as we do the same steps we did on the Pi.",Ft,ne,An='Follow our <a href="./installation">Installation Guide</a>',Qt,ie,Wn="In addition to these instructions, you need to install the Feetech SDK & ZeroMQ on your laptop/pc:",zt,se,Dt,oe,Xn=`Great :hugs:! You are now done installing LeRobot, and we can begin assembling the SO100/SO101 arms and the mobile base :robot:.
Every time you now want to use LeRobot, you can go to the <code>~/lerobot</code> folder where we installed LeRobot and run one of the commands.`,Ot,ae,qt,re,Vn="First, we will assemble the two SO100/SO101 arms. One to attach to the mobile base and one for teleoperation. Then we will assemble the mobile base. The instructions for assembling can be found on these two pages:",Kt,pe,Yn='<li><a href="./so101#step-by-step-assembly-instructions">Assemble SO101</a></li> <li><a href="https://github.com/SIGRobotics-UIUC/LeKiwi/blob/main/Assembly.md" rel="nofollow">Assemble LeKiwi</a></li>',el,me,tl,fe,Fn="To find the port for each bus servo adapter, run this script:",ll,ue,nl,G,il,de,sl,$e,Qn='The instructions for configuring the motors can be found in the SO101 <a href="./so101#configure-the-motors">docs</a>. Besides the ids for the arm motors, we also need to set the motor ids for the mobile base. These need to be in a specific order to work. Below an image of the motor ids and motor mounting positions for the mobile base. Note that we only use one Motor Control board on LeKiwi. This means the motor ids for the wheels are 7, 8 and 9.',ol,he,zn="You can run this command to setup motors for LeKiwi. It will first setup the motors for arm (id 6..1) and then setup motors for wheels (9,8,7)",al,be,rl,R,Dn,pl,ye,ml,ce,On="If you are having trouble connecting to the Mobile SO100, follow these steps to diagnose and resolve the issue.",fl,we,ul,ge,qn="Make sure that the correct IP for the Pi is used in the commands or in your code. To check the Raspberry Pi’s IP address, run (on the Pi command line):",dl,Me,$l,ve,hl,Te,Kn="Try pinging the Raspberry Pi from your laptop:",bl,Ce,yl,xe,ei="If the ping fails:",cl,Ue,ti="<li>Ensure the Pi is powered on and connected to the same network.</li> <li>Check if SSH is enabled on the Pi.</li>",wl,Je,gl,ke,li="If you can’t SSH into the Pi, it might not be properly connected. Use:",Ml,Le,vl,_e,ni="If you get a connection error:",Tl,Jt,H,Ln,je,_n,kt,ii="Interfacing Options -> SSH",jn,Cl,Ie,xl,Re,si=`Now we have to calibrate the leader arm and the follower arm. The wheel motors don’t have to be calibrated.
The calibration process is very important because it allows a neural network trained on one robot to work on another.`,Ul,He,Jl,Ze,oi="Make sure the arm is connected to the Raspberry Pi and run this script or API example (on the Raspberry Pi via SSH) to launch calibration of the follower arm:",kl,Ge,Ll,Se,ai='We unified the calibration method for most robots, thus, the calibration steps for this SO100 arm are the same as the steps for the Koch and SO101. First, we have to move the robot to the position where each joint is in the middle of its range, then we press <code>Enter</code>. Secondly, we move all joints through their full range of motion. A video of this same process for the SO101 as reference can be found <a href="https://huggingface.co/docs/lerobot/en/so101#calibration-video" rel="nofollow">here</a>.',_l,Be,jl,Pe,ri="If you have the <strong>wired</strong> LeKiwi version, please run all commands on your laptop.",Il,Ne,Rl,Ee,pi="Then, to calibrate the leader arm (which is attached to the laptop/pc). Run the following command of API example on your laptop:",Hl,S,Zl,Ae,Gl,B,mi="<p>If you’re using a Mac, you might need to give Terminal permission to access your keyboard for teleoperation. Go to System Preferences &gt; Security &amp; Privacy &gt; Input Monitoring and check the box for Terminal.</p>",Sl,We,fi="To teleoperate, SSH into your Raspberry Pi, and run <code>conda activate lerobot</code> and this command:",Bl,Xe,Pl,Ve,ui="Then on your laptop, also run <code>conda activate lerobot</code> and run the API example, make sure you set the correct <code>remote_ip</code> and <code>port</code> in <code>examples/lekiwi/teleoperate.py</code>.",Nl,Ye,El,Fe,di="You should see on your laptop something like this: <code>[INFO] Connected to remote robot at tcp://172.17.133.91:5555 and video stream at tcp://172.17.133.91:5556.</code> Now you can move the leader arm and use the keyboard (w,a,s,d) to drive forward, left, backwards, right. And use (z,x) to turn left or turn right. You can use (r,f) to increase and decrease the speed of the mobile robot. There are three speed modes, see the table below:",Al,Qe,$i="<thead><tr><th>Speed Mode</th> <th>Linear Speed (m/s)</th> <th>Rotation Speed (deg/s)</th></tr></thead> <tbody><tr><td>Fast</td> <td>0.4</td> <td>90</td></tr> <tr><td>Medium</td> <td>0.25</td> <td>60</td></tr> <tr><td>Slow</td> <td>0.1</td> <td>30</td></tr></tbody>",Wl,ze,hi="<thead><tr><th>Key</th> <th>Action</th></tr></thead> <tbody><tr><td>W</td> <td>Move forward</td></tr> <tr><td>A</td> <td>Move left</td></tr> <tr><td>S</td> <td>Move backward</td></tr> <tr><td>D</td> <td>Move right</td></tr> <tr><td>Z</td> <td>Turn left</td></tr> <tr><td>X</td> <td>Turn right</td></tr> <tr><td>R</td> <td>Increase speed</td></tr> <tr><td>F</td> <td>Decrease speed</td></tr></tbody>",Xl,P,bi='<p>If you use a different keyboard, you can change the keys for each command in the <a href="https://github.com/huggingface/lerobot/blob/main/src/lerobot/robots/lekiwi/config_lekiwi.py" rel="nofollow"><code>LeKiwiClientConfig</code></a>.</p>',Vl,De,Yl,Oe,yi="If you have the <strong>wired</strong> LeKiwi version, please run all commands on your laptop.",Fl,qe,Ql,Ke,ci="Once you’re familiar with teleoperation, you can record your first dataset.",zl,et,wi='We use the Hugging Face hub features for uploading your dataset. If you haven’t previously used the Hub, make sure you can login via the cli using a write-access token, this token can be generated from the <a href="https://huggingface.co/settings/tokens" rel="nofollow">Hugging Face settings</a>.',Dl,tt,gi="Add your token to the CLI by running this command:",Ol,lt,ql,nt,Mi="Then store your Hugging Face repository name in a variable:",Kl,it,en,st,vi="Now you can record a dataset. To record episodes and upload your dataset to the hub, execute this API example tailored for LeKiwi. Make sure to first adapt the <code>remote_ip</code>, <code>repo_id</code>, <code>port</code> and <code>task</code> in the script. If you would like to run the script for longer you can increase <code>NB_CYCLES_CLIENT_CONNECTION</code>.",tn,ot,ln,at,nn,rt,Ti='Locally, your dataset is stored in this folder: <code>~/.cache/huggingface/lerobot/{repo-id}</code>. At the end of data recording, your dataset will be uploaded on your Hugging Face page (e.g. <a href="https://huggingface.co/datasets/cadene/so101_test" rel="nofollow">https://huggingface.co/datasets/cadene/so101_test</a>) that you can obtain by running:',sn,pt,on,mt,Ci="Your dataset will be automatically tagged with <code>LeRobot</code> for the community to find it easily, and you can also add custom tags (in this case <code>tutorial</code> for example).",an,ft,xi='You can look for other LeRobot datasets on the hub by searching for <code>LeRobot</code> <a href="https://huggingface.co/datasets?other=LeRobot" rel="nofollow">tags</a>.',rn,ut,pn,dt,Ui="Once you’re comfortable with data recording, you can create a larger dataset for training. A good starting task is grasping an object at different locations and placing it in a bin. We suggest recording at least 50 episodes, with 10 episodes per location. Keep the cameras fixed and maintain consistent grasping behavior throughout the recordings. Also make sure the object you are manipulating is visible on the camera’s. A good rule of thumb is you should be able to do the task yourself by only looking at the camera images.",mn,$t,Ji="In the following sections, you’ll train your neural network. After achieving reliable grasping performance, you can start introducing more variations during data collection, such as additional grasp locations, different grasping techniques, and altering camera positions.",fn,ht,ki="Avoid adding too much variation too quickly, as it may hinder your results.",un,bt,Li='If you want to dive deeper into this important topic, you can check out the <a href="https://huggingface.co/blog/lerobot-datasets#what-makes-a-good-dataset" rel="nofollow">blog post</a> we wrote on what makes a good dataset.',dn,yt,$n,ct,_i='<li>On Linux, if the left and right arrow keys and escape key don’t have any effect during data recording, make sure you’ve set the <code>$DISPLAY</code> environment variable. See <a href="https://pynput.readthedocs.io/en/latest/limitations.html#linux" rel="nofollow">pynput limitations</a>.</li>',hn,wt,bn,gt,ji="To replay an episode run the API example below, make sure to change <code>remote_ip</code>, <code>port</code>, LeRobotDatasetId and episode index.",yn,Mt,cn,vt,Ii='Congrats 🎉, your robot is all set to learn a task on its own. Start training it by the training part of this tutorial: <a href="./il_robots">Getting started with real-world robots</a>',wn,Tt,gn,Ct,Ri="To evaluate your policy run the <code>evaluate.py</code> API example, make sure to change <code>remote_ip</code>, <code>port</code>, model..",Mn,xt,vn,N,Hi='<p>If you have any questions or need help, please reach out on <a href="https://discord.com/invite/s3KuuzsPFb" rel="nofollow">Discord</a>.</p>',Tn,Ut,Cn,_t,xn;return m=new Ai({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),U=new T({props:{title:"LeKiwi",local:"lekiwi",headingTag:"h1"}}),J=new T({props:{title:"Source the parts",local:"source-the-parts",headingTag:"h2"}}),W=new T({props:{title:"Wired version",local:"wired-version",headingTag:"h3"}}),V=new T({props:{title:"Install software on Pi",local:"install-software-on-pi",headingTag:"h2"}}),F=new T({props:{title:"Install OS",local:"install-os",headingTag:"h3"}}),z=new T({props:{title:"Setup SSH",local:"setup-ssh",headingTag:"h3"}}),O=new T({props:{title:"Install LeRobot on Pi 🤗",local:"install-lerobot-on-pi-",headingTag:"h3"}}),ee=new C({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1lJTIwJTIyLiU1Qmxla2l3aSU1RCUyMg==",highlighted:'pip install -e <span class="hljs-string">&quot;.[lekiwi]&quot;</span>',wrap:!1}}),te=new T({props:{title:"Install LeRobot locally",local:"install-lerobot-locally",headingTag:"h2"}}),se=new C({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1lJTIwJTIyLiU1Qmxla2l3aSU1RCUyMg==",highlighted:'pip install -e <span class="hljs-string">&quot;.[lekiwi]&quot;</span>',wrap:!1}}),ae=new T({props:{title:"Step-by-Step Assembly Instructions",local:"step-by-step-assembly-instructions",headingTag:"h1"}}),me=new T({props:{title:"Find the USB ports associated with motor board",local:"find-the-usb-ports-associated-with-motor-board",headingTag:"h3"}}),ue=new C({props:{code:"bGVyb2JvdC1maW5kLXBvcnQ=",highlighted:"lerobot-find-port",wrap:!1}}),G=new Gi({props:{id:"example",options:["Mac","Linux"],$$slots:{default:[Yi]},$$scope:{ctx:k}}}),de=new T({props:{title:"Configure motors",local:"configure-motors",headingTag:"h3"}}),be=new C({props:{code:"bGVyb2JvdC1zZXR1cC1tb3RvcnMlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXJvYm90LnR5cGUlM0RsZWtpd2klMjAlNUMlMEElMjAlMjAlMjAlMjAtLXJvYm90LnBvcnQlM0QlMkZkZXYlMkZ0dHkudXNibW9kZW01ODc2MDQzMTU1MSUyMCUyMyUyMCUzQy0lMjBwYXN0ZSUyMGhlcmUlMjB0aGUlMjBwb3J0JTIwZm91bmQlMjBhdCUyMHByZXZpb3VzJTIwc3RlcA==",highlighted:`lerobot-setup-motors \\
    --robot.type=lekiwi \\
    --robot.port=/dev/tty.usbmodem58760431551 <span class="hljs-comment"># &lt;- paste here the port found at previous step</span>`,wrap:!1}}),ye=new T({props:{title:"Troubleshoot communication",local:"troubleshoot-communication",headingTag:"h3"}}),we=new T({props:{title:"1. Verify IP Address Configuration",local:"1-verify-ip-address-configuration",headingTag:"h4"}}),Me=new C({props:{code:"aG9zdG5hbWUlMjAtSQ==",highlighted:"hostname -I",wrap:!1}}),ve=new T({props:{title:"2. Check if Pi is reachable from laptop/pc",local:"2-check-if-pi-is-reachable-from-laptoppc",headingTag:"h4"}}),Ce=new C({props:{code:"cGluZyUyMCUzQ3lvdXJfcGlfaXBfYWRkcmVzcyUzRQ==",highlighted:'ping <span class="hljs-tag">&lt;<span class="hljs-name">your_pi_ip_address</span>&gt;</span>',wrap:!1}}),Je=new T({props:{title:"3. Try SSH connection",local:"3-try-ssh-connection",headingTag:"h4"}}),Le=new C({props:{code:"c3NoJTIwJTNDeW91cl9waV91c2VyX25hbWUlM0UlNDAlM0N5b3VyX3BpX2lwX2FkZHJlc3MlM0U=",highlighted:"ssh &lt;your_pi_user_name&gt;@&lt;your_pi_ip_address&gt;",wrap:!1}}),je=new C({props:{code:"c3VkbyUyMHJhc3BpLWNvbmZpZw==",highlighted:"sudo raspi-config",wrap:!1}}),Ie=new T({props:{title:"Calibration",local:"calibration",headingTag:"h3"}}),He=new T({props:{title:"Calibrate follower arm (on mobile base)",local:"calibrate-follower-arm-on-mobile-base",headingTag:"h3"}}),Ge=new C({props:{code:"bGVyb2JvdC1jYWxpYnJhdGUlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXJvYm90LnR5cGUlM0RsZWtpd2klMjAlNUMlMEElMjAlMjAlMjAlMjAtLXJvYm90LmlkJTNEbXlfYXdlc29tZV9raXdpJTIwJTIzJTIwJTNDLSUyMEdpdmUlMjB0aGUlMjByb2JvdCUyMGElMjB1bmlxdWUlMjBuYW1l",highlighted:`lerobot-calibrate \\
    --robot.type=lekiwi \\
    --robot.id=my_awesome_kiwi <span class="hljs-comment"># &lt;- Give the robot a unique name</span>`,wrap:!1}}),Be=new T({props:{title:"Wired version",local:"wired-version",headingTag:"h3"}}),Ne=new T({props:{title:"Calibrate leader arm",local:"calibrate-leader-arm",headingTag:"h3"}}),S=new Gi({props:{id:"calibrate_leader",options:["Command","API example"],$$slots:{default:[zi]},$$scope:{ctx:k}}}),Ae=new T({props:{title:"Teleoperate LeKiwi",local:"teleoperate-lekiwi",headingTag:"h2"}}),Xe=new C({props:{code:"cHl0aG9uJTIwLW0lMjBsZXJvYm90LnJvYm90cy5sZWtpd2kubGVraXdpX2hvc3QlMjAtLXJvYm90LmlkJTNEbXlfYXdlc29tZV9raXdp",highlighted:"python -m lerobot.robots.lekiwi.lekiwi_host --robot.id=my_awesome_kiwi",wrap:!1}}),Ye=new C({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZsZWtpd2klMkZ0ZWxlb3BlcmF0ZS5weQ==",highlighted:"python examples/lekiwi/teleoperate.py",wrap:!1}}),De=new T({props:{title:"Wired version",local:"wired-version",headingTag:"h3"}}),qe=new T({props:{title:"Record a dataset",local:"record-a-dataset",headingTag:"h2"}}),lt=new C({props:{code:"aGYlMjBhdXRoJTIwbG9naW4lMjAtLXRva2VuJTIwJTI0JTdCSFVHR0lOR0ZBQ0VfVE9LRU4lN0QlMjAtLWFkZC10by1naXQtY3JlZGVudGlhbA==",highlighted:'hf auth login --token <span class="hljs-variable">${HUGGINGFACE_TOKEN}</span> --add-to-git-credential',wrap:!1}}),it=new C({props:{code:"SEZfVVNFUiUzRCUyNChoZiUyMGF1dGglMjB3aG9hbWklMjAlN0MlMjBhd2slMjAtRiclM0ElMjAqJyUyMCdOUiUzRCUzRDElMjAlN0JwcmludCUyMCUyNDIlN0QnKSUwQWVjaG8lMjAlMjRIRl9VU0VS",highlighted:`HF_USER=$(hf auth <span class="hljs-built_in">whoami</span> | awk -F<span class="hljs-string">&#x27;: *&#x27;</span> <span class="hljs-string">&#x27;NR==1 {print $2}&#x27;</span>)
<span class="hljs-built_in">echo</span> <span class="hljs-variable">$HF_USER</span>`,wrap:!1}}),ot=new C({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZsZWtpd2klMkZyZWNvcmQucHk=",highlighted:"python examples/lekiwi/record.py",wrap:!1}}),at=new T({props:{title:"Dataset upload",local:"dataset-upload",headingTag:"h4"}}),pt=new C({props:{code:"ZWNobyUyMGh0dHBzJTNBJTJGJTJGaHVnZ2luZ2ZhY2UuY28lMkZkYXRhc2V0cyUyRiUyNCU3QkhGX1VTRVIlN0QlMkZzbzEwMV90ZXN0",highlighted:'<span class="hljs-built_in">echo</span> https://huggingface.co/datasets/<span class="hljs-variable">${HF_USER}</span>/so101_test',wrap:!1}}),ut=new T({props:{title:"Tips for gathering data",local:"tips-for-gathering-data",headingTag:"h4"}}),yt=new T({props:{title:"Troubleshooting:",local:"troubleshooting",headingTag:"h4"}}),wt=new T({props:{title:"Replay an episode",local:"replay-an-episode",headingTag:"h2"}}),Mt=new C({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZsZWtpd2klMkZyZXBsYXkucHk=",highlighted:"python examples/lekiwi/replay.py",wrap:!1}}),Tt=new T({props:{title:"Evaluate your policy",local:"evaluate-your-policy",headingTag:"h2"}}),xt=new C({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZsZWtpd2klMkZldmFsdWF0ZS5weQ==",highlighted:"python examples/lekiwi/evaluate.py",wrap:!1}}),Ut=new Wi({props:{source:"https://github.com/huggingface/lerobot/blob/main/docs/source/lekiwi.mdx"}}),{c(){p=o("meta"),v=i(),y=o("p"),g=i(),f(m.$$.fragment),c=i(),f(U.$$.fragment),x=i(),w=o("img"),_=i(),I=o("p"),I.textContent=E,M=i(),f(J.$$.fragment),It=i(),A=o("p"),A.innerHTML=Hn,Rt=i(),f(W.$$.fragment),Ht=i(),X=o("p"),X.innerHTML=Zn,Zt=i(),f(V.$$.fragment),Gt=i(),Y=o("p"),Y.textContent=Gn,St=i(),f(F.$$.fragment),Bt=i(),Q=o("p"),Q.innerHTML=Sn,Pt=i(),f(z.$$.fragment),Nt=i(),D=o("p"),D.innerHTML=Bn,Et=i(),f(O.$$.fragment),At=i(),q=o("p"),q.innerHTML=Pn,Wt=i(),K=o("p"),K.textContent=Nn,Xt=i(),f(ee.$$.fragment),Vt=i(),f(te.$$.fragment),Yt=i(),le=o("p"),le.textContent=En,Ft=i(),ne=o("p"),ne.innerHTML=An,Qt=i(),ie=o("p"),ie.textContent=Wn,zt=i(),f(se.$$.fragment),Dt=i(),oe=o("p"),oe.innerHTML=Xn,Ot=i(),f(ae.$$.fragment),qt=i(),re=o("p"),re.textContent=Vn,Kt=i(),pe=o("ul"),pe.innerHTML=Yn,el=i(),f(me.$$.fragment),tl=i(),fe=o("p"),fe.textContent=Fn,ll=i(),f(ue.$$.fragment),nl=i(),f(G.$$.fragment),il=i(),f(de.$$.fragment),sl=i(),$e=o("p"),$e.innerHTML=Qn,ol=i(),he=o("p"),he.textContent=zn,al=i(),f(be.$$.fragment),rl=i(),R=o("img"),pl=i(),f(ye.$$.fragment),ml=i(),ce=o("p"),ce.textContent=On,fl=i(),f(we.$$.fragment),ul=i(),ge=o("p"),ge.textContent=qn,dl=i(),f(Me.$$.fragment),$l=i(),f(ve.$$.fragment),hl=i(),Te=o("p"),Te.textContent=Kn,bl=i(),f(Ce.$$.fragment),yl=i(),xe=o("p"),xe.textContent=ei,cl=i(),Ue=o("ul"),Ue.innerHTML=ti,wl=i(),f(Je.$$.fragment),gl=i(),ke=o("p"),ke.textContent=li,Ml=i(),f(Le.$$.fragment),vl=i(),_e=o("p"),_e.textContent=ni,Tl=i(),Jt=o("ul"),H=o("li"),Ln=In(`Ensure SSH is enabled on the Pi by running:

	`),f(je.$$.fragment),_n=In(`
Then navigate to: `),kt=o("strong"),kt.textContent=ii,jn=In(" and enable it."),Cl=i(),f(Ie.$$.fragment),xl=i(),Re=o("p"),Re.textContent=si,Ul=i(),f(He.$$.fragment),Jl=i(),Ze=o("p"),Ze.textContent=oi,kl=i(),f(Ge.$$.fragment),Ll=i(),Se=o("p"),Se.innerHTML=ai,_l=i(),f(Be.$$.fragment),jl=i(),Pe=o("p"),Pe.innerHTML=ri,Il=i(),f(Ne.$$.fragment),Rl=i(),Ee=o("p"),Ee.textContent=pi,Hl=i(),f(S.$$.fragment),Zl=i(),f(Ae.$$.fragment),Gl=i(),B=o("blockquote"),B.innerHTML=mi,Sl=i(),We=o("p"),We.innerHTML=fi,Bl=i(),f(Xe.$$.fragment),Pl=i(),Ve=o("p"),Ve.innerHTML=ui,Nl=i(),f(Ye.$$.fragment),El=i(),Fe=o("p"),Fe.innerHTML=di,Al=i(),Qe=o("table"),Qe.innerHTML=$i,Wl=i(),ze=o("table"),ze.innerHTML=hi,Xl=i(),P=o("blockquote"),P.innerHTML=bi,Vl=i(),f(De.$$.fragment),Yl=i(),Oe=o("p"),Oe.innerHTML=yi,Fl=i(),f(qe.$$.fragment),Ql=i(),Ke=o("p"),Ke.textContent=ci,zl=i(),et=o("p"),et.innerHTML=wi,Dl=i(),tt=o("p"),tt.textContent=gi,Ol=i(),f(lt.$$.fragment),ql=i(),nt=o("p"),nt.textContent=Mi,Kl=i(),f(it.$$.fragment),en=i(),st=o("p"),st.innerHTML=vi,tn=i(),f(ot.$$.fragment),ln=i(),f(at.$$.fragment),nn=i(),rt=o("p"),rt.innerHTML=Ti,sn=i(),f(pt.$$.fragment),on=i(),mt=o("p"),mt.innerHTML=Ci,an=i(),ft=o("p"),ft.innerHTML=xi,rn=i(),f(ut.$$.fragment),pn=i(),dt=o("p"),dt.textContent=Ui,mn=i(),$t=o("p"),$t.textContent=Ji,fn=i(),ht=o("p"),ht.textContent=ki,un=i(),bt=o("p"),bt.innerHTML=Li,dn=i(),f(yt.$$.fragment),$n=i(),ct=o("ul"),ct.innerHTML=_i,hn=i(),f(wt.$$.fragment),bn=i(),gt=o("p"),gt.innerHTML=ji,yn=i(),f(Mt.$$.fragment),cn=i(),vt=o("p"),vt.innerHTML=Ii,wn=i(),f(Tt.$$.fragment),gn=i(),Ct=o("p"),Ct.innerHTML=Ri,Mn=i(),f(xt.$$.fragment),vn=i(),N=o("blockquote"),N.innerHTML=Hi,Tn=i(),f(Ut.$$.fragment),Cn=i(),_t=o("p"),this.h()},l(e){const t=Ei("svelte-u9bgzb",document.head);p=a(t,"META",{name:!0,content:!0}),t.forEach(l),v=s(e),y=a(e,"P",{}),Un(y).forEach(l),g=s(e),u(m.$$.fragment,e),c=s(e),u(U.$$.fragment,e),x=s(e),w=a(e,"IMG",{src:!0,alt:!0,width:!0}),_=s(e),I=a(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-q7mzwy"&&(I.textContent=E),M=s(e),u(J.$$.fragment,e),It=s(e),A=a(e,"P",{"data-svelte-h":!0}),r(A)!=="svelte-57u5or"&&(A.innerHTML=Hn),Rt=s(e),u(W.$$.fragment,e),Ht=s(e),X=a(e,"P",{"data-svelte-h":!0}),r(X)!=="svelte-xyz8mq"&&(X.innerHTML=Zn),Zt=s(e),u(V.$$.fragment,e),Gt=s(e),Y=a(e,"P",{"data-svelte-h":!0}),r(Y)!=="svelte-19q7wi3"&&(Y.textContent=Gn),St=s(e),u(F.$$.fragment,e),Bt=s(e),Q=a(e,"P",{"data-svelte-h":!0}),r(Q)!=="svelte-1ylxyw3"&&(Q.innerHTML=Sn),Pt=s(e),u(z.$$.fragment,e),Nt=s(e),D=a(e,"P",{"data-svelte-h":!0}),r(D)!=="svelte-1km4qbm"&&(D.innerHTML=Bn),Et=s(e),u(O.$$.fragment,e),At=s(e),q=a(e,"P",{"data-svelte-h":!0}),r(q)!=="svelte-185c6nt"&&(q.innerHTML=Pn),Wt=s(e),K=a(e,"P",{"data-svelte-h":!0}),r(K)!=="svelte-nqlhid"&&(K.textContent=Nn),Xt=s(e),u(ee.$$.fragment,e),Vt=s(e),u(te.$$.fragment,e),Yt=s(e),le=a(e,"P",{"data-svelte-h":!0}),r(le)!=="svelte-1ymehvx"&&(le.textContent=En),Ft=s(e),ne=a(e,"P",{"data-svelte-h":!0}),r(ne)!=="svelte-1y5utev"&&(ne.innerHTML=An),Qt=s(e),ie=a(e,"P",{"data-svelte-h":!0}),r(ie)!=="svelte-4nz320"&&(ie.textContent=Wn),zt=s(e),u(se.$$.fragment,e),Dt=s(e),oe=a(e,"P",{"data-svelte-h":!0}),r(oe)!=="svelte-me6gw2"&&(oe.innerHTML=Xn),Ot=s(e),u(ae.$$.fragment,e),qt=s(e),re=a(e,"P",{"data-svelte-h":!0}),r(re)!=="svelte-1skp2m2"&&(re.textContent=Vn),Kt=s(e),pe=a(e,"UL",{"data-svelte-h":!0}),r(pe)!=="svelte-1udu36q"&&(pe.innerHTML=Yn),el=s(e),u(me.$$.fragment,e),tl=s(e),fe=a(e,"P",{"data-svelte-h":!0}),r(fe)!=="svelte-1qt1z72"&&(fe.textContent=Fn),ll=s(e),u(ue.$$.fragment,e),nl=s(e),u(G.$$.fragment,e),il=s(e),u(de.$$.fragment,e),sl=s(e),$e=a(e,"P",{"data-svelte-h":!0}),r($e)!=="svelte-1qp8iks"&&($e.innerHTML=Qn),ol=s(e),he=a(e,"P",{"data-svelte-h":!0}),r(he)!=="svelte-1tsoqj"&&(he.textContent=zn),al=s(e),u(be.$$.fragment,e),rl=s(e),R=a(e,"IMG",{src:!0,alt:!0,title:!0,width:!0}),pl=s(e),u(ye.$$.fragment,e),ml=s(e),ce=a(e,"P",{"data-svelte-h":!0}),r(ce)!=="svelte-16buj2m"&&(ce.textContent=On),fl=s(e),u(we.$$.fragment,e),ul=s(e),ge=a(e,"P",{"data-svelte-h":!0}),r(ge)!=="svelte-9jxcy0"&&(ge.textContent=qn),dl=s(e),u(Me.$$.fragment,e),$l=s(e),u(ve.$$.fragment,e),hl=s(e),Te=a(e,"P",{"data-svelte-h":!0}),r(Te)!=="svelte-ki46u2"&&(Te.textContent=Kn),bl=s(e),u(Ce.$$.fragment,e),yl=s(e),xe=a(e,"P",{"data-svelte-h":!0}),r(xe)!=="svelte-govsk3"&&(xe.textContent=ei),cl=s(e),Ue=a(e,"UL",{"data-svelte-h":!0}),r(Ue)!=="svelte-1jneq4q"&&(Ue.innerHTML=ti),wl=s(e),u(Je.$$.fragment,e),gl=s(e),ke=a(e,"P",{"data-svelte-h":!0}),r(ke)!=="svelte-19p940e"&&(ke.textContent=li),Ml=s(e),u(Le.$$.fragment,e),vl=s(e),_e=a(e,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-od2yht"&&(_e.textContent=ni),Tl=s(e),Jt=a(e,"UL",{});var jt=Un(Jt);H=a(jt,"LI",{});var Z=Un(H);Ln=Rn(Z,`Ensure SSH is enabled on the Pi by running:

	`),u(je.$$.fragment,Z),_n=Rn(Z,`
Then navigate to: `),kt=a(Z,"STRONG",{"data-svelte-h":!0}),r(kt)!=="svelte-sg10t3"&&(kt.textContent=ii),jn=Rn(Z," and enable it."),Z.forEach(l),jt.forEach(l),Cl=s(e),u(Ie.$$.fragment,e),xl=s(e),Re=a(e,"P",{"data-svelte-h":!0}),r(Re)!=="svelte-31xp6g"&&(Re.textContent=si),Ul=s(e),u(He.$$.fragment,e),Jl=s(e),Ze=a(e,"P",{"data-svelte-h":!0}),r(Ze)!=="svelte-1fuaoxo"&&(Ze.textContent=oi),kl=s(e),u(Ge.$$.fragment,e),Ll=s(e),Se=a(e,"P",{"data-svelte-h":!0}),r(Se)!=="svelte-1op7jdk"&&(Se.innerHTML=ai),_l=s(e),u(Be.$$.fragment,e),jl=s(e),Pe=a(e,"P",{"data-svelte-h":!0}),r(Pe)!=="svelte-15wfbkg"&&(Pe.innerHTML=ri),Il=s(e),u(Ne.$$.fragment,e),Rl=s(e),Ee=a(e,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-1pxbx6u"&&(Ee.textContent=pi),Hl=s(e),u(S.$$.fragment,e),Zl=s(e),u(Ae.$$.fragment,e),Gl=s(e),B=a(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),r(B)!=="svelte-newb6x"&&(B.innerHTML=mi),Sl=s(e),We=a(e,"P",{"data-svelte-h":!0}),r(We)!=="svelte-y3jm3t"&&(We.innerHTML=fi),Bl=s(e),u(Xe.$$.fragment,e),Pl=s(e),Ve=a(e,"P",{"data-svelte-h":!0}),r(Ve)!=="svelte-edyiau"&&(Ve.innerHTML=ui),Nl=s(e),u(Ye.$$.fragment,e),El=s(e),Fe=a(e,"P",{"data-svelte-h":!0}),r(Fe)!=="svelte-12yj5qi"&&(Fe.innerHTML=di),Al=s(e),Qe=a(e,"TABLE",{"data-svelte-h":!0}),r(Qe)!=="svelte-cktctq"&&(Qe.innerHTML=$i),Wl=s(e),ze=a(e,"TABLE",{"data-svelte-h":!0}),r(ze)!=="svelte-1ce2l4b"&&(ze.innerHTML=hi),Xl=s(e),P=a(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),r(P)!=="svelte-i9bu81"&&(P.innerHTML=bi),Vl=s(e),u(De.$$.fragment,e),Yl=s(e),Oe=a(e,"P",{"data-svelte-h":!0}),r(Oe)!=="svelte-15wfbkg"&&(Oe.innerHTML=yi),Fl=s(e),u(qe.$$.fragment,e),Ql=s(e),Ke=a(e,"P",{"data-svelte-h":!0}),r(Ke)!=="svelte-1nfhg37"&&(Ke.textContent=ci),zl=s(e),et=a(e,"P",{"data-svelte-h":!0}),r(et)!=="svelte-1yil1pb"&&(et.innerHTML=wi),Dl=s(e),tt=a(e,"P",{"data-svelte-h":!0}),r(tt)!=="svelte-1wt46f4"&&(tt.textContent=gi),Ol=s(e),u(lt.$$.fragment,e),ql=s(e),nt=a(e,"P",{"data-svelte-h":!0}),r(nt)!=="svelte-1qc22uu"&&(nt.textContent=Mi),Kl=s(e),u(it.$$.fragment,e),en=s(e),st=a(e,"P",{"data-svelte-h":!0}),r(st)!=="svelte-zf7i82"&&(st.innerHTML=vi),tn=s(e),u(ot.$$.fragment,e),ln=s(e),u(at.$$.fragment,e),nn=s(e),rt=a(e,"P",{"data-svelte-h":!0}),r(rt)!=="svelte-1iv45hs"&&(rt.innerHTML=Ti),sn=s(e),u(pt.$$.fragment,e),on=s(e),mt=a(e,"P",{"data-svelte-h":!0}),r(mt)!=="svelte-16ex640"&&(mt.innerHTML=Ci),an=s(e),ft=a(e,"P",{"data-svelte-h":!0}),r(ft)!=="svelte-12sit8s"&&(ft.innerHTML=xi),rn=s(e),u(ut.$$.fragment,e),pn=s(e),dt=a(e,"P",{"data-svelte-h":!0}),r(dt)!=="svelte-53ok25"&&(dt.textContent=Ui),mn=s(e),$t=a(e,"P",{"data-svelte-h":!0}),r($t)!=="svelte-g5y8pt"&&($t.textContent=Ji),fn=s(e),ht=a(e,"P",{"data-svelte-h":!0}),r(ht)!=="svelte-1gvnhwt"&&(ht.textContent=ki),un=s(e),bt=a(e,"P",{"data-svelte-h":!0}),r(bt)!=="svelte-1rzn05f"&&(bt.innerHTML=Li),dn=s(e),u(yt.$$.fragment,e),$n=s(e),ct=a(e,"UL",{"data-svelte-h":!0}),r(ct)!=="svelte-1d8rggu"&&(ct.innerHTML=_i),hn=s(e),u(wt.$$.fragment,e),bn=s(e),gt=a(e,"P",{"data-svelte-h":!0}),r(gt)!=="svelte-16e0tam"&&(gt.innerHTML=ji),yn=s(e),u(Mt.$$.fragment,e),cn=s(e),vt=a(e,"P",{"data-svelte-h":!0}),r(vt)!=="svelte-16j2h3d"&&(vt.innerHTML=Ii),wn=s(e),u(Tt.$$.fragment,e),gn=s(e),Ct=a(e,"P",{"data-svelte-h":!0}),r(Ct)!=="svelte-2u91ry"&&(Ct.innerHTML=Ri),Mn=s(e),u(xt.$$.fragment,e),vn=s(e),N=a(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),r(N)!=="svelte-so5vtc"&&(N.innerHTML=Hi),Tn=s(e),u(Ut.$$.fragment,e),Cn=s(e),_t=a(e,"P",{}),Un(_t).forEach(l),this.h()},h(){j(p,"name","hf:doc:metadata"),j(p,"content",Oi),Zi(w.src,L="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/1740517739083.jpeg")||j(w,"src",L),j(w,"alt","LeKiwi"),j(w,"width","70%"),Zi(R.src,Dn="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/motor_ids.webp")||j(R,"src",Dn),j(R,"alt","Motor ID's for mobile robot"),j(R,"title","Motor ID's for mobile robot"),j(R,"width","60%"),j(B,"class","tip"),j(P,"class","tip"),j(N,"class","tip")},m(e,t){Lt(document.head,p),n(e,v,t),n(e,y,t),n(e,g,t),d(m,e,t),n(e,c,t),d(U,e,t),n(e,x,t),n(e,w,t),n(e,_,t),n(e,I,t),n(e,M,t),d(J,e,t),n(e,It,t),n(e,A,t),n(e,Rt,t),d(W,e,t),n(e,Ht,t),n(e,X,t),n(e,Zt,t),d(V,e,t),n(e,Gt,t),n(e,Y,t),n(e,St,t),d(F,e,t),n(e,Bt,t),n(e,Q,t),n(e,Pt,t),d(z,e,t),n(e,Nt,t),n(e,D,t),n(e,Et,t),d(O,e,t),n(e,At,t),n(e,q,t),n(e,Wt,t),n(e,K,t),n(e,Xt,t),d(ee,e,t),n(e,Vt,t),d(te,e,t),n(e,Yt,t),n(e,le,t),n(e,Ft,t),n(e,ne,t),n(e,Qt,t),n(e,ie,t),n(e,zt,t),d(se,e,t),n(e,Dt,t),n(e,oe,t),n(e,Ot,t),d(ae,e,t),n(e,qt,t),n(e,re,t),n(e,Kt,t),n(e,pe,t),n(e,el,t),d(me,e,t),n(e,tl,t),n(e,fe,t),n(e,ll,t),d(ue,e,t),n(e,nl,t),d(G,e,t),n(e,il,t),d(de,e,t),n(e,sl,t),n(e,$e,t),n(e,ol,t),n(e,he,t),n(e,al,t),d(be,e,t),n(e,rl,t),n(e,R,t),n(e,pl,t),d(ye,e,t),n(e,ml,t),n(e,ce,t),n(e,fl,t),d(we,e,t),n(e,ul,t),n(e,ge,t),n(e,dl,t),d(Me,e,t),n(e,$l,t),d(ve,e,t),n(e,hl,t),n(e,Te,t),n(e,bl,t),d(Ce,e,t),n(e,yl,t),n(e,xe,t),n(e,cl,t),n(e,Ue,t),n(e,wl,t),d(Je,e,t),n(e,gl,t),n(e,ke,t),n(e,Ml,t),d(Le,e,t),n(e,vl,t),n(e,_e,t),n(e,Tl,t),n(e,Jt,t),Lt(Jt,H),Lt(H,Ln),d(je,H,null),Lt(H,_n),Lt(H,kt),Lt(H,jn),n(e,Cl,t),d(Ie,e,t),n(e,xl,t),n(e,Re,t),n(e,Ul,t),d(He,e,t),n(e,Jl,t),n(e,Ze,t),n(e,kl,t),d(Ge,e,t),n(e,Ll,t),n(e,Se,t),n(e,_l,t),d(Be,e,t),n(e,jl,t),n(e,Pe,t),n(e,Il,t),d(Ne,e,t),n(e,Rl,t),n(e,Ee,t),n(e,Hl,t),d(S,e,t),n(e,Zl,t),d(Ae,e,t),n(e,Gl,t),n(e,B,t),n(e,Sl,t),n(e,We,t),n(e,Bl,t),d(Xe,e,t),n(e,Pl,t),n(e,Ve,t),n(e,Nl,t),d(Ye,e,t),n(e,El,t),n(e,Fe,t),n(e,Al,t),n(e,Qe,t),n(e,Wl,t),n(e,ze,t),n(e,Xl,t),n(e,P,t),n(e,Vl,t),d(De,e,t),n(e,Yl,t),n(e,Oe,t),n(e,Fl,t),d(qe,e,t),n(e,Ql,t),n(e,Ke,t),n(e,zl,t),n(e,et,t),n(e,Dl,t),n(e,tt,t),n(e,Ol,t),d(lt,e,t),n(e,ql,t),n(e,nt,t),n(e,Kl,t),d(it,e,t),n(e,en,t),n(e,st,t),n(e,tn,t),d(ot,e,t),n(e,ln,t),d(at,e,t),n(e,nn,t),n(e,rt,t),n(e,sn,t),d(pt,e,t),n(e,on,t),n(e,mt,t),n(e,an,t),n(e,ft,t),n(e,rn,t),d(ut,e,t),n(e,pn,t),n(e,dt,t),n(e,mn,t),n(e,$t,t),n(e,fn,t),n(e,ht,t),n(e,un,t),n(e,bt,t),n(e,dn,t),d(yt,e,t),n(e,$n,t),n(e,ct,t),n(e,hn,t),d(wt,e,t),n(e,bn,t),n(e,gt,t),n(e,yn,t),d(Mt,e,t),n(e,cn,t),n(e,vt,t),n(e,wn,t),d(Tt,e,t),n(e,gn,t),n(e,Ct,t),n(e,Mn,t),d(xt,e,t),n(e,vn,t),n(e,N,t),n(e,Tn,t),d(Ut,e,t),n(e,Cn,t),n(e,_t,t),xn=!0},p(e,[t]){const jt={};t&2&&(jt.$$scope={dirty:t,ctx:e}),G.$set(jt);const Z={};t&2&&(Z.$$scope={dirty:t,ctx:e}),S.$set(Z)},i(e){xn||($(m.$$.fragment,e),$(U.$$.fragment,e),$(J.$$.fragment,e),$(W.$$.fragment,e),$(V.$$.fragment,e),$(F.$$.fragment,e),$(z.$$.fragment,e),$(O.$$.fragment,e),$(ee.$$.fragment,e),$(te.$$.fragment,e),$(se.$$.fragment,e),$(ae.$$.fragment,e),$(me.$$.fragment,e),$(ue.$$.fragment,e),$(G.$$.fragment,e),$(de.$$.fragment,e),$(be.$$.fragment,e),$(ye.$$.fragment,e),$(we.$$.fragment,e),$(Me.$$.fragment,e),$(ve.$$.fragment,e),$(Ce.$$.fragment,e),$(Je.$$.fragment,e),$(Le.$$.fragment,e),$(je.$$.fragment,e),$(Ie.$$.fragment,e),$(He.$$.fragment,e),$(Ge.$$.fragment,e),$(Be.$$.fragment,e),$(Ne.$$.fragment,e),$(S.$$.fragment,e),$(Ae.$$.fragment,e),$(Xe.$$.fragment,e),$(Ye.$$.fragment,e),$(De.$$.fragment,e),$(qe.$$.fragment,e),$(lt.$$.fragment,e),$(it.$$.fragment,e),$(ot.$$.fragment,e),$(at.$$.fragment,e),$(pt.$$.fragment,e),$(ut.$$.fragment,e),$(yt.$$.fragment,e),$(wt.$$.fragment,e),$(Mt.$$.fragment,e),$(Tt.$$.fragment,e),$(xt.$$.fragment,e),$(Ut.$$.fragment,e),xn=!0)},o(e){h(m.$$.fragment,e),h(U.$$.fragment,e),h(J.$$.fragment,e),h(W.$$.fragment,e),h(V.$$.fragment,e),h(F.$$.fragment,e),h(z.$$.fragment,e),h(O.$$.fragment,e),h(ee.$$.fragment,e),h(te.$$.fragment,e),h(se.$$.fragment,e),h(ae.$$.fragment,e),h(me.$$.fragment,e),h(ue.$$.fragment,e),h(G.$$.fragment,e),h(de.$$.fragment,e),h(be.$$.fragment,e),h(ye.$$.fragment,e),h(we.$$.fragment,e),h(Me.$$.fragment,e),h(ve.$$.fragment,e),h(Ce.$$.fragment,e),h(Je.$$.fragment,e),h(Le.$$.fragment,e),h(je.$$.fragment,e),h(Ie.$$.fragment,e),h(He.$$.fragment,e),h(Ge.$$.fragment,e),h(Be.$$.fragment,e),h(Ne.$$.fragment,e),h(S.$$.fragment,e),h(Ae.$$.fragment,e),h(Xe.$$.fragment,e),h(Ye.$$.fragment,e),h(De.$$.fragment,e),h(qe.$$.fragment,e),h(lt.$$.fragment,e),h(it.$$.fragment,e),h(ot.$$.fragment,e),h(at.$$.fragment,e),h(pt.$$.fragment,e),h(ut.$$.fragment,e),h(yt.$$.fragment,e),h(wt.$$.fragment,e),h(Mt.$$.fragment,e),h(Tt.$$.fragment,e),h(xt.$$.fragment,e),h(Ut.$$.fragment,e),xn=!1},d(e){e&&(l(v),l(y),l(g),l(c),l(x),l(w),l(_),l(I),l(M),l(It),l(A),l(Rt),l(Ht),l(X),l(Zt),l(Gt),l(Y),l(St),l(Bt),l(Q),l(Pt),l(Nt),l(D),l(Et),l(At),l(q),l(Wt),l(K),l(Xt),l(Vt),l(Yt),l(le),l(Ft),l(ne),l(Qt),l(ie),l(zt),l(Dt),l(oe),l(Ot),l(qt),l(re),l(Kt),l(pe),l(el),l(tl),l(fe),l(ll),l(nl),l(il),l(sl),l($e),l(ol),l(he),l(al),l(rl),l(R),l(pl),l(ml),l(ce),l(fl),l(ul),l(ge),l(dl),l($l),l(hl),l(Te),l(bl),l(yl),l(xe),l(cl),l(Ue),l(wl),l(gl),l(ke),l(Ml),l(vl),l(_e),l(Tl),l(Jt),l(Cl),l(xl),l(Re),l(Ul),l(Jl),l(Ze),l(kl),l(Ll),l(Se),l(_l),l(jl),l(Pe),l(Il),l(Rl),l(Ee),l(Hl),l(Zl),l(Gl),l(B),l(Sl),l(We),l(Bl),l(Pl),l(Ve),l(Nl),l(El),l(Fe),l(Al),l(Qe),l(Wl),l(ze),l(Xl),l(P),l(Vl),l(Yl),l(Oe),l(Fl),l(Ql),l(Ke),l(zl),l(et),l(Dl),l(tt),l(Ol),l(ql),l(nt),l(Kl),l(en),l(st),l(tn),l(ln),l(nn),l(rt),l(sn),l(on),l(mt),l(an),l(ft),l(rn),l(pn),l(dt),l(mn),l($t),l(fn),l(ht),l(un),l(bt),l(dn),l($n),l(ct),l(hn),l(bn),l(gt),l(yn),l(cn),l(vt),l(wn),l(gn),l(Ct),l(Mn),l(vn),l(N),l(Tn),l(Cn),l(_t)),l(p),b(m,e),b(U,e),b(J,e),b(W,e),b(V,e),b(F,e),b(z,e),b(O,e),b(ee,e),b(te,e),b(se,e),b(ae,e),b(me,e),b(ue,e),b(G,e),b(de,e),b(be,e),b(ye,e),b(we,e),b(Me,e),b(ve,e),b(Ce,e),b(Je,e),b(Le,e),b(je),b(Ie,e),b(He,e),b(Ge,e),b(Be,e),b(Ne,e),b(S,e),b(Ae,e),b(Xe,e),b(Ye,e),b(De,e),b(qe,e),b(lt,e),b(it,e),b(ot,e),b(at,e),b(pt,e),b(ut,e),b(yt,e),b(wt,e),b(Mt,e),b(Tt,e),b(xt,e),b(Ut,e)}}}const Oi='{"title":"LeKiwi","local":"lekiwi","sections":[{"title":"Source the parts","local":"source-the-parts","sections":[{"title":"Wired version","local":"wired-version","sections":[],"depth":3}],"depth":2},{"title":"Install software on Pi","local":"install-software-on-pi","sections":[{"title":"Install OS","local":"install-os","sections":[],"depth":3},{"title":"Setup SSH","local":"setup-ssh","sections":[],"depth":3},{"title":"Install LeRobot on Pi 🤗","local":"install-lerobot-on-pi-","sections":[],"depth":3}],"depth":2},{"title":"Install LeRobot locally","local":"install-lerobot-locally","sections":[],"depth":2}],"depth":1}';function qi(k){return Bi(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ss extends Pi{constructor(p){super(),Ni(this,p,qi,Di,Si,{})}}export{ss as component};
