00001 #! /usr/bin/env python 00002 # -*- coding: utf-8 -*- 00003 00004 # Software License Agreement (BSD) 00005 # 00006 # file @mapping.py 00007 # authors Mike Purvis <mpurvis@clearpathrobotics.com> 00008 # NovAtel <novatel.com/support> 00009 # copyright Copyright (c) 2012, Clearpath Robotics, Inc., All rights reserved. 00010 # Copyright (c) 2014, NovAtel Inc., All rights reserved. 00011 # 00012 # Redistribution and use in source and binary forms, with or without modification, are permitted provided that 00013 # the following conditions are met: 00014 # * Redistributions of source code must retain the above copyright notice, this list of conditions and the 00015 # following disclaimer. 00016 # * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the 00017 # following disclaimer in the documentation and/or other materials provided with the distribution. 00018 # * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote 00019 # products derived from this software without specific prior written permission. 00020 # 00021 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- 00022 # RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00023 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- 00024 # DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 00025 # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00026 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00027 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00028 00029 from novatel_msgs.msg import * 00030 00031 msgs = { 00032 0: ("ack", Ack), 00033 42: ("bestpos", BESTPOS), 00034 264: ("inscov", INSCOV), 00035 812: ("corrimudata", CORRIMUDATA), 00036 1465: ("inspvax", INSPVAX) 00037 }