The USB-C Clickshare is just an external Network card.
Get the password of the Clickshare network and connect to it.
Replace wlan0
by your own card:
sudo iw dev wlan0 interface add wlanvirt type station
{{define "invite_body"}} | |
<!-- FILE: invite_body.mjml --> | |
<!doctype html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<head> | |
<title> | |
</title> | |
<!--[if !mso]><!--> |
Exception in thread Thread-9: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner | |
self.run() | |
File "/usr/lib/python3.7/threading.py", line 865, in run | |
self._target(*self._args, **self._kwargs) | |
File "/home/poppy/pyenv/lib/python3.7/site-packages/pypot/utils/stoppablethread.py", line 130, in _wrapped_target | |
self._target() | |
File "/home/poppy/pyenv/lib/python3.7/site-packages/pypot/utils/stoppablethread.py", line 205, in run | |
make_update_loop(self, self._update) |
usb_cam
qui ouvre l'image de la webcam et la publie sur sur un topic (pour tester, affichez-la avec le package image_viewer
)color.py
qui calcule la couleur dominante de l'image de ce topic et l'écrit dans le terminalmove_turtle.py
qui fait dessiner un carré à la tortue de turtlesim
turtlesim
et move_turtle.py
en tapantn roslaunch formation dessin.launch
square
ou circle
dans un paramètre /shape
du serveur de paramètres selon ce qui est passé en argument e.g. draw.launch shape:=circle
#!/bin/bash | |
type convert || exit(1); | |
for i in Capture*png; do | |
convert "$i" \ | |
-region 1600x800+300+200 -blur 0x9 \ | |
"tmp-$i"; | |
convert "tmp-$i" \ | |
-crop 1920x930+0+120 \ |
find -type f | rev | cut -d. -f 1 | rev | sort | uniq -c | sort -n |
sudo losetup 2020-10-23-poppy-torso.img -Pf
ll /dev/loop*
Then find the partition there eg /dev/loop15p2
mdkir -p mnt