Alex exoskeleton
ALEX SoftwareDocumentation
|
Go to the source code of this file.
Macros | |
#define | _UINT32_T |
#define | _UINT16_T |
#define | _UINT8_T |
Typedefs | |
typedef unsigned int | uint32_t |
typedef unsigned short | uint16_t |
typedef unsigned char | uint8_t |
Functions | |
void | CO_errorR (const uint32_t info) |
int | CO_command_init (void) |
int | CO_command_clear (void) |
void | cancomm_socketFree (char *command, char *ret) |
Variables | |
char * | CO_command_socketPath |
Command interface for CANopenSocket.
This file is part of CANopenSocket, a Linux implementation of CANopen stack with master functionality. Project home page is https://github.com/CANopenNode/CANopenSocket. CANopenSocket is based on CANopenNode: https://github.com/CANopenNode/CANopenNode.
CANopenSocket is free and open source software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file CO_command.h.
#define _UINT16_T |
Definition at line 34 of file CO_command.h.
#define _UINT32_T |
Definition at line 30 of file CO_command.h.
#define _UINT8_T |
Definition at line 38 of file CO_command.h.
typedef unsigned short uint16_t |
Definition at line 35 of file CO_command.h.
typedef unsigned int uint32_t |
Definition at line 31 of file CO_command.h.
typedef unsigned char uint8_t |
Definition at line 39 of file CO_command.h.
void cancomm_socketFree | ( | char * | command, |
char * | ret | ||
) |
Allow main thread to send SDO messages to nodes
Definition at line 559 of file CO_command.c.
int CO_command_clear | ( | void | ) |
Terminate thread and remove socket.
Definition at line 114 of file CO_command.c.
int CO_command_init | ( | void | ) |
Initialize thread and create socket for command interface.
Make sure, that global variable CO was properly initialized before this call.
Definition at line 73 of file CO_command.c.
void CO_errorR | ( | const uint32_t | info | ) |
Definition at line 67 of file CO_command.c.
char* CO_command_socketPath |
Path for local type socket. External process can access command interface over this socket. By default its path is "/tmp/CO_command_socket".
Definition at line 53 of file CO_command.c.