# Applications & Usage

**URL:** https://forum.opencyphal.org/c/app/6.md?page=13

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

**Page:** 14

---

## [Stack behavior if error\_passive](https://forum.opencyphal.org/t/stack-behavior-if-error-passive/700)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 3\
**Last updated:** [December 6, 2019, 8:59pm UTC](https://forum.opencyphal.org/t/stack-behavior-if-error-passive/700 "2019-12-06T20:59:48Z")

</div>

How does the stack handle underlying errors in socketCan such as when it enters error states? For example ERROR-PASSIVE or BUS-OFF? I do not see an error code for it in error.hpp, if not ErrFailure is used for it? Or …

---

## [Which libuavcan branch for new project](https://forum.opencyphal.org/t/which-libuavcan-branch-for-new-project/701)

<div class="topic-metadata">

**Author:** [@Tecnologic](https://forum.opencyphal.org/u/Tecnologic)\
**Replies:** 4\
**Last updated:** [December 3, 2019, 7:28pm UTC](https://forum.opencyphal.org/t/which-libuavcan-branch-for-new-project/701 "2019-12-03T19:28:51Z")

</div>

Hi all, i was starting to integrate uavcan in my project. First i cloned the master branch but than i saw that the uavcan\_v1.0 is even more active in terms of commits. While reading here i found out that there is a gene…

---

## [Wrong union tag size](https://forum.opencyphal.org/t/wrong-union-tag-size/688)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 5\
**Last updated:** [November 24, 2019, 1:21pm UTC](https://forum.opencyphal.org/t/wrong-union-tag-size/688 "2019-11-24T13:21:57Z")

</div>

I do not know if my topic below is related to https://forum.opencyphal.org/t/custom-message-signature-fail/372 but, here I go: I have a DSDL definition that looks like: myDSDL.uavcan @union uint8 value1 uint8 value2 uint…

---

## [Which ID for uavcan.equipment.actuator.Command](https://forum.opencyphal.org/t/which-id-for-uavcan-equipment-actuator-command/694)

<div class="topic-metadata">

**Author:** [@polaris](https://forum.opencyphal.org/u/polaris)\
**Replies:** 1\
**Last updated:** [November 22, 2019, 6:23pm UTC](https://forum.opencyphal.org/t/which-id-for-uavcan-equipment-actuator-command/694 "2019-11-22T18:23:56Z")

</div>

Hello, I am using libcanard and want to add actuator support based on your tutorial, so I need to have two things: UAVCAN ID and DSDL signature. I can find the signature value here: https://forum.opencyphal.org/t/data-type-…

---

## [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…

---

## [Is Yukon for software developers or system engineers?](https://forum.opencyphal.org/t/is-yukon-for-software-developers-or-system-engineers/673)

<div class="topic-metadata">

**Author:** [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Replies:** 1\
**Last updated:** [November 7, 2019, 6:34pm UTC](https://forum.opencyphal.org/t/is-yukon-for-software-developers-or-system-engineers/673 "2019-11-07T18:34:03Z")

</div>

I ask this because I suddenly realized I never considered this question before. It seems like there are two types of tools we could build but the system engineer actor seems very different from the software developer. Th…

---

## [Supporting UAVCAN v1 in PX4 v1.11](https://forum.opencyphal.org/t/supporting-uavcan-v1-in-px4-v1-11/658)

<div class="topic-metadata">

**Author:** [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Replies:** 8\
**Last updated:** [November 7, 2019, 3:03pm UTC](https://forum.opencyphal.org/t/supporting-uavcan-v1-in-px4-v1-11/658 "2019-11-07T15:03:03Z")

</div>

This post outlines the scope of the upcoming modifications to PX4 associated with the release of UAVCAN v1.0. The plan is to replace UAVCAN v0 with v1 in PX4 v1.11, whose release is scheduled in March 2020. The work on …

---

## [Static deque for CANFD ISR buffer](https://forum.opencyphal.org/t/static-deque-for-canfd-isr-buffer/649)

<div class="topic-metadata">

**Author:** [@noxuz](https://forum.opencyphal.org/u/noxuz)\
**Replies:** 3\
**Last updated:** [October 18, 2019, 5:34pm UTC](https://forum.opencyphal.org/t/static-deque-for-canfd-isr-buffer/649 "2019-10-18T17:34:32Z")

</div>

Regarding the S32K driver layer for libuavcan, the current implementation uses an almost naive use of the deque STL for limiting the size of the RX queue as shown briefly next: if (RX\_ISRframeCount &lt;= Frame\_Capactiy …

---

## [UAVCAN v1: Branch swap in the public regulated data type repository](https://forum.opencyphal.org/t/uavcan-v1-branch-swap-in-the-public-regulated-data-type-repository/648)

<div class="topic-metadata">

**Author:** [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Replies:** 0\
**Last updated:** [October 15, 2019, 6:47am UTC](https://forum.opencyphal.org/t/uavcan-v1-branch-swap-in-the-public-regulated-data-type-repository/648 "2019-10-15T06:47:36Z")

</div>

The public regulated data type repository has been updated so that the v0 data types are now located in a branch named legacy-v0 instead of master. The new master contains the v1 definitions which used to reside under ua…

---

## [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…

---

## [Libuavcan CubeMX FreeRTOS SystemWorkbenchForSTM32](https://forum.opencyphal.org/t/libuavcan-cubemx-freertos-systemworkbenchforstm32/430)

<div class="topic-metadata">

**Author:** [@raimondas](https://forum.opencyphal.org/u/raimondas)\
**Replies:** 28\
**Last updated:** [October 13, 2019, 3:37pm UTC](https://forum.opencyphal.org/t/libuavcan-cubemx-freertos-systemworkbenchforstm32/430 "2019-10-13T15:37:25Z")

</div>

Hello, I am trying to implement libuavcan on stm32f103tb6 (36 pins) mcu using cubemx generated project with freertos on system workbench IDE. Just for simplicity I am using generated project and IDE gives fast conversi…

---

## [uavcan::Timer vs suspend to RAM](https://forum.opencyphal.org/t/uavcan-timer-vs-suspend-to-ram/640)

<div class="topic-metadata">

**Author:** [@deekay](https://forum.opencyphal.org/u/deekay)\
**Replies:** 3\
**Last updated:** [October 13, 2019, 9:45am UTC](https://forum.opencyphal.org/t/uavcan-timer-vs-suspend-to-ram/640 "2019-10-13T09:45:35Z")

</div>

Hi! I am experimenting with suspend to RAM power saving feature on my debian platform while using uavcan::Timer. As I understand, uavcan::Timer uses software timer (clock\_gettime with CLOCK\_ MONOTONIC) and therefore doe…

---

## [Pyuavcan -\> Nunavut migration?](https://forum.opencyphal.org/t/pyuavcan-nunavut-migration/636)

<div class="topic-metadata">

**Author:** [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Replies:** 5\
**Last updated:** [October 4, 2019, 8:31pm UTC](https://forum.opencyphal.org/t/pyuavcan-nunavut-migration/636 "2019-10-04T20:31:32Z")

</div>

I believe this is in line with what we discussed but I’m wondering if you are ready to do this: https://github.com/thirtytwobits/nunavut/tree/milestone/0.1.5 You’ll notice I’ve copied all the pyuavcan jinja over into N…

---

## [Libuavcan driver for STM32H7?](https://forum.opencyphal.org/t/libuavcan-driver-for-stm32h7/360)

<div class="topic-metadata">

**Author:** [@tridge](https://forum.opencyphal.org/u/tridge)\
**Replies:** 8\
**Last updated:** [October 4, 2019, 6:18am UTC](https://forum.opencyphal.org/t/libuavcan-driver-for-stm32h7/360 "2019-10-04T06:18:59Z")

</div>

Has anyone written a libuavcan driver for STM32H7xx? It uses a new FDCAN peripheral, so it looks like some quite significant changes from the F4/F7 driver. If nobody else has done one then I will try to do one. I’m deve…

---

## [Nunavut 0.1.5 is released!](https://forum.opencyphal.org/t/nunavut-0-1-5-is-released/626)

<div class="topic-metadata">

**Author:** [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Replies:** 0\
**Last updated:** [September 26, 2019, 4:27am UTC](https://forum.opencyphal.org/t/nunavut-0-1-5-is-released/626 "2019-09-26T04:27:18Z")

</div>

With 0.1.5 Nunavut moves closer to becoming a single code generator for any and all projects using dsdl. Language support was enhanced with the addition of stropping for C/C++ and Python and the lang package was refactor…

---

## [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 …

---

## [What data for which node?](https://forum.opencyphal.org/t/what-data-for-which-node/625)

<div class="topic-metadata">

**Author:** [@256shadesofgrey](https://forum.opencyphal.org/u/256shadesofgrey)\
**Replies:** 1\
**Last updated:** [October 2, 2019, 2:34am UTC](https://forum.opencyphal.org/t/what-data-for-which-node/625 "2019-10-02T02:34:57Z")

</div>

Hello, I want to implement the UAVCAN protocol via libcanard on a motor controller. What I couldn’t deduce from looking at the documentation is, how do nodes decide what information to take from the messages. For examp…

---

## [Structure of libcanard publisher](https://forum.opencyphal.org/t/structure-of-libcanard-publisher/609)

<div class="topic-metadata">

**Author:** [@VladKost](https://forum.opencyphal.org/u/VladKost)\
**Replies:** 1\
**Last updated:** [September 6, 2019, 8:50am UTC](https://forum.opencyphal.org/t/structure-of-libcanard-publisher/609 "2019-09-06T08:50:58Z")

</div>

Good day. I’m new in UAVCAN and trying to understand how to create Publishers in libcanard. For now I have 3 test publishers: for 1060.Fix, 1061.Auxiliary and 1063.Fix2. For them I used “show\_data\_type\_info.py” inside l…

---

## [Uavcan gui tool toggling messages (mac os)](https://forum.opencyphal.org/t/uavcan-gui-tool-toggling-messages-mac-os/606)

<div class="topic-metadata">

**Author:** [@Malis](https://forum.opencyphal.org/u/Malis)\
**Replies:** 1\
**Last updated:** [August 30, 2019, 7:36pm UTC](https://forum.opencyphal.org/t/uavcan-gui-tool-toggling-messages-mac-os/606 "2019-08-30T19:36:14Z")

</div>

Hi guys, On the uavcan tool on mac os, I m checking the network through my Zubax babel. I can see the node number 10 (an external device that I programmed) toggling on and off on the tool. The console output this mess…

---

## [Libuavcan RX timestamps on S32K](https://forum.opencyphal.org/t/libuavcan-rx-timestamps-on-s32k/603)

<div class="topic-metadata">

**Author:** [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Replies:** 0\
**Last updated:** [August 26, 2019, 7:46pm UTC](https://forum.opencyphal.org/t/libuavcan-rx-timestamps-on-s32k/603 "2019-08-26T19:46:37Z")

</div>

Answering @noxuz here about the FlexCAN peripheral’s 16-bit timestamps (see 53.4.2.4 of the S32K reference manual: https://www.nxp.com/docs/en/reference-manual/S32K-RM.pdf) My assumption is that you can clock this timer…

---

## [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 …

---

## [Show\_data\_type\_info.py script gives different signatures for one custom message](https://forum.opencyphal.org/t/show-data-type-info-py-script-gives-different-signatures-for-one-custom-message/539)

<div class="topic-metadata">

**Author:** [@Sergey\_Frolov](https://forum.opencyphal.org/u/Sergey_Frolov)\
**Replies:** 4\
**Last updated:** [August 19, 2019, 5:18am UTC](https://forum.opencyphal.org/t/show-data-type-info-py-script-gives-different-signatures-for-one-custom-message/539 "2019-08-19T05:18:07Z")

</div>

Hello. I have any troubles with calculating signature for custom message. If I use python 2.7 I get a valid value of signature (0x2bde13409f972973). If I use Python 3.7 and-c prefix I get another value of signature…(0x5e…

---

## [FirmfareUpdate. File reading failed](https://forum.opencyphal.org/t/firmfareupdate-file-reading-failed/595)

<div class="topic-metadata">

**Author:** [@Sergey\_Frolov](https://forum.opencyphal.org/u/Sergey_Frolov)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 5:03am UTC](https://forum.opencyphal.org/t/firmfareupdate-file-reading-failed/595 "2019-08-19T05:03:51Z")

</div>

Hello. I have a trouble in firmware updating through GUI tool. I get request for firmware updating with OK, get File Info with OK. Then file reading begins. In bus monitor I see, that first 1024 bytes (4 packets with 256…

---

## [How does libcacard implement automatic allocation of node ID?](https://forum.opencyphal.org/t/how-does-libcacard-implement-automatic-allocation-of-node-id/593)

<div class="topic-metadata">

**Author:** [@YGQ](https://forum.opencyphal.org/u/YGQ)\
**Replies:** 1\
**Last updated:** [August 15, 2019, 11:45am UTC](https://forum.opencyphal.org/t/how-does-libcacard-implement-automatic-allocation-of-node-id/593 "2019-08-15T11:45:21Z")

</div>

I currently use canardSetLocalNodeID to assign an ID, but I want to use dynamic allocation, as if I don’t have this feature in libcanard

---

## [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…

---

## [uavcan.protocol.file.BeginFirmwareUpdate](https://forum.opencyphal.org/t/uavcan-protocol-file-beginfirmwareupdate/541)

<div class="topic-metadata">

**Author:** [@YGQ](https://forum.opencyphal.org/u/YGQ)\
**Replies:** 8\
**Last updated:** [August 6, 2019, 5:08am UTC](https://forum.opencyphal.org/t/uavcan-protocol-file-beginfirmwareupdate/541 "2019-08-06T05:08:11Z")

</div>

Hello, now my UAVCAN node received this message and implemented a jump to the bootloader. Now how should I handle the firmware upgrade? Is it possible to call uavcan.protocol.file.Read directly, but I think it is There s…

---

## [Uavcan\_gui\_tool unrecognized message 1027 (windows)](https://forum.opencyphal.org/t/uavcan-gui-tool-unrecognized-message-1027-windows/561)

<div class="topic-metadata">

**Author:** [@lucas](https://forum.opencyphal.org/u/lucas)\
**Replies:** 2\
**Last updated:** [August 2, 2019, 12:15pm UTC](https://forum.opencyphal.org/t/uavcan-gui-tool-unrecognized-message-1027-windows/561 "2019-08-02T12:15:29Z")

</div>

Hello, I am doing some testing with UAVCAN, using the legacy v0.x version, for now. Having developed a prototype on a Linux machine, passed it over to a colleague using Windows. The uavcan\_gui\_tool on my machine (v0.9…

---

## [What are the parameters CanardOnTransferReception on\_reception and CanardShouldAcceptTransfer should\_accept in canardInit?](https://forum.opencyphal.org/t/what-are-the-parameters-canardontransferreception-on-reception-and-canardshouldaccepttransfer-should-accept-in-canardinit/449)

<div class="topic-metadata">

**Author:** [@YGQ](https://forum.opencyphal.org/u/YGQ)\
**Replies:** 1\
**Last updated:** [August 1, 2019, 10:08pm UTC](https://forum.opencyphal.org/t/what-are-the-parameters-canardontransferreception-on-reception-and-canardshouldaccepttransfer-should-accept-in-canardinit/449 "2019-08-01T22:08:34Z")

</div>

How should these two parameters be understood?

---

## [3 can bus on stm32f4](https://forum.opencyphal.org/t/3-can-bus-on-stm32f4/567)

<div class="topic-metadata">

**Author:** [@kent.martin](https://forum.opencyphal.org/u/kent.martin)\
**Replies:** 4\
**Last updated:** [July 31, 2019, 3:38pm UTC](https://forum.opencyphal.org/t/3-can-bus-on-stm32f4/567 "2019-07-31T15:38:43Z")

</div>

Hi all, I have successfully got libcanard running on the stm32f413. I have only got one port to work at a time bit all 3 have run. My goal is to have all 3 running at once with 3 different can busses. So a few questio…

---

## [Time abstractions for libuavcan v1](https://forum.opencyphal.org/t/time-abstractions-for-libuavcan-v1/568)

<div class="topic-metadata">

**Author:** [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 9:41am UTC](https://forum.opencyphal.org/t/time-abstractions-for-libuavcan-v1/568 "2019-07-30T09:41:36Z")

</div>

In the latest commit to the v1 branch of libuavcan we have ported the old time.hpp abstraction over but have yet to provide more definition for system time. We do have monotonic timestamps on received frames that are doc…

[Previous page](https://forum.opencyphal.org/c/app/6.md?page=12)

[Next page](https://forum.opencyphal.org/c/app/6.md?page=14)
