Skip to content

gdmd/OpenC2X-standalone

Repository files navigation

----------------------------------------------------------------------------------------------------
                                             OpenC2X
----------------------------------------------------------------------------------------------------
For latest updates on OpenC2X, visit http://www.ccs-labs.org/software/openc2x/

On Ubuntu 14.04, follow the below mentioned steps to get OpenC2X up and running.
For other OS users, we recommend you to setup a virtual box with Ubuntu 14.04.

OpenC2X source is organized in the tree structure like this:

path_to_openc2x
|
└── OpenC2X
    ├── CMakeLists.txt
    ├── cam
    ├── common
    ├── dcc
    ├── denm
    ├── denmApp
    ├── gps
    ├── httpServer
    ├── ldm
    ├── obd2
    └── kernel-patches


----------------------------------------------------------------------------------------------------
1)                                      Set up the environment
----------------------------------------------------------------------------------------------------
Open a terminal and run the command:

    $ sudo apt-get install libzmq3-dev libboost-all-dev protobuf-compiler libprotobuf-dev \
libgps-dev gpsd gpsd-clients libnl-3-200 libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev sqlite3 \
libsqlite3-dev tmux asn1c build-essential cmake doxygen

    $ wget https://github.com/fynnh/uci/releases/download/20180413135149/uci-1.20180413135149-Linux.deb
    $ sudo dpkg -i uci-1.20180413135149-Linux.deb
    $ wget https://github.com/fynnh/libubox/releases/download/20180413135712/ubox-1.20180413135712-Linux.deb
    $ sudo dpkg -i ubox-1.20180413135712-Linux.deb


----------------------------------------------------------------------------------------------------
2)                                         Installation
----------------------------------------------------------------------------------------------------

    $ wget https://github.com/fynnh/OpenC2X-test/releases/download/20180413144514/openc2x-1.20180413144514-Linux.deb
    $ sudo dpkg -i openc2x-1.20180413144514-Linux.deb

----------------------------------------------------------------------------------------------------
3)                                      Configurations
----------------------------------------------------------------------------------------------------
- The configuration of the modules can be changed in '/etc/config/'
- Make sure to change the interface name and the stationId as per your setup.
- For setting up OpenC2X kernel, go through 'kernel-patches/README.txt'



----------------------------------------------------------------------------------------------------
4)                                        Start OpenC2X
----------------------------------------------------------------------------------------------------
If you have followed the above steps, then you are ready to run OpenC2X.

    $ sudo runOpenC2X.sh

For the GUI, open 'webSite/index.html' in your browser. You can also trigger denms from there.
You can stop your experiment by running stopOpenC2X.sh in another terminal.

About

Open Source Experimental and Prototyping Platform Supporting ETSI ITS-G5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 43.2%
  • JavaScript 36.4%
  • HTML 12.2%
  • CMake 4.4%
  • CSS 2.0%
  • Python 0.8%
  • Other 1.0%