complete motor

Dependencies:   BufferedSerial motor_sn7544

Committer:
Jeonghoon
Date:
Thu Nov 21 11:39:20 2019 +0000
Revision:
13:3ac8d2472417
Parent:
11:2228e8931266
complete motor

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jeonghoon 11:2228e8931266 1 /*********************************************************************
Jeonghoon 11:2228e8931266 2 *
Jeonghoon 11:2228e8931266 3 * Software License Agreement (BSD License)
Jeonghoon 11:2228e8931266 4 *
Jeonghoon 11:2228e8931266 5 * Copyright (c) 2009, Willow Garage, Inc.
Jeonghoon 11:2228e8931266 6 * All rights reserved.
Jeonghoon 11:2228e8931266 7 *
Jeonghoon 11:2228e8931266 8 * Redistribution and use in source and binary forms, with or without
Jeonghoon 11:2228e8931266 9 * modification, are permitted provided that the following conditions
Jeonghoon 11:2228e8931266 10 * are met:
Jeonghoon 11:2228e8931266 11 *
Jeonghoon 11:2228e8931266 12 * * Redistributions of source code must retain the above copyright
Jeonghoon 11:2228e8931266 13 * notice, this list of conditions and the following disclaimer.
Jeonghoon 11:2228e8931266 14 * * Redistributions in binary form must reproduce the above
Jeonghoon 11:2228e8931266 15 * copyright notice, this list of conditions and the following
Jeonghoon 11:2228e8931266 16 * disclaimer in the documentation and/or other materials provided
Jeonghoon 11:2228e8931266 17 * with the distribution.
Jeonghoon 11:2228e8931266 18 * * Neither the name of the Willow Garage nor the names of its
Jeonghoon 11:2228e8931266 19 * contributors may be used to endorse or promote products derived
Jeonghoon 11:2228e8931266 20 * from this software without specific prior written permission.
Jeonghoon 11:2228e8931266 21 *
Jeonghoon 11:2228e8931266 22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Jeonghoon 11:2228e8931266 23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Jeonghoon 11:2228e8931266 24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
Jeonghoon 11:2228e8931266 25 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
Jeonghoon 11:2228e8931266 26 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
Jeonghoon 11:2228e8931266 27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
Jeonghoon 11:2228e8931266 28 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
Jeonghoon 11:2228e8931266 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Jeonghoon 11:2228e8931266 30 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
Jeonghoon 11:2228e8931266 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
Jeonghoon 11:2228e8931266 32 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Jeonghoon 11:2228e8931266 33 * POSSIBILITY OF SUCH DAMAGE.
Jeonghoon 11:2228e8931266 34 *
Jeonghoon 11:2228e8931266 35 *********************************************************************/
Jeonghoon 11:2228e8931266 36 /*
Jeonghoon 11:2228e8931266 37 * Cross platform macros.
Jeonghoon 11:2228e8931266 38 *
Jeonghoon 11:2228e8931266 39 */
Jeonghoon 11:2228e8931266 40 #ifndef ROSCPP_SERIALIZATION_MACROS_HPP_
Jeonghoon 11:2228e8931266 41 #define ROSCPP_SERIALIZATION_MACROS_HPP_
Jeonghoon 11:2228e8931266 42
Jeonghoon 11:2228e8931266 43 #include <ros/macros.h>
Jeonghoon 11:2228e8931266 44
Jeonghoon 11:2228e8931266 45 #ifdef ROS_BUILD_SHARED_LIBS // ros is being built around shared libraries
Jeonghoon 11:2228e8931266 46 #ifdef roscpp_serialization_EXPORTS // we are building a shared lib/dll
Jeonghoon 11:2228e8931266 47 #define ROSCPP_SERIALIZATION_DECL ROS_HELPER_EXPORT
Jeonghoon 11:2228e8931266 48 #else // we are using shared lib/dll
Jeonghoon 11:2228e8931266 49 #define ROSCPP_SERIALIZATION_DECL ROS_HELPER_IMPORT
Jeonghoon 11:2228e8931266 50 #endif
Jeonghoon 11:2228e8931266 51 #else // ros is being built around static libraries
Jeonghoon 11:2228e8931266 52 #define ROSCPP_SERIALIZATION_DECL
Jeonghoon 11:2228e8931266 53 #endif
Jeonghoon 11:2228e8931266 54
Jeonghoon 11:2228e8931266 55 #endif /* ROSCPP_SERIALIZATION_MACROS_HPP_ */