mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:23:35 +08:00
msg: templates: update empy contexts, required fields and license header years
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
@# Start of Template
|
||||
@#
|
||||
@# Context:
|
||||
@# - msgs (List) list of all msg files
|
||||
@# - multi_topics (List) list of all multi-topic names
|
||||
@# - ids (List) list of all RTPS msg ids
|
||||
@# - fastrtps_version (str) FastRTPS version installed on the system
|
||||
@# - ros2_distro (str) ROS2 distro name
|
||||
@# - spec (msggen.MsgSpec) Parsed specification of the .msg file
|
||||
@###############################################
|
||||
@{
|
||||
import genmsg.msgs
|
||||
@@ -69,7 +69,7 @@ if ros2_distro:
|
||||
* @@file @(topic)_Subscriber.cpp
|
||||
* This file contains the implementation of the subscriber functions.
|
||||
*
|
||||
* This file was adapted from the fastcdrgen tool.
|
||||
* This file was adapted from the fastrtpsgen tool.
|
||||
*/
|
||||
|
||||
#include "@(topic)_Subscriber.h"
|
||||
|
||||
Reference in New Issue
Block a user