# Data Type Singature

**URL:** <https://forum.opencyphal.org/t/data-type-singature/1820>\
**Category:** Libcanard\
**Created:** [January 20, 2023, 1:05pm UTC](https://forum.opencyphal.org/t/data-type-singature/1820 "2023-01-20T13:05:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Joseph](https://forum.opencyphal.org/u/Joseph)\
**Post date:** [January 20, 2023, 1:05pm UTC](https://forum.opencyphal.org/t/data-type-singature/1820/1 "2023-01-20T13:05:24Z")

</div>

Good day!  
How can I generate data\_type\_signature which is hex code for standard data types:  
ardupilot.gnss.Heading(.Status, .MovingBaselineData);  
ardupilot.indication.SafetyState(.Button, .NotifyState) like for the standard data type uavcan.protocol.GetNodeInfo (0xee468a8121c46a9e)?  
I suspect not, because the listed data types are already used with UAVCAN1 (DroneCAN)  
and the Type Signature parameter is no longer used as it was in UAVCAN0?  
I’m right?

---

<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:** [January 20, 2023, 1:13pm UTC](https://forum.opencyphal.org/t/data-type-singature/1820/2 "2023-01-20T13:13:43Z")

</div>

What you are referring to is the legacy protocol called UAVCAN v0, also known as DroneCAN. This forum is mostly dedicated to the next generation solution called Cyphal, formerly UAVCAN v1. The differences between the two are outlined in this article: [Cyphal vs. DroneCAN](https://forum.opencyphal.org/t/cyphal-vs-dronecan/1814)

DroneCAN still requires the data type signature and it can be computed using this script: [libcanard/show\_data\_type\_info.py at master · dronecan/libcanard · GitHub](https://github.com/dronecan/libcanard/blob/master/show_data_type_info.py). For further information I recommend contacting the DroneCAN maintainers directly.

---

<div class="post-metadata">

**Author:** ![Joseph](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Joseph](https://forum.opencyphal.org/u/Joseph)\
**Post date:** [January 20, 2023, 1:40pm UTC](https://forum.opencyphal.org/t/data-type-singature/1820/3 "2023-01-20T13:40:10Z")

</div>

Thank you very much for your help and quick response.

---

<div class="post-metadata">

**Author:** ![Joseph](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Joseph](https://forum.opencyphal.org/u/Joseph)\
**Post date:** [January 25, 2023, 1:32pm UTC](https://forum.opencyphal.org/t/data-type-singature/1820/4 "2023-01-25T13:32:02Z")

</div>

Good day!  
I’m using the script you provided: libcanard/show\_data\_type\_info.py at master dronecan/libcanard GitHub 3.  
I include the pyuavcan-v0 package (1.0.0.dev35). This is the (legacy) implementation of UAVCAN/CAN v0 in Python. I get a list of Type Signature.  
But here is the problem. The list does not contain a label for ardupilot standard data types.

---

<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:** [January 25, 2023, 1:46pm UTC](https://forum.opencyphal.org/t/data-type-singature/1820/5 "2023-01-25T13:46:44Z")

</div>

I don’t mind answering questions, but why don’t you ask the DroneCAN maintainers for help? Even though I wrote the script, it is theirs to maintain now.

The reason the ArduPilot namespace is missing is that it is not included in your build of PyDroneCAN. DSDL management in DroneCAN is somewhat deficient, which leads to issues of this kind.

---

<div class="post-metadata">

**Author:** ![Joseph](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Joseph](https://forum.opencyphal.org/u/Joseph)\
**Post date:** [January 25, 2023, 1:57pm UTC](https://forum.opencyphal.org/t/data-type-singature/1820/6 "2023-01-25T13:57:18Z")

</div>

Ok. Sorry for the inconvenience.
