This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
robotsoftware:mobotware:rhd:plugins:hakocan [2012/09/06 16:12] claes |
robotsoftware:mobotware:rhd:plugins:hakocan [2021/08/14 04:21] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== Source Code ===== | ===== Source Code ===== | ||
The plugin contains 3 files. all are listed below. | The plugin contains 3 files. all are listed below. | ||
- | <file c hakocan.h> | ||
- | /** \file hakocan.h | ||
- | | ||
- | | ||
- | * | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | * | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | */ | ||
- | #ifndef HAKOCAN_H | + | {{: |
- | #define HAKOCAN_H | + | |
- | + | ||
- | extern int initXML(char *); | + | |
- | extern int periodic(int); | + | |
- | //extern ”C” int terminate (void) ; //No shutdown function | + | |
- | #define RPMCMD 0x200 | + | |
- | #define CURVATURECMD 0x141 | + | |
- | #define STEERINGREPORTREQ 0x408 | + | |
- | #define STEERINGREPORT 0x409 | + | |
- | #define CVTCONTROLCMD 0x080 | + | |
- | #define STEERINGANGLECMD 0x142 | + | |
- | #define HITCHCMD 0x090 | + | |
- | #define CVTACK 0x750 | + | |
- | #define STEERINGANGLEACK 0x75A | + | |
- | #define STEERINGACK 0x758 | + | |
- | #define HORNCMD 0x610 | + | |
- | #define HORNACK 0x740 | + | |
- | + | ||
- | #endif | + | |
- | </ | ||
<sxh c; title: | <sxh c; title: | ||
/** \file hakocan.h | /** \file hakocan.h | ||
Line 86: | Line 48: | ||
</ | </ | ||
+ | |||
+ | {{: | ||
<sxh c; title: | <sxh c; title: | ||
Line 875: | Line 839: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
<sxh c; title: | <sxh c; title: | ||
/** /file canmsg.h | /** /file canmsg.h |