Functions | |
double | btof (void *src, size_t src_len, double scale) |
int64_t | btoi (void *src, size_t src_len) |
uint64_t | btou (void *src, size_t src_len) |
void | ftob (void *dest, size_t dest_len, double src, double scale) |
void | itob (void *dest, size_t dest_len, int64_t src) |
void | itob (void *dest, size_t dest_len, int32_t src) |
void | itob (void *dest, size_t dest_len, int16_t src) |
void | loggerTermHandler (int signal) |
MESSAGE_CONSTRUCTORS (DataDifferentialSpeed, PAYLOAD_LEN) | |
MESSAGE_CONSTRUCTORS (DataWheelInfo, PAYLOAD_LEN) | |
MESSAGE_CONSTRUCTORS (DataEncodersRaw,(1+getCount()*4)) uint8_t DataEncodersRaw | |
MESSAGE_CONSTRUCTORS (DataPlatformInfo,(int) strlenModel()+6) uint8_t DataPlatformInfo | |
MESSAGE_CONSTRUCTORS (DataPlatformName,(int)(*getPayloadPointer())+1) string DataPlatformName | |
MESSAGE_CONSTRUCTORS (DataProcessorStatus,(1+getProcessCount()*2)) uint8_t DataProcessorStatus | |
MESSAGE_CONSTRUCTORS (DataRangefinders,(1+getRangefinderCount()*2)) uint8_t DataRangefinders | |
MESSAGE_CONSTRUCTORS (DataRangefinderTimings,(1+getRangefinderCount()*6)) uint8_t DataRangefinderTimings | |
MESSAGE_CONSTRUCTORS (DataRawCurrent,(1+getCurrentCount()*2)) uint8_t DataRawCurrent | |
MESSAGE_CONSTRUCTORS (DataRawTemperature,(1+2 *getTemperatureCount())) uint8_t DataRawTemperature | |
MESSAGE_CONSTRUCTORS (DataRawVoltage,(1+2 *getVoltageCount())) uint8_t DataRawVoltage | |
MESSAGE_CONVENIENCE_FNS (DataDifferentialSpeed, DATA_DIFF_WHEEL_SPEEDS) | |
MESSAGE_CONVENIENCE_FNS (DataWheelInfo, DATA_WHEEL_INFO) | |
MESSAGE_CONVENIENCE_FNS (DataEncoders, DATA_ENCODER) | |
void | utob (void *dest, size_t dest_len, uint64_t src) |
void | utob (void *dest, size_t dest_len, uint32_t src) |
void | utob (void *dest, size_t dest_len, uint16_t src) |
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:
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 skyne t@cl earpa thro botic s.co m
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:
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 skyne t@cl earpa thro botic s.co m
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:
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 skyne t@cl earpa thro botic s.co m
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:
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 skyne t@cl earpa thro botic s.co m
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:
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 skyne t@cl earpa thro botic s.co m
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:
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 skyne t@cl earpa thro botic s.co m
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:
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 skyne t@cl earpa thro botic s.co m
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:
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 skyne t@cl earpa thro botic s.co m
/ _ \ / _/ \ \ / / _/ \ / _/ _ \ ___ _ ___ ___ ____ ____ ___ _____ _ _ \ / _/ \ / / _| | | __| / _ \ | ++ \ | ++ \ / _ \ |_ _|| | | | \ _/ _/ / | | | | | ++ | |_| || ++ / | ++_/| |_| | | | | +-+ | \ _/ / | |_ | |_ | ++ | _ || |\ \ | | | _ | | | | +-+ | _____/ ___/|___||___||_| |_||_| _|_| |_| |_| |_| |_| |_| 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:
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 skyne t@cl earpa thro botic s.co m
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.