Skip to content
Snippets Groups Projects
Commit 1b2a9724 authored by Marek Bečka's avatar Marek Bečka
Browse files

nefunkcni verze.

parent 9986c66f
No related branches found
No related tags found
No related merge requests found
/*********** Includes *************/
#define PRINTDEBUG
//#define PRINTDEBUG
#include "motor_can.h"
......@@ -154,7 +154,7 @@ int can_setup(int id){
DEBUG("End of the setup.");
DEBUG("Test of the pack_motor_reference");
/* DEBUG("Test of the pack_motor_reference");
float a = 0;
uint8_t prub[8];
......@@ -164,7 +164,7 @@ int can_setup(int id){
DEBUG_MESS(&prub);
DEBUG("End of test of the pack_motor_reference");
DEBUG("End of test of the pack_motor_reference"); */
return 0;
}
......@@ -197,8 +197,9 @@ int input_reference(float position, float velocity, float Kp, float Kd, float fe
fprintf(fp, "%d ", feed_forward_current);
fprintf(fp, "\n\n");
*/
send_can_frame(message);
*/
pack_motor_reference(message, position, velocity, Kp, Kd, feed_forward_current);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment