Created
January 24, 2019 08:04
-
-
Save akirayou/0990cd83043991a476b2a6f9d1f60ec9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
© Siemens AG, 2017-2018 | |
Author: Dr. Martin Bischoff (martin.bischoff@siemens.com) | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
<http://www.apache.org/licenses/LICENSE-2.0>. | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
*/ | |
using Newtonsoft.Json; | |
namespace RosSharp.RosBridgeClient.Messages.Sensor | |
{ | |
public class LaserScan : Message | |
{ | |
[JsonIgnore] | |
public const string RosMessageName = "sensor_msgs/LaserScan"; | |
public Standard.Header header; | |
public float angle_min; | |
public float angle_max; | |
public float angle_increment; | |
public float time_increment; | |
public float scan_time; | |
public float range_min; | |
public float range_max; | |
public float?[] ranges; | |
public float?[] intensities; | |
public LaserScan() | |
{ | |
header = new Standard.Header(); | |
angle_min = 0; | |
angle_max = 0; | |
angle_increment = 0; | |
time_increment = 0; | |
range_min = 0; | |
range_max = 0; | |
ranges = new float?[0]; | |
intensities = new float?[0]; | |
scan_time = 0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment