Servosila-SC-25-Programming-Guide

Sample Projects (C++)
Project Name OS Interface Language Type of
application
Dependencies Description
canbus-esc-command
Linux CAN C++ command
line
none The sample shows how to send an Electronic
Speed Control command via CAN bus (Linux
SocketCAN API).
canbus-telemetry
Linux CAN C++ command
line
none The sample demonstrates how to receive and
decode telemetry messages coming via CAN
bus.
slcan-esc-command
Linux USB C++ command
line
none The sample shows how to send an Electronic
Speed Control command via USB (virtual serial
port) using SLCAN text protocol.
slcan-telemetry
Linux USB C++ command
line
none The sample demonstrates how to receive and
decode telemetry messages coming via USB
(virtual serial port) using SLCAN text protocol.
MotorControlGUI
Windows
, Linux
USB C++ GUI Qt library The sample is an end-to-end demonstration of a
graphical user interface (GUI) for controlling an
electrical drive. The sample displays telemetry
coming from the controller and periodically
sends commands to the controller.
The sample projects come with reusable helper C++ functions and classes that help encode or
decode CAN, SLCAN and CANopen messages. Use a C++ compiler (GCC, MinGW, Visual
Studio) and an IDE (Qt Creator, Code Blocks, Visual Studio) to compile and launch the samples.
23 www.servosila.com