ccNOos  v0.0.0
Build Portable Microcontroller Applications!
Functions
motionControl.c File Reference

IMS: ccNOos, Implementation for straight C More...

#include "motionControl.h"
Include dependency graph for motionControl.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct axisStruct createaxisStruct ()
 

Detailed Description

IMS: ccNOos, Implementation for straight C

Copyright 2021 InMechaSol, Inc

Licensed under the Apache License, Version 2.0(the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Notes: (.c includes .h) - for straight C or (.cpp includes .c which includes .h) - for C++ wrapped straight C Always compiled to a single compilation unit, either C or CPP, not both

Definition in file motionControl.c.

Function Documentation

◆ createaxisStruct()

struct axisStruct createaxisStruct ( )

Definition at line 1 of file motionControl.c.

30 {
31  struct axisStruct outStruct;
32  outStruct.PositionCmd = 0;
33  outStruct.PositionFbk = 0;
34  outStruct.PositionErr = 0;
35  return outStruct;
36 }
axisStruct
Definition: motionControl.h:33
axisStruct::PositionCmd
float PositionCmd
Definition: motionControl.h:34