quantumxt / conifer-dashboard

The dashboard for the autnomous vehicle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conifer-dashboard

A web-based dashboard for the autonomous vehicle via rosbridge_suite & nodejs.

Prerequisites

Ensure that the following is installed before running the dashboard:

ROS

Main Stack

Ensure that the ROS Stack is installed, tutorial on ROS installation could be found here.

rosbridge_suite

Server Implementations of the rosbridge: rosbridge_suite

Install the package via apt:

$ sudo apt install  sudo apt install ros-melodic-rosbridge-suite 

nodejs

To run the server, ensure that nodejs is installed. (Using version Node.js v13.x)

# Using Ubuntu
$ curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
$ sudo apt-get install -y nodejs

[Source: NodeSource Node.js Binary Distributions]

Running the dashboard

A Bash script has been written to run the dashboard. To do so, chmod runserver first:

$ chmod 755 runserver

Then excecute the script:

$ ./runserver

Debugging

To publish dummy topics, use:

$ rostopic pub /spd std_msgs/Int8 10

or

$ rostopic pub /tgoal std_msgs/Float64 10

About

The dashboard for the autnomous vehicle


Languages

Language:JavaScript 88.0%Language:HTML 11.8%Language:CSS 0.1%Language:Shell 0.1%