Message_request.cpp
Go to the documentation of this file.
00001 
00046 #include "husky_base/horizon_legacy/Message_request.h"
00047 #include "husky_base/horizon_legacy/Number.h"
00048 
00049 namespace clearpath
00050 {
00051 
00052   Request::Request(uint16_t type, uint16_t freq) : Message()
00053   {
00054     setPayloadLength(2);
00055     utob(getPayloadPointer(), 2, freq);
00056     setType(type);
00057 
00058     makeValid();
00059   }
00060 
00061   Request::Request(const Request &other) : Message(other)
00062   {
00063   }
00064 
00065 }; // namespace clearpath
00066 


husky_base
Author(s): Mike Purvis , Paul Bovbel
autogenerated on Sat Jun 8 2019 18:26:01