Télécharger Imprimer la page

ez-wheel SWD Notice D'instruction page 132

Publicité

Method B: Use an IPC with swd-services Debian package.
6.b
Install the package:
sudo
echo "deb http://packages.ez-wheel.com:8081/apt-repo focal main"
/etc/apt/sources.list
sudo
wget
-qO
- http://packages.ez-wheel.com:8081/archive.key
sudo
apt-get update
sudo
apt install swd-services
7.b
Configure D-Bus session (Optional if already one exists):
unset
LD_LIBRARY_PATH
/usr/bin/dbus-launch
8.b
Configure CAN bus on Linux socket (Optional if already configured):
sudo
ip link set down can0
sudo
ip link set can0 up type can bitrate
sudo
ip link set can0 txqueuelen
9.b
Create symbolic link of the remote script (Optional):
ln
-s
/opt/ezw/usr/sbin/remote.py ~
10.b
Start ezw-smc-service:
export
$(cat
/tmp/SYS*.id)
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ezw/usr/lib
/opt/ezw/usr/bin/ezw-smc-service
core/drive_config.ini
Success if you can see those logs:
- "Initialize PDO success."
- "Initializing dbus service!"
11.b
Start your remote in a new terminal:
~/remote.py smc_drive
Keyboard commands are listed at the end.
NB: For further information, see our GitHub: https://github.com/ezWheelSAS/.
Version 2.0.2_FR – 31/10/2023 - SWD®
>
/tmp/SYSTEMCTL_dbus.id
1000
/opt/ezw/usr/etc/ezw-smc-
NOTICE D'INSTRUCTION
1000000
restart-ms
SWD®
>>
|
apt-key
add -
100
Page 132 sur 132

Publicité

loading