- Notifications
You must be signed in to change notification settings - Fork121
Obsolete repository, replaced by CANopenDemo and CANopenLinux
License
CANopenNode/CANopenSocket
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
THIS REPOSITORY IS OBSOLETE, ITS CONTENTS HAS BEEN MOVED TO:
CANopenSocket is a collection of CANopen tools and examples.
It is based onCANopenNode, which is free and open source CANopen Stack and is included as a git submodule.
CANopen is the internationally standardized (EN 50325-4) (CiA301) CAN-based higher-layer protocol for embedded control system. For more information on CANopen seehttp://www.can-cia.org/
Clone the project from git repository and get submodules:
git clone https://github.com/CANopenNode/CANopenSocket.gitcd CANopenSocketgit submodule initgit submodule updateUpdate the project:
cd CANopenSocket# make sure, project is clean (git status); changes should be committed (git gui)git pull # or: git fetch -> gitk --all (inspect the changes) -> git merge# git submodule init # if new git modulesgit submodule updateGet/update other tools (EDSeditor):
cd tools./get_tools.shFirst information is in CANopenNode/README.
Basic getting started guide is available inCANopenNode/doc/gettingStarted.md. If everything works there as expected, with virtual or real CAN, then CANopen network is established. With at least basic operation of: CAN reception, transmission, NMT, Heartbeat, Service Communication Objects (SDO).
Next is Basic CANopen Device example program with source code, custom Object Dictionary access functions and advanced CANopen gateway communication. SeebasicDevice/README.md.
- CANopenNode - free and open source CANopen Stack (git submodule)
- docs - CANopenNode documentation, generated by doxygen, available also online athttps://canopennode.github.io/CANopenSocket/
- cocomm - Linux commmand line tool, which communicates with CANopen gateway device via local or TCP socket. Similar as
nctool available in Linux.makethe executable and type./cocomm --helpor seebasicDevice/README.md for example usage. - canopencgi - CGI interface for Apache web server, experimental.
- tools
- EDSEditor - Object Dictionary Editor fromhttps://github.com/robincornelius/libedssharp. Updated with
get_tools.sh. - get_tools.sh - script for getting/updating the tools.
- update_docs.sh - script runs doxygen on CANopenNode and creates softlink index.html.
- run_canopend_candump.sh - script creates virtual CAN device
vcan0and runscandumpandcanopendwith gateway interface on it.
- EDSEditor - Object Dictionary Editor fromhttps://github.com/robincornelius/libedssharp. Updated with
- examples
- basicDevice - Example CANopenNode device with or without gateway interface. Includes example for different testing variables: 64-bit integers, real numbers, strings, domain, object oriented principle with C, etc. SeebasicDevice/README.md.
- test - Different CANopen testing tools
- libs/bats-*Bash Automated Testing System, included as git submodules.
- running_canopen - tests on running CANopen network, based on bats. On virtual or real CAN network. Seetest.md
- docker - Dockerfile with readme.
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.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.
About
Obsolete repository, replaced by CANopenDemo and CANopenLinux
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.