File: Exception.h Desc: Provides the sawyer::Exception class, which is the parent class for all sawyer exceptions. Auth: Iain Peet
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
File: Logger.h Desc: Provides the Logger singleton which is used within the sawyer API for log / trace message control Auth: Iain Peet
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
File: Message.h Desc: Definition for the Message class. This class represents a single message which is sent or received from a platform Auth: R. Gariepy, Iain Peet
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
File: Message_cmd.h Desc: Provides Set Message subclasses. Auth: Iain Peet
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
File: HorizonMessage_data.h Desc: Provides Message subclasses corresponding to 'data' type messages Auth: Iain Peet, Mike Purvis
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
File: Message_request.h Desc: Provides the Request class, which is used to request data messages at a particular frequency. Auth: Iain Peet
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
File: HorizonProtocol.cpp Desc: Generic serial communication functions. Pass in void pointers, let the platform-specific implementation do the work. Usually, this should be included by (and linked against) windows_serial.cpp or linux_serial.cpp
Auth: R. Gariepy
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
File: Transport.h Desc: Definition for Horizon transport class. Implements the details of the Horizon communication medium, providing the ability to send and receive messages. Received messages are queued. Auth: R. Gariepy
Copyright (c) 2010, Clearpath Robotics, Inc. Copyright (c) 2016, SawYer Robotics, 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 Clearpath Robotics, 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 Clearpath ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
_____ / _ \ / _/ \ \ / / / \ / / _ \ ___ _ ___ ___ ____ ____ ___ _____ _ _ \ / / \ / / _\| | | __| / _ \ | ++ \ | ++ \ / _ \ |_ _|| | | | \ / / / | | | | | ++ | |_| || ++ / | ++_/| |_| | | | | +-+ | \ / / | |_ | |_ | ++ | _ || |\ \ | | | _ | | | | +-+ | / /|___||___||_| |_||_| \|_| |_| |_| |_| |_| |_| ROBOTICS™
File: Message_request.cpp Desc: Implements the Request Message class. Auth: Iain Peet
Copyright (c) 2010, Clearpath Robotics, 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 Clearpath Robotics, 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 CLEARPATH ROBOTICS, INC. 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.
Please send comments, questions, or patches to skynet@clearpathrobotics.com
enum sawyer::MessageTypes |
double sawyer::btof | ( | void * | src, |
size_t | src_len, | ||
double | scale | ||
) |
Definition at line 160 of file Number.cpp.
int64_t sawyer::btoi | ( | void * | src, |
size_t | src_len | ||
) |
Definition at line 135 of file Number.cpp.
uint64_t sawyer::btou | ( | void * | src, |
size_t | src_len | ||
) |
Definition at line 120 of file Number.cpp.
void sawyer::ftob | ( | void * | dest, |
size_t | dest_len, | ||
double | src, | ||
double | scale | ||
) |
Definition at line 92 of file Number.cpp.
void sawyer::itob | ( | void * | dest, |
size_t | dest_len, | ||
int64_t | src | ||
) |
Definition at line 70 of file Number.cpp.
void sawyer::itob | ( | void * | dest, |
size_t | dest_len, | ||
int32_t | src | ||
) |
Definition at line 110 of file Number.cpp.
void sawyer::itob | ( | void * | dest, |
size_t | dest_len, | ||
int16_t | src | ||
) |
Definition at line 115 of file Number.cpp.
void sawyer::loggerTermHandler | ( | int | signal | ) |
Definition at line 62 of file Logger.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataDifferentialSpeed | , |
PAYLOAD_LEN | |||
) |
sawyer::MESSAGE_CONSTRUCTORS | ( | DataWheelInfo | , |
PAYLOAD_LEN | |||
) |
sawyer::MESSAGE_CONSTRUCTORS | ( | DataEncodersRaw | , |
(1+getCount()*4) | |||
) |
Definition at line 287 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataPlatformInfo | , |
(int) strlenModel()+ | 6 | ||
) |
Definition at line 460 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataPlatformName | , |
(int)(* | getPayloadPointer | ||
) |
Definition at line 504 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataProcessorStatus | , |
(1+getProcessCount()*2) | |||
) |
Definition at line 725 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataRangefinders | , |
(1+getRangefinderCount()*2) | |||
) |
Definition at line 753 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataRangefinderTimings | , |
(1+getRangefinderCount()*6) | |||
) |
Definition at line 781 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataRawCurrent | , |
(1+getCurrentCount()*2) | |||
) |
Definition at line 873 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataRawTemperature | , |
(1+2 *getTemperatureCount()) | |||
) |
Definition at line 995 of file Message_data.cpp.
sawyer::MESSAGE_CONSTRUCTORS | ( | DataRawVoltage | , |
(1+2 *getVoltageCount()) | |||
) |
Definition at line 1025 of file Message_data.cpp.
sawyer::MESSAGE_CONVENIENCE_FNS | ( | DataDifferentialSpeed | , |
DATA_DIFF_WHEEL_SPEEDS | |||
) |
sawyer::MESSAGE_CONVENIENCE_FNS | ( | DataWheelInfo | , |
DATA_WHEEL_INFO | |||
) |
sawyer::MESSAGE_CONVENIENCE_FNS | ( | DataEncoders | , |
DATA_ENCODER | |||
) |
void sawyer::utob | ( | void * | dest, |
size_t | dest_len, | ||
uint64_t | src | ||
) |
Definition at line 55 of file Number.cpp.
void sawyer::utob | ( | void * | dest, |
size_t | dest_len, | ||
uint32_t | src | ||
) |
Definition at line 100 of file Number.cpp.
void sawyer::utob | ( | void * | dest, |
size_t | dest_len, | ||
uint16_t | src | ||
) |
Definition at line 105 of file Number.cpp.