CANAble2.0でCANをしゃべるくん GitHub - TomiXRM/CANViewer: CANAble2.0でCANをしゃべるくん
CANable2.0(slcan)でCAN通信をするGUIアプリケーションです。PyQt6で実装されています。
CANでデータを送信してCANを動かす時などに使えるおもちゃです。
Mac,Ubuntu,Windowsで動作確認済みです!
※現在送信にしか対応していないです。受信にも対応予定。
※いつかSocketCANにも対応させます
- CANable2.0(slcan)デバイスが用意されていること
- Pythonがインストールされていること
- Poetryがインストールされていること
-
ターミナルを開きます。
-
Pythonアプリケーションが格納されているディレクトリに移動します。
cd path/to/your/python/application
-
Poetryを使用して依存関係を解決し、仮想環境を作成します。
poetry install
-
アプリケーションを起動します。
make
- インターバル送信
- 単発送信
- Poetryがインストールされていない場合は、事前にインストールする必要があります。
- Poetryを使用して依存関係を解決することで、Pythonアプリケーションの実行に必要なパッケージが自動的にインストールされます。
- **
make
**を使用することで、Poetryが管理する仮想環境内でPythonアプリケーションを実行します。
CAN talker with CANAble2.0 GitHub - TomiXRM/CANViewer: CAN talker with CANAble2.0
A GUI application for CAN communication with CANable2.0 (slcan). Implemented with PyQt6.
A toy that can be used when sending data via CAN to operate CAN.
Operation confirmed on Mac, Ubuntu, and Windows!
*Currently only supports sending. Receiving will also be supported.
*We will make it compatible with SocketCAN someday.
-
A CANable2.0 (slcan) device must be prepared.
-
Python must be installed.
-
Poetry must be installed.
-
Open a terminal.
-
Change to the directory where the Python application is stored.
cd path/to/your/python/application
- Use Poetry to resolve dependencies and create a virtual environment.
poetry install
- Start the application.
make
- Interval transmission
- Single transmission
- If Poetry is not installed, you must install it in advance.
- By using Poetry to resolve dependencies, packages required to run Python applications are automatically installed.
- By using
make
, Python applications are run in a virtual environment managed by Poetry.