ROS Serial C client library
ros/src/ros_packet.c File Reference

ROS Serial C packet abstraction implementation. More...

#include "ros_packet.h"
Include dependency graph for ros_packet.c:

Functions

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

Detailed Description

ROS Serial C packet abstraction implementation.

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