mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
0905ffa438
* Use clang to verify no unused files * Add a topic table to prepare for code generating interfaces * Generated IDL's to to a generated directory in build * Use black to format python files * Populate a ROS time maessage with Linux epoch time for ROS time * Add workarounds for PoseStamped and TwistStamped with manual mods to IDL Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com> Co-authored-by: Rhys Mainwaring <rhys.mainwaring@me.com> Co-authored-by: Arsh Pratap <arshpratapofficial@gmail.com> Co-authored-by: Andrew Tridgell <andrew@tridgell.net> Co-authored-by: Russ Webber <russ@rw.id.au> Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
8 lines
367 B
C
8 lines
367 B
C
#pragma once
|
|
|
|
// table maps between string names and pointer to element
|
|
// Function pointer that matches signature of generated topics
|
|
typedef bool (*Generic_serialize_topic_fn_t)(struct ucdrBuffer*, const void*);
|
|
typedef bool (*Generic_deserialize_topic_fn_t)(struct ucdrBuffer*, void*);
|
|
typedef uint32_t (*Generic_size_of_topic_fn_t)(struct ucdrBuffer*, uint32_t);
|