Send DMX data from ALF file to upload using ola/libartnet

オープン
#1,908 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp
領域
api, networking

調査の方向性

Start by reviewing the referenced ola/DmxBuffer.h, ola/client/StreamingClient.h, and ola/client/StreamingClientOptions.h headers to determine whether the existing API supports firmware upload from an ALF file over Art-Net. The issue needs a maintainer decision on support and scope; done would be documentation describing the supported process, or a clearly defined implementation task if it is not supported.

索引モデルが issue の本文から書いたものです。

説明

I was wondering if firmware upload of an ALF file was supported using the built in libartnet library.

If it is supported, where might I find the documentation in creating the libartnet code to upload a firmware file?

Here is some of the code that I have as a work in progress:

#include
#include
#include <ola/DmxBuffer.h>
#include <ola/Logging.h>
#include <ola/client/StreamingClient.h>
#include <ola/client/StreamingClientOptions.h>

int main() {
// Initialize OLA logging
ola::InitLogging(ola::OLA_LOG_INFO, ola::OLA_LOG_STDERR);

// Create an OLA streaming client
ola::client::StreamingClientOptions options;
ola::client::StreamingClient ola_client(options);

// Set the target device's IP address
std::string target_ip = "2.0.0.1";

// Create a DMX buffer
ola::DmxBuffer buffer;

for (int i = 0; i < 512; ++i) {
    buffer[i] = rand() % 256;
}

// Send the DMX data (ALF) to the target device over Art-Net
if (ola_client.SendDmx(target_ip, 0, buffer)) {
    std::cout << "ALF data sent successfully to " << target_ip << std::endl;
} else {
    std::cerr << "Failed to send ALF data to " << target_ip << std::endl;
    return 1;
}

return 0;

}

主要言語
C++
スター
771
フォーク
234
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenLightingProject/ola のほかの issue

OpenLightingProject/ola の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。