From e59982d61cb9d01df62f838a519b963db0623969 Mon Sep 17 00:00:00 2001
From: Pavel Pisa
The projects includes blocks library socketcan_lib.slx, simple example of provided blocks use cantransmit_ert.slx and more @@ -59,7 +59,7 @@ complex model canopen_2j_arm_ert.slx which demonstrates use of the block to send PDO messages to two stepper motors controlled robotic arm. This simple CAN library does not provide CANopen support yet so initial motors SDO parameters -setup is solved by canopen_2j_arm_setup setup shell +setup is solved by canopen_2j_arm_setup shell script which invokes cansend command. The variant of the model (canopen_2j_arm_rpi.slx) with build parameters preset for crosscompilation to Raspberry Pi @@ -67,13 +67,13 @@ is provided as well. The CAN-USB converter from 8devices has been used in this case.
-Download/clone ERT Linux target and Linux CAN bus toolbox repositories. The example expects the toolbox are placed into user local ~/matlab/toolbox directory. Setup Matlab path for thee projects. One option is to use ~/matlab/startup.m -file for this porpose: +file for this purpose:
function startup(AddRem) -- 2.39.2