Skip to main content

Posts

Showing posts from January, 2023

VLAN implementation using NS2

ROS Installation | Robotic Operating System Installation | Noetic

ROS Noetic Installation Today we are going to see the installation of  Robotic Operating System 1 (ROS) Step 1: What We need: This will mainly work on Ubuntu 20.04 OS  Support till 2025 May. Name of the ROS: Noetic  For the complete installation step by step, you can watch the video given below Step 2: Commands Here are the commands to be used one after the other.  $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' $ sudo apt install curl # if you haven't already installed curl $ curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - The above commands add the ROS to the aptitude manager and we can now install ROS1 with simple commands $ sudo apt update $ sudo apt install build-essential autoconf automake libxmu-dev $ sudo apt install ros-noetic-desktop-full The above command need 370MB of softwares to be downloaded. So the complete package of ROS in

Constrained Application Protocol (CoAP) using Node JS

Constrained Application Protocol using Node JS Constrained application protocol is shortly called as CoAP and its based on Request Response Model where a browser or application will be requesting for a resource from the server. The resource would be a sensor reading like temperature, humidity, heartbeat, etc.  For complete explanation of the source code and the demo please go through the video: CoAP can be developed with many programming or scripting languages like: Python Node JS Contiki OS In this article, I will be writing or explaining the source code of CoAP using Node JS and this can be demonstrated with a plugin name called Cu Plugin for Chrome Browser. There are many CoAP client available like coap, libcoap, etc in Linux OS and Cu Plugin being a easier and common approach for a client.  You can refer the complete This program first starts the CoAP Server and accept only the JSON format headers, else it will throw the error number '4.06'.  Based on the request URL (re