Skip to content

Commit 3008074

Browse files
committed
Fix Vera++ issues
1 parent 80e385c commit 3008074

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed

plugins/robots/common/twoDModel/include/twoDModel/engine/model/aliasConfiguration.h

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/* Copyright 2025 CyberTech Labs Ltd.
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. */
14+
115
#pragma once
216
#include "twoDModel/twoDModelDeclSpec.h"
317
#include <kitBase/robotModel/portInfo.h>
@@ -42,8 +56,8 @@ class TWO_D_MODEL_EXPORT AliasConfiguration
4256
/// At the same time, they are responsible for serialization.
4357
kitBase::robotModel::PortInfo createFromPort(const kitBase::robotModel::PortInfo &port) const;
4458

45-
/// needSerialize: At the moment, information about custom sensors and wheels remains in their blocks in WorldModel.xml,
46-
/// but this class is still responsible for storing aliases.
59+
/// needSerialize: At the moment, information about custom sensors and wheels remains in their
60+
/// blocks in WorldModel.xml, but this class is still responsible for storing aliases.
4761
void addAliases(const kitBase::robotModel::PortInfo &portInfo, bool needSerialize = false);
4862
private:
4963
struct AliasInfo {

plugins/robots/common/twoDModel/src/engine/model/aliasConfiguration.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/* Copyright 2025 CyberTech Labs Ltd.
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. */
14+
115
#include "twoDModel/engine/model/aliasConfiguration.h"
216
#include "twoDModel/robotModel/twoDRobotModel.h"
317

plugins/robots/common/twoDModel/src/engine/model/sensorsConfiguration.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#include "twoDModel/engine/model/aliasConfiguration.h"
2222
#include "kitBase/robotModel/robotParts/lidarSensor.h"
2323
#include "twoDModel/engine/model/metricCoordinateSystem.h"
24-
#include <QDebug>
25-
#include <utility>
2624

2725
using namespace twoDModel::model;
2826
using namespace kitBase::robotModel;

0 commit comments

Comments
 (0)