Skip to content

Commit 2496e80

Browse files
committed
Address comments
1 parent 6d31723 commit 2496e80

File tree

4 files changed

+40
-13
lines changed

4 files changed

+40
-13
lines changed

rosidl_gen/templates/action-template.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
/**
2-
* Native JavaScript template for generating ROS2 action JavaScript wrapper classes
3-
* Replaces the doT template (action.dot)
4-
*/
1+
// Copyright (c) 2025, The Robot Web Tools Contributors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
514

615
function generateAction(data) {
716
const actionInfo = data.actionInfo;

rosidl_gen/templates/message-template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2025 Intel Corporation. All rights reserved.
1+
// Copyright (c) 2025, The Robot Web Tools Contributors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

rosidl_gen/templates/service-event-template.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
/**
2-
* Native JavaScript template for generating ROS2 service event message definitions
3-
* Replaces the doT template (service_event.dot)
4-
*/
1+
// Copyright (c) 2025, The Robot Web Tools Contributors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
514

615
function generateServiceEvent(data) {
716
const serviceInfo = data.serviceInfo;

rosidl_gen/templates/service-template.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
/**
2-
* Native JavaScript template for generating ROS2 service JavaScript wrapper classes
3-
* Replaces the doT template (service.dot)
4-
*/
1+
// Copyright (c) 2025, The Robot Web Tools Contributors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
514

615
function generateService(data) {
716
const serviceInfo = data.serviceInfo;

0 commit comments

Comments
 (0)