Skip to content

Co-Simulation Framework for Networked Robots

License

Notifications You must be signed in to change notification settings

sm1393/CORNET2.0

 
 

Repository files navigation

CORNET2.0

Co-Simulation Framework for applications involving Networked Robots like Connected Autonomous Vehicles, Network of UAVs.


CORNET 1.0 integrates Ardupilot SITL in Gazebo and NS3 and the source code is available here.

CORNET 2.0 is more generic framework that can be integrated with any robotic framework that supports ROS. This code was tested on an Ubuntu 16.04 and Ubuntu 18.04 system.

For network realization, we use Mininet Wi-Fi; the dependent packages need to installed as mentioned in mininet wifi documentation. This work is submitted for review (COMSNETS 2022). If you find this code useful in your research, please consider citing:

@misc{acharya2021cornet,
    title={CORNET 2.0: A Co-Simulation Middleware for Robot Networks}, 
    author={Srikrishna Acharya and Bharadwaj Amrutur and Mukunda Bharatheesha and Yogesh Simmhan},
    year={2021},
    eprint={2109.06979},
    archivePrefix={arXiv},
    primaryClass={cs.RO}
}

Installation

mininet-WiFi + Containernet Support

We highly recommend using Ubuntu version 16.04 or higher. Some new hostapd features might not work on Ubuntu 14.04.

sudo apt install libnl-route-3-dev
pip3 install docker-py
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1 

sudo apt-get install git
sudo apt-get install ansible git aptitude
git clone https://github.com/ramonfontes/containernet.git
cd containernet/ansible
~/containernet/ansible$ sudo ansible-playbook -i "localhost," -c local install.yml
cd ..
~/containernet$ sudo python setup.py install

ROS2

The Docker with ROS2 support provided in docker_container folder along with other wireless tools for testing and evaluation.

build.sh script will build and tag the images required for running. you can add you own Dockerfile based on the file Dockerfile

Prebuilt docker image

You can also use a pre-built docker image which can be downloaded from here then you can load the image with the following command:

docker load -i containernet_foxy.tar

About

Co-Simulation Framework for Networked Robots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Other 1.6%