#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <termios.h>
#include <string.h>
#include <math.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <asm/ioctls.h>
#include <bits/types.h>
Include dependency graph for satctl.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | wheel_t |
struct | la_t |
struct | dva_t |
struct | adat_t |
struct | mcfg_t |
Defines | |
#define | CMD_STRLEN 80 |
#define | MICROMO 1 |
#define | SMARTMOTOR 2 |
#define | DFLT_TVAL 1000000 |
#define | SS_TVEL 30.0 |
#define | SS_TACC 30.0 |
#define | SU_TVTOL 2.0 |
#define | MM_RPS_COUNT 2000/MM_SR*2000/MM_ENC_RES |
#define | MM_RPM_COUNT MM_RPS_COUNT/60.0 |
#define | MWIT_SSPINUP 0x0001 |
#define | MWIT_BDSSPINUP 0x0002 |
#define | MWIT_RSPINUP_3 0x0004 |
#define | MWIT_BDRSPINUP_3 0x0008 |
#define | MWIT_RSPINUP_5 0x0010 |
#define | MWIT_BDRSPINUP_5 0x0020 |
#define | MWIT_SHAKE_25 0x0040 |
#define | MWIT_SHAKE_50 0x0080 |
#define | MWIT_SHAKE_75 0x0100 |
#define | MWIT_SHAKE_100 0x0200 |
#define | MWCV_TTA 0x01 |
#define | MWCV_TAV 0x02 |
#define | MWCV_FAOR 0x04 |
#define | MWCV_FVOR 0x08 |
#define | MWCV_BLOCK 0x10 |
#define | MWCV_TRANS 0x20 |
#define | MWCV_AOR_S 0x01 |
#define | MWCV_VOR_S 0x02 |
#define | DMUI_FBA 0x01 |
#define | DMUI_FBD 0x02 |
#define | DMU_PORT "/dev/mopak" |
#define | LAIT_COMM 0x01 |
#define | LAIT_PRGP 0x02 |
#define | LAIT_JPOS 0x04 |
#define | LAIT_JNEG 0x08 |
#define | LAIT_CTRA 0x10 |
#define | LAIT_MOLD 0x20 |
#define | LAIT_MPOS 0x40 |
#define | LAIT_MNEG 0x80 |
#define | LAIT_SLIM 5000 |
Functions | |
int | mwInit (wheel_t *wheel, int actions) |
int | mwStop (wheel_t *wheel) |
int | mwChangeVel (wheel_t *wheel, dva_t *params, int *status) |
int | dmuInit (long maxBufferSize, int rate, int flags) |
int | dmuStop (pid_t rpid) |
int | dmuReadData (adat_t **accData, int maxsets) |
__uint16_t | mbcrc_16 (__uint8_t *ptr, int len) |
int | laInit (la_t *lades, int action) |
int | laMove (la_t *lades, int steps) |
Variables | |
itimerval | mtmr1 |
itimerval | mtmr2 |
timeval | dflt_tv |
const float | MM_ENC_RES |
const float | MM_SR |
const float | SM_VELSF |
const float | SM_ACCSF |
const int | LA_ACC |
const int | LA_VEL |
const char * | hex_charset |
const int | debug |
const char | cfgWords [11][9] |
|
|
|
|
|
Definition at line 342 of file satctl.h. Referenced by _daq(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 443 of file satctl.h. Referenced by PhysicalLinearActuator::Initialize(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 39 of file dmu.c. References _daq(), rrate, sh_attdat, sh_nextr, sh_nextw, and sh_serial. Referenced by DMU::Initialize(). |
|
Definition at line 223 of file dmu.c. References adat_t::deltat, sh_attdat, sh_nextr, adat_t::temp, adat_t::xaccel, adat_t::xrate, adat_t::yaccel, adat_t::yrate, adat_t::zaccel, and adat_t::zrate. Referenced by DMU::GetDigitalReading(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|