# UAVCAN v1.0 effort: Pyuavcan dev32 and Libcanard v0.2 were released today

**URL:** <https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345>\
**Category:** Applications & Usage\
**Created:** [February 3, 2019, 11:18pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345 "2019-02-03T23:18:58Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 3, 2019, 11:18pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/1 "2019-02-03T23:18:58Z")

</div>

Pyuavcan: [https://github.com/UAVCAN/pyuavcan/releases/tag/1.0.0.dev32](https://github.com/UAVCAN/pyuavcan/releases/tag/1.0.0.dev32)  
Libcanard: [https://github.com/UAVCAN/libcanard/releases/tag/v0.2](https://github.com/UAVCAN/libcanard/releases/tag/v0.2)  
Also, an older release of libuavcan that marks the same milestone: [https://github.com/UAVCAN/libuavcan/releases/tag/v1.0.0rc-last](https://github.com/UAVCAN/libuavcan/releases/tag/v1.0.0rc-last)

These intermediate releases mark the point where we stop actively advancing the existing v0-compatible implementations, shifting the focus towards UAVCAN v1.0 - the first stable release of the specification. The main ideas behind UAVCAN v1.0 are outlined here: [Stockholm Summit recap](https://forum.opencyphal.org/t/stockholm-summit-recap/170)

---

<div class="post-metadata">

**Author:** ![deekay](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@deekay](https://forum.opencyphal.org/u/deekay)\
**Post date:** [February 4, 2019, 10:16am UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/2 "2019-02-04T10:16:42Z")

</div>

Will all pre 1.0 releases (pyuavcan, libuavcan, GUI tool etc.) still be available on github? If so, will it remain in same repo or be put elsewhere?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 4, 2019, 3:39pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/3 "2019-02-04T15:39:59Z")

</div>

The intention is to keep them available where they are now.

---

<div class="post-metadata">

**Author:** ![Zarkopafilis](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/zarkopafilis/32/228_2.png) [@Zarkopafilis](https://forum.opencyphal.org/u/Zarkopafilis)\
**Post date:** [February 4, 2019, 7:17pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/4 "2019-02-04T19:17:07Z")

</div>

Is c++ 03 going to be abandoned?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 4, 2019, 7:32pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/5 "2019-02-04T19:32:37Z")

</div>

Yes, the version of libuavcan that Scott is currently working on requires at least C++11.

---

<div class="post-metadata">

**Author:** ![Zarkopafilis](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/zarkopafilis/32/228_2.png) [@Zarkopafilis](https://forum.opencyphal.org/u/Zarkopafilis)\
**Post date:** [February 4, 2019, 7:57pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/6 "2019-02-04T19:57:52Z")

</div>

Okay this is good news.

I finished work in the transmit queue and tests pass for the avl tree and the other systems. QoS changes (on tests) need review from your part, so the tree gets merged and then the QoS api signature and types gets removed I guess.

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 6, 2019, 3:52am UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/7 "2019-02-06T03:52:22Z")

</div>



---

<div class="post-metadata">

**Author:** ![davidbitton](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/davidbitton/32/103_2.png) [@davidbitton](https://forum.opencyphal.org/u/davidbitton)\
**Post date:** [February 7, 2019, 7:57pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/8 "2019-02-07T19:57:44Z")

</div>

Can we add nodes to the spec?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 7, 2019, 8:14pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/9 "2019-02-07T20:14:22Z")

</div>

David, not sure what you mean. Could you elaborate, please?

---

<div class="post-metadata">

**Author:** ![davidbitton](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/davidbitton/32/103_2.png) [@davidbitton](https://forum.opencyphal.org/u/davidbitton)\
**Post date:** [February 7, 2019, 9:15pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/10 "2019-02-07T21:15:14Z")

</div>

I’d like to develop a UAVCAN enabled OSD. I want to avoid using a UART tunnel and instead define a set of CAN messages the just carry the necessary info. So, for example, there’s an ESC node. I want a telemetry set of UAVCAN messages. Does that make sense?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 8, 2019, 9:25am UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/11 "2019-02-08T09:25:12Z")

</div>

Yes. You can just define your own messages and services for that, and then make them publicly available for reuse by users of your equipment. In UAVCAN v1.0, we chose to avoid defining any application-specific data types within the standard, delegating that to vendors (users) instead.

---

<div class="post-metadata">

**Author:** ![davidbitton](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/davidbitton/32/103_2.png) [@davidbitton](https://forum.opencyphal.org/u/davidbitton)\
**Post date:** [February 15, 2019, 1:54pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/12 "2019-02-15T13:54:13Z")

</div>

OK. I understand that. So answer this then. Where is the manner in which an ESC node or a GPS node communicates? Where is the definition of node specific message then?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 17, 2019, 4:43pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/13 "2019-02-17T16:43:03Z")

</div>

> [@davidbitton](#):
>
> Where is the manner in which an ESC node or a GPS node communicates? Where is the definition of node specific message then?

There are two major approaches: some basic functionality can be interfaced using the SI or primitive types (defined in the namespaces `uavcan.si` and `uavcan.primitive`). For example, one could command an array of ESC by publishing `uavcan.primitive.array.Natural8`, or one ESC by publishing, for example, `uavcan.si.angular_velocity.Scalar`. An ESC can report its status to the bus by either publishing separate SI messages, like `uavcan.si.electric_current.Scalar`, `uavcan.si.angular_velocity.Scalar`, etc, or by publishing a vendor-specific status message (or both, for extra compatibility).

A GNSS receiver node is unlikely to benefit from SI or primitive types due to the complex nature of the output; hence, it makes sense to use a vendor-specific message (possibly based on the legacy [`uavcan.equipment.gnss.Fix2`](https://github.com/UAVCAN/dsdl/blob/master/uavcan/equipment/gnss/1063.Fix2.uavcan)), optionally providing some very minimal degree of service via SI/primitive types.

There currently are none of the vendor-specific messages you are inquiring about, but I intend to publish a GNSS fix message as a starting point and a reference for future contributions once we’ve finished with the v1.0 spec draft. As explained earlier, this message will not be included in the `uavcan` namespace; rather, it will likely be located under a different namespace named after a company (`zubax`), but the MIT license will permit its unconstrained reuse in third-party applications, obviously. The idea is that other vendors will be contributing their data types in a similar fashion under the MIT license. It obviously is also possible to define private data types for internal use; the details are explained in the specification draft.

You can find the draft here: [Open technology for real-time intravehicular distributed computing and communication based on modern networking standards](http://new.uavcan.org/specification) (this is a temporary location while we’re working on the new website); chapter 2 and section 5.2.6 should be of particular interest here.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![davidbitton](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/davidbitton/32/103_2.png) [@davidbitton](https://forum.opencyphal.org/u/davidbitton)\
**Post date:** [February 17, 2019, 5:12pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/14 "2019-02-17T17:12:04Z")

</div>

I believe in not reinventing the wheel. The “standard” for location data already exists in SAE J1939-71 Vehicle Application Layer . Why not use what’s being used in motor vehicles?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [February 17, 2019, 6:17pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/15 "2019-02-17T18:17:33Z")

</div>

The short answer is that the approach taken by J1939 and likewise standards (aimed at legacy motor applications or industrial systems) is unfit for the types of applications targeted by UAVCAN. You may notice that they are being augmented, and at some point will be replaced, by more capable data exchange systems (e.g. SOME/IP, AFDX), because such legacy protocols are unable to meet the data exchange demands of modern systems. This is somewhat covered in this long post here (not in-depth, unfortunately; I may prepare another post focusing on our motivation at some point later): [Alternative transport protocols](https://forum.opencyphal.org/t/alternative-transport-protocols/324).

---

<div class="post-metadata">

**Author:** ![davidbitton](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/davidbitton/32/103_2.png) [@davidbitton](https://forum.opencyphal.org/u/davidbitton)\
**Post date:** [February 17, 2019, 8:10pm UTC](https://forum.opencyphal.org/t/uavcan-v1-0-effort-pyuavcan-dev32-and-libcanard-v0-2-were-released-today/345/16 "2019-02-17T20:10:54Z")

</div>

Thanks for the clarification
