Variables
make_libraries Namespace Reference

Variables

string __usage__
 
 path = sys.argv[1]
 
dictionary ROS_TO_EMBEDDED_TYPES
 
 rospack = rospkg.RosPack()
 
 rosserial_arduino_dir = rospack.get_path(THIS_PACKAGE)
 
string THIS_PACKAGE = "rosserial_embeddedlinux"
 Software License Agreement (BSD License) More...
 

Variable Documentation

string make_libraries.__usage__
private
Initial value:
1 = """
2 make_libraries.py generates the rosserial library files. It
3 requires the location of your project folder.
4 
5 rosrun rosserial_embeddedlinux make_libraries.py <output_path>
6 """

Definition at line 38 of file make_libraries.py.

make_libraries.path = sys.argv[1]

Definition at line 78 of file make_libraries.py.

dictionary make_libraries.ROS_TO_EMBEDDED_TYPES
Initial value:
1 = {
2  'bool' : ('bool', 1, PrimitiveDataType, []),
3  'byte' : ('int8_t', 1, PrimitiveDataType, []),
4  'int8' : ('int8_t', 1, PrimitiveDataType, []),
5  'char' : ('uint8_t', 1, PrimitiveDataType, []),
6  'uint8' : ('uint8_t', 1, PrimitiveDataType, []),
7  'int16' : ('int16_t', 2, PrimitiveDataType, []),
8  'uint16' : ('uint16_t', 2, PrimitiveDataType, []),
9  'int32' : ('int32_t', 4, PrimitiveDataType, []),
10  'uint32' : ('uint32_t', 4, PrimitiveDataType, []),
11  'int64' : ('int64_t', 8, PrimitiveDataType, []),
12  'uint64' : ('uint64_t', 4, PrimitiveDataType, []),
13  'float32' : ('float', 4, PrimitiveDataType, []),
14  'float64' : ('double', 8, PrimitiveDataType, []),
15  'time' : ('ros::Time', 8, TimeDataType, ['ros/time']),
16  'duration': ('ros::Duration', 8, TimeDataType, ['ros/duration']),
17  'string' : ('char*', 0, StringDataType, []),
18  'Header' : ('std_msgs::Header', 0, MessageDataType, ['std_msgs/Header'])
19 }

Definition at line 52 of file make_libraries.py.

make_libraries.rospack = rospkg.RosPack()

Definition at line 83 of file make_libraries.py.

make_libraries.rosserial_arduino_dir = rospack.get_path(THIS_PACKAGE)

Definition at line 86 of file make_libraries.py.

string make_libraries.THIS_PACKAGE = "rosserial_embeddedlinux"

Software License Agreement (BSD License)

Copyright (c) 2013, Willow Garage, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Willow Garage, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 36 of file make_libraries.py.



rosserial_embeddedlinux
Author(s): Paul Bouchier
autogenerated on Mon Jun 10 2019 14:53:23