mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 18:01:18 +03:00
stepmotor: changed name from step_motor to stepmotor
Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
This commit is contained in:
@ -1,7 +0,0 @@
|
||||
%module jsupm_step_motor
|
||||
|
||||
%{
|
||||
#include "step_motor.h"
|
||||
%}
|
||||
|
||||
%include "step_motor.h"
|
@ -1,10 +0,0 @@
|
||||
%module pyupm_step_motor
|
||||
|
||||
%include "stdint.i"
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%include "step_motor.h"
|
||||
%{
|
||||
#include "step_motor.h"
|
||||
%}
|
@ -1,5 +1,5 @@
|
||||
set (libname "step_motor")
|
||||
set (libdescription "upm STEP_MOTOR")
|
||||
set (libname "stepmotor")
|
||||
set (libdescription "upm STEPMOTOR")
|
||||
set (module_src ${libname}.cxx)
|
||||
set (module_h ${libname}.h)
|
||||
upm_module_init()
|
7
src/stepmotor/jsupm_stepmotor.i
Normal file
7
src/stepmotor/jsupm_stepmotor.i
Normal file
@ -0,0 +1,7 @@
|
||||
%module jsupm_stepmotor
|
||||
|
||||
%{
|
||||
#include "stepmotor.h"
|
||||
%}
|
||||
|
||||
%include "stepmotor.h"
|
10
src/stepmotor/pyupm_stepmotor.i
Normal file
10
src/stepmotor/pyupm_stepmotor.i
Normal file
@ -0,0 +1,10 @@
|
||||
%module pyupm_stepmotor
|
||||
|
||||
%include "stdint.i"
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%include "stepmotor.h"
|
||||
%{
|
||||
#include "stepmotor.h"
|
||||
%}
|
@ -26,7 +26,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "step_motor.h"
|
||||
#include "stepmotor.h"
|
||||
|
||||
using namespace upm;
|
||||
|
@ -44,9 +44,9 @@ namespace upm {
|
||||
/**
|
||||
* @brief C++ API for StepMotor Drivers
|
||||
*
|
||||
* This file defines the step_motor C++ interface for libstep_motor
|
||||
* This file defines the stepmotor C++ interface for libstepmotor
|
||||
*
|
||||
* @snippet step_motor_example.cxx Interesting
|
||||
* @snippet stepmotor.cxx Interesting
|
||||
*/
|
||||
class StepMotor {
|
||||
public:
|
Reference in New Issue
Block a user