-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsmartmotor_table.h
More file actions
26 lines (19 loc) · 796 Bytes
/
smartmotor_table.h
File metadata and controls
26 lines (19 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* smartmotor_table.h
*
* Created on: 01/dic/2015
* Author: luca
*/
#include "CANOpenShellStateMachine.h"
#ifndef SMARTMOTOR_TABLE_H_
#define SMARTMOTOR_TABLE_H_
void smartmotor_get_free(int nodeid, UNS32 *interp_status);
void smartmotor_table_reset(int nodeid, UNS32 *interp_status);
void smartmotor_table_write(int nodeid, UNS32 *interp_status, long point,
long time_value, long time_period);
void smartmotor_table_read(int nodeid, UNS32 *interp_status, long *point);
void smartmotor_path_reset(int nodeid, UNS16 *motor_status);
int smartmotor_path_generate(int nodeid, int encoder_count, long start_step,
long stop_step, long velocity, long acceleration);
void smartmotor_path_read(int nodeid, UNS16 *motor_status, long *position);
#endif /* SMARTMOTOR_TABLE_H_ */