]> rtime.felk.cvut.cz Git - socketcan-simulink.git/log
socketcan-simulink.git
6 years agosfunction_cansetup: correct debug message for rx/tx sockets open. master
Pavel Pisa [Fri, 1 Dec 2017 17:01:14 +0000 (18:01 +0100)]
sfunction_cansetup: correct debug message for rx/tx sockets open.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoDocument myself as author of SocketCAN port of the original RPP library.
Pavel Pisa [Fri, 1 Dec 2017 16:49:12 +0000 (17:49 +0100)]
Document myself as author of SocketCAN port of the original RPP library.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agosfunction_canreceive: ensure correct handling for CAN_MESSAGE_TYPE and EFF frames.
Pavel Pisa [Fri, 1 Dec 2017 16:40:26 +0000 (17:40 +0100)]
sfunction_canreceive: ensure correct handling for CAN_MESSAGE_TYPE and EFF frames.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoAdd simple README
Michal Sojka [Mon, 13 Oct 2014 20:24:53 +0000 (22:24 +0200)]
Add simple README

9 years agoUpdate robotic arm configuration script to bring up can0 interface if not configured.
Pavel Pisa [Fri, 10 Oct 2014 19:09:22 +0000 (21:09 +0200)]
Update robotic arm configuration script to bring up can0 interface if not configured.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoUse locally build arm-rpi-linux-gnueabihf toolchain for RPi cross compilation.
Pavel Pisa [Fri, 10 Oct 2014 18:26:29 +0000 (20:26 +0200)]
Use locally build arm-rpi-linux-gnueabihf toolchain for RPi cross compilation.

Neither OSELAS ARM-v5te nor Debian arm-gnueabi builds
binaries which match exactly RPi arm-gnueabihf build
GLIBC and mainly M libraries.
Debian arm-gnueabihf target Cortex-A CPUs only.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoRun model script uses local target-ssh-key only if it is present.
Pavel Pisa [Fri, 10 Oct 2014 18:18:35 +0000 (20:18 +0200)]
Run model script uses local target-ssh-key only if it is present.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoUpdate RPi robotic arm control model.
Pavel Pisa [Fri, 10 Oct 2014 15:17:40 +0000 (17:17 +0200)]
Update RPi robotic arm control model.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoAdd CANopen motor controllers initialization to remote model run preparation.
Pavel Pisa [Fri, 10 Oct 2014 15:13:32 +0000 (17:13 +0200)]
Add CANopen motor controllers initialization to remote model run preparation.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoClone robotic arm control model for Raspberry Pi build.
Pavel Pisa [Fri, 10 Oct 2014 15:12:54 +0000 (17:12 +0200)]
Clone robotic arm control model for Raspberry Pi build.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoInclude actual and requested position visualization in robotic arm model.
Pavel Pisa [Fri, 10 Oct 2014 14:47:46 +0000 (16:47 +0200)]
Include actual and requested position visualization in robotic arm model.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoRobot arm model updated to contain simple kinematic transformation.
Pavel Pisa [Fri, 10 Oct 2014 14:16:40 +0000 (16:16 +0200)]
Robot arm model updated to contain simple kinematic transformation.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoUse .gitignore for demo to exclude generated files.
Pavel Pisa [Fri, 10 Oct 2014 14:01:06 +0000 (16:01 +0200)]
Use .gitignore for demo to exclude generated files.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoRemove unintentionally committed demo binary.
Pavel Pisa [Fri, 10 Oct 2014 13:58:17 +0000 (15:58 +0200)]
Remove unintentionally committed demo binary.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoEnsure that CANopen stepper motor drivers are activated.
Pavel Pisa [Fri, 10 Oct 2014 13:55:09 +0000 (15:55 +0200)]
Ensure that CANopen stepper motor drivers are activated.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoFixed syntax error when extenal mode enabled for model with CAN blocks
Michal Horn [Mon, 6 Oct 2014 11:32:58 +0000 (13:32 +0200)]
Fixed syntax error when extenal mode enabled for model with CAN blocks

Compiler returned with undefined data types CAN_MESSAGE_EXTENDED and
CAN_MESSAGE_STANDARD errors when the external mode was enabled for
a model witch used CAN blocks.
When CAN Pack or CAN Unpack block has been added to the model, the error disappeared.

Also a can_ext_mode_demo has been created for detection of similar error in the future.

Fixes #1015

9 years agoFix Makefile
Michal Sojka [Thu, 9 Oct 2014 19:45:17 +0000 (21:45 +0200)]
Fix Makefile

The Makefile referred to non-existing files such as doc_parse.py from the
original project. Let's remove them.

9 years agoRemove some of debugging prints in can receive block TLC.
Pavel Pisa [Wed, 8 Oct 2014 19:28:06 +0000 (21:28 +0200)]
Remove some of debugging prints in can receive block TLC.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoInclude initial version of two joints robotic arm model.
Pavel Pisa [Wed, 8 Oct 2014 19:27:28 +0000 (21:27 +0200)]
Include initial version of two joints robotic arm model.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoChange receive block behavior - use last received value of the signal.
Pavel Pisa [Wed, 8 Oct 2014 19:13:42 +0000 (21:13 +0200)]
Change receive block behavior - use last received value of the signal.

This can be problem for multiplexed messages but block
is executed only at given time and we cannot left
queue grow indefinitely.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoAdd license file
Michal Sojka [Wed, 8 Oct 2014 14:33:26 +0000 (16:33 +0200)]
Add license file

9 years agoSimulink model updated to send data between CAN1 (can0) and CAN2 (can1).
Pavel Pisa [Mon, 6 Oct 2014 18:31:40 +0000 (20:31 +0200)]
Simulink model updated to send data between CAN1 (can0) and CAN2 (can1).

The channels names and indexes has to be consolidated.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoThe first partially working version - objects assignment is incorrect still.
Pavel Pisa [Mon, 6 Oct 2014 18:30:30 +0000 (20:30 +0200)]
The first partially working version - objects assignment is incorrect still.

The build requires _BSD_SOURCE define because it is necessary
for enabling "struct ifreq" declaration in "net/if.h" header
file.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoSimulink blocks library and test model with CAN transmit/receive added.
Pavel Pisa [Mon, 6 Oct 2014 16:17:03 +0000 (18:17 +0200)]
Simulink blocks library and test model with CAN transmit/receive added.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoThe first round of changes to port RPP code to Linux SocketCAN.
Pavel Pisa [Mon, 6 Oct 2014 15:12:39 +0000 (17:12 +0200)]
The first round of changes to port RPP code to Linux SocketCAN.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoInclude printf block with same interface as RPP SCI block is.
Pavel Pisa [Mon, 6 Oct 2014 14:32:06 +0000 (16:32 +0200)]
Include printf block with same interface as RPP SCI block is.

9 years agoImport of CAN support from TMS570 Rapid Prototyping Platform project.
Pavel Pisa [Mon, 6 Oct 2014 15:57:28 +0000 (17:57 +0200)]
Import of CAN support from TMS570 Rapid Prototyping Platform project.

The original project pages can be found at

  http://rtime.felk.cvut.cz/rpp-tms570/

goal of this project porting of code to SocketCAN
and Linux Target for Simulink Embedded Coder

  http://lintarget.sourceforge.net/

The RPP-TMS570 and ERT Linux projects are work of

  Czech Technical University, Industrial Informatics Group
  http://dce.fel.cvut.cz/en/department/organizational-structure/industrial-informatics-group