# PyCyphal

**URL:** https://forum.opencyphal.org/c/app/pycyphal/9.md?page=1

[Latest](https://forum.opencyphal.org/latest.md) · [Categories](https://forum.opencyphal.org/categories.md)

**Page:** 2

---

## [Using Pyuavcan on Windows](https://forum.opencyphal.org/t/using-pyuavcan-on-windows/903)

<div class="topic-metadata">

**Author:** [@polaris](https://forum.opencyphal.org/u/polaris)\
**Replies:** 28\
**Last updated:** [December 8, 2020, 1:05pm UTC](https://forum.opencyphal.org/t/using-pyuavcan-on-windows/903 "2020-12-08T13:05:10Z")

</div>

Hello, is it at the moment possible to use Pyuavcan library on a Windows PC? I have tried to install it and found out, that usage of python-can library is not implemented yet. I have some CAN adapters (Kvaser and Peak) b…

---

## [Pytest results for Python-CAN](https://forum.opencyphal.org/t/pytest-results-for-python-can/1009)

<div class="topic-metadata">

**Author:** [@polaris](https://forum.opencyphal.org/u/polaris)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 5:33pm UTC](https://forum.opencyphal.org/t/pytest-results-for-python-can/1009 "2020-11-23T17:33:42Z")

</div>

Hello, as discussed, here is some logs for pytest running for Python-CAN implementation. Pytest was started from \\tests\\transport\\can WARNING asyncio:base\_events.py:1854 Executing \<Task pending name='Task-60' coro=\<\_u…

---

## [PyUAVCAN v1.1.dev3 is available](https://forum.opencyphal.org/t/pyuavcan-v1-1-dev3-is-available/999)

<div class="topic-metadata">

**Author:** [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Replies:** 2\
**Last updated:** [November 16, 2020, 5:25pm UTC](https://forum.opencyphal.org/t/pyuavcan-v1-1-dev3-is-available/999 "2020-11-16T17:25:24Z")

</div>

I just merged #132, which fixed eight outstanding issues and introduced a couple of UX improvements. All these have been discussed on this forum and on GitHub a number of times. This release is fully compliant with Speci…

---

## [Unknown directive 'sealed' error when trying to generate from DSDL](https://forum.opencyphal.org/t/unknown-directive-sealed-error-when-trying-to-generate-from-dsdl/955)

<div class="topic-metadata">

**Author:** [@sdo91](https://forum.opencyphal.org/u/sdo91)\
**Replies:** 16\
**Last updated:** [November 2, 2020, 6:36pm UTC](https://forum.opencyphal.org/t/unknown-directive-sealed-error-when-trying-to-generate-from-dsdl/955 "2020-11-02T18:36:37Z")

</div>

I am getting started with UAVCAN, and I read the guide here: https://forum.opencyphal.org/t/the-uavcan-guide/778/4 I’m trying to follow along with the guide, but I am having issues trying to generate python packages from DS…

---

## [\[UAVCAN v0\] DSDL file paths in windows](https://forum.opencyphal.org/t/uavcan-v0-dsdl-file-paths-in-windows/969)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 4\
**Last updated:** [October 28, 2020, 3:50pm UTC](https://forum.opencyphal.org/t/uavcan-v0-dsdl-file-paths-in-windows/969 "2020-10-28T15:50:42Z")

</div>

Hi! I am using pyinstaller to generate a Windows .exe file out of my python project. When execuring the .exe file it complains about missing DSDL path (path goes to …/AppData/Local/Temp/… etc) when calling load\_dsdl() …

---

## [DSDL compilation error](https://forum.opencyphal.org/t/dsdl-compilation-error/904)

<div class="topic-metadata">

**Author:** [@polaris](https://forum.opencyphal.org/u/polaris)\
**Replies:** 5\
**Last updated:** [August 6, 2020, 10:14am UTC](https://forum.opencyphal.org/t/dsdl-compilation-error/904 "2020-08-06T10:14:23Z")

</div>

Hello, I have just tried to compile a DSDL libryry from https://github.com/UAVCAN/public\_regulated\_data\_types/archive/master.zip according the manual from https://pyuavcan.readthedocs.io/en/latest/pages/usage.html, but t…

---

## [Call and pub commands in basic usage demo](https://forum.opencyphal.org/t/call-and-pub-commands-in-basic-usage-demo/893)

<div class="topic-metadata">

**Author:** [@lellisjr](https://forum.opencyphal.org/u/lellisjr)\
**Replies:** 8\
**Last updated:** [August 6, 2020, 9:35am UTC](https://forum.opencyphal.org/t/call-and-pub-commands-in-basic-usage-demo/893 "2020-08-06T09:35:48Z")

</div>

Ref: Pyuavcan 1.1.0.dev1, Windows 10, Python 3.8.2, UDP/Loopback. Hi Everyone! I’m a beginner trying evaluating the demo. Heartbeats are being subscribed and diagnostic session is waiting for demo publications. However…

---

## [Removal of all pre-v1.1 versions of PyUAVCAN from PyPI](https://forum.opencyphal.org/t/removal-of-all-pre-v1-1-versions-of-pyuavcan-from-pypi/802)

<div class="topic-metadata">

**Author:** [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Replies:** 0\
**Last updated:** [April 12, 2020, 12:37pm UTC](https://forum.opencyphal.org/t/removal-of-all-pre-v1-1-versions-of-pyuavcan-from-pypi/802 "2020-04-12T12:37:36Z")

</div>

I am going to pull all releases of PyUAVCAN from PyPI prior to v1.1.0.dev0 because currently, the Python ecosystem prefers older releases if they do not contain .dev in the tag. https://pypi.org/project/pyuavcan/#hist…

---

## [NestedRootNamespaceError in Basic usage demo](https://forum.opencyphal.org/t/nestedrootnamespaceerror-in-basic-usage-demo/794)

<div class="topic-metadata">

**Author:** [@Tecnologic](https://forum.opencyphal.org/u/Tecnologic)\
**Replies:** 6\
**Last updated:** [March 31, 2020, 7:08pm UTC](https://forum.opencyphal.org/t/nestedrootnamespaceerror-in-basic-usage-demo/794 "2020-03-31T19:08:02Z")

</div>

Hi All, i’m trying to start with spec v1 and pyuavcan on my windows desktop machine and a slcan adapter. To start is used the basic demo from the pyuavcan documentation and wanted to run that. I changed the paths of pub…

---

## [Uavcan and raspberry pi](https://forum.opencyphal.org/t/uavcan-and-raspberry-pi/592)

<div class="topic-metadata">

**Author:** [@Malis](https://forum.opencyphal.org/u/Malis)\
**Replies:** 12\
**Last updated:** [December 24, 2019, 10:23pm UTC](https://forum.opencyphal.org/t/uavcan-and-raspberry-pi/592 "2019-12-24T22:23:46Z")

</div>

Hi, I was trying to set up my raspberry pi 3b to communicate to a device via pyuavcan. Is there any tutorial on how to set it up and smoke testing? Best regards, Malis

---

## [UAVCAN CLI control on RPi over SSH](https://forum.opencyphal.org/t/uavcan-cli-control-on-rpi-over-ssh/719)

<div class="topic-metadata">

**Author:** [@ka\_ru](https://forum.opencyphal.org/u/ka_ru)\
**Replies:** 9\
**Last updated:** [December 24, 2019, 11:24am UTC](https://forum.opencyphal.org/t/uavcan-cli-control-on-rpi-over-ssh/719 "2019-12-24T11:24:35Z")

</div>

I would like to use the CLI to send a new RPM to the Motor. There are examples of a command line. thanks. Andrew.

---

## [PyUAVCAN in Jupyter](https://forum.opencyphal.org/t/pyuavcan-in-jupyter/680)

<div class="topic-metadata">

**Author:** [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Replies:** 0\
**Last updated:** [November 10, 2019, 7:35pm UTC](https://forum.opencyphal.org/t/pyuavcan-in-jupyter/680 "2019-11-10T19:35:32Z")

</div>

They support top-level await statements now in Jupyter. You can run the event loop with the network stack in the background while tinkering with the notebook. I made this quick demo here, check it out: https://github.c…

---

## [PyUAVCAN v0.3 is released](https://forum.opencyphal.org/t/pyuavcan-v0-3-is-released/641)

<div class="topic-metadata">

**Author:** [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 4:00am UTC](https://forum.opencyphal.org/t/pyuavcan-v0-3-is-released/641 "2019-10-14T04:00:52Z")

</div>

PyUAVCAN v0.3 is out; read the description at pyuavcan.readthedocs.io. This is the first release ready for public use of a rewrite that implements UAVCAN v1.0 — the long-term stable version of the protocol. The rele…

---

## [Reading CAN bus from pixhawk CAN port to RPI](https://forum.opencyphal.org/t/reading-can-bus-from-pixhawk-can-port-to-rpi/631)

<div class="topic-metadata">

**Author:** [@bduva002](https://forum.opencyphal.org/u/bduva002)\
**Replies:** 8\
**Last updated:** [October 3, 2019, 8:07am UTC](https://forum.opencyphal.org/t/reading-can-bus-from-pixhawk-can-port-to-rpi/631 "2019-10-03T08:07:24Z")

</div>

Hello all, I am using a RPI 3b+ with a MIKROE CAN to SPI 3.3 volt click board. I am attempting to read RAWIMU through the can bus port on the pixhawk. I am using socket can and was able to test my hardware setup and am …

---

## [Error in simple script](https://forum.opencyphal.org/t/error-in-simple-script/598)

<div class="topic-metadata">

**Author:** [@Malis](https://forum.opencyphal.org/u/Malis)\
**Replies:** 1\
**Last updated:** [August 21, 2019, 2:28pm UTC](https://forum.opencyphal.org/t/error-in-simple-script/598 "2019-08-21T14:28:59Z")

</div>

Hi guys, With the following script # Hello World program in Python import uavcan # Instantiating an instance of standard service type uavcan.protocol.GetNodeInfo # Here we need the response data structure, which is …

---

## [PyUAVCAN design thread](https://forum.opencyphal.org/t/pyuavcan-design-thread/504)

<div class="topic-metadata">

**Author:** [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Replies:** 8\
**Last updated:** [August 7, 2019, 8:05pm UTC](https://forum.opencyphal.org/t/pyuavcan-design-thread/504 "2019-08-07T20:05:54Z")

</div>

I have moved my rewrite of PyUAVCAN v1.0 from my personal fork back into the UAVCAN org: https://github.com/UAVCAN/pyuavcan/tree/uavcan-v1.0 At this point, the most critical parts of the library seem more or less finish…

---

## [Scripting from the interactive console](https://forum.opencyphal.org/t/scripting-from-the-interactive-console/527)

<div class="topic-metadata">

**Author:** [@Phantom329](https://forum.opencyphal.org/u/Phantom329)\
**Replies:** 1\
**Last updated:** [June 15, 2019, 8:41pm UTC](https://forum.opencyphal.org/t/scripting-from-the-interactive-console/527 "2019-06-15T20:41:59Z")

</div>

I am trying to run a periodic stress test by cycling an ESC on and off every 20 min. I also need throttle (ideally current control) and I wrote a script. I am not great at coding and I can’t figure out why the entire gui…

---

## [Get union type in python](https://forum.opencyphal.org/t/get-union-type-in-python/343)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 1\
**Last updated:** [February 3, 2019, 10:19am UTC](https://forum.opencyphal.org/t/get-union-type-in-python/343 "2019-02-03T10:19:22Z")

</div>

Hi! This is rather a simple python question than a pyuavcan question perhaps… But how do I detect the union type of a broadcasted message payload? Lets say a broadcasted message contains uavcan.protocol.param.Value and…

---

## [Blocking request call](https://forum.opencyphal.org/t/blocking-request-call/337)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 1\
**Last updated:** [January 27, 2019, 8:04pm UTC](https://forum.opencyphal.org/t/blocking-request-call/337 "2019-01-27T20:04:55Z")

</div>

Hi! Is there a built in blocking function for node.request(…)? Or perhaps I need to implement a similar as the c++ performBlockingServiceCall() helper function…? BR

---

## [GlobalTimeSyncMaster](https://forum.opencyphal.org/t/globaltimesyncmaster/333)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 10:38am UTC](https://forum.opencyphal.org/t/globaltimesyncmaster/333 "2019-01-23T10:38:10Z")

</div>

Is there a way to create a time sync master using pyuavcan? I cannot find an application for it, similar to libuavcan (uavcan::GlobalTimeSyncMaster). Kind Regards

---

## [Vendor specific type](https://forum.opencyphal.org/t/vendor-specific-type/303)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 2\
**Last updated:** [December 21, 2018, 10:28pm UTC](https://forum.opencyphal.org/t/vendor-specific-type/303 "2018-12-21T22:28:31Z")

</div>

Hi! According to specification at https://uavcan.org/Implementations/Pyuavcan/Tutorials/2.\_Basic\_usage/ pyuavcen loads vendor specific DSDLs when loaded (import uavcan). I have places my own definitions at this locati…

---

## [Error when compiling DSDLs](https://forum.opencyphal.org/t/error-when-compiling-dsdls/242)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 5\
**Last updated:** [November 13, 2018, 7:16pm UTC](https://forum.opencyphal.org/t/error-when-compiling-dsdls/242 "2018-11-13T19:16:20Z")

</div>

Suddenly, without adding any strange characters in my DSDLs, I get the following compile error Compiler failure Traceback (most recent call last): File "/usr/local/bin/libuavcan\_dsdlc", line 61, in \<module\> dsdlc\_…

[Previous page](https://forum.opencyphal.org/c/app/pycyphal/9.md)
