blmc_drivers
demo_sine_position_1_motor.cpp File Reference
#include <atomic>
#include <signal.h>
#include "sine_position_control.hpp"
Include dependency graph for demo_sine_position_1_motor.cpp:

Functions

std::atomic_bool StopDemos (false)
 This boolean is here to kill cleanly the application upon ctrl+c.
 
void my_handler (int)
 This function is the callback upon a ctrl+c call from the terminal. More...
 
int main (int, char **)
 This is the main demo program. More...
 

Detailed Description

Function Documentation

◆ main()

int main ( int  ,
char **   
)

This is the main demo program.

Parameters
argc
argv
Returns
int

◆ my_handler()

void my_handler ( int  )

This function is the callback upon a ctrl+c call from the terminal.

Parameters
s