ROS Serial C client library
ros/include/ros_packet.h File Reference

ROS Serial C packet header. More...

#include "ros_types.h"
Include dependency graph for ros_packet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t rosPacketChecksum (rosPacket_t *ros_packet)
 Calculate checksum from packet.

Detailed Description

ROS Serial C packet header.

Date:
04/19/2013
Author:
Peter Rudolph

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

License:
This library is released under LGPLv3.

Function Documentation

uint8_t rosPacketChecksum ( rosPacket_t ros_packet)

Calculate checksum from packet.

Parameters:
ros_packetPointer to packet
Returns:
Calculated checksum

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines