A visual real-time web-based debugging environment used to understand and improve robotics systems.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
public
tests/robot_simulator Renames all occurrences of nubugger to nusight Jun 4, 2018
.bowerrc
.gitignore
NUsight.iml
NUsight.sublime-project Renamed from NUbugger to NUsight Feb 11, 2015
README.md
Setup.js
app.js
bower.json Adds longjs as a dependency to bower Jun 4, 2018
package.json Upgrade NUClearNet to 1.5.2 Jul 25, 2017

README.md

NUsight

A visual real-time web-based debugging environment used to understand and improve robotics systems.

Installation

Windows

Ubuntu Linux

  • Install Node.js 4+ using Node Version Manager

     sudo apt-get install npm
     wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
     source ~/.profile
     nvm install node
    
  • Install Python 2 - Version 2 is needed as Node GYP doesn't support Python 3 as of this writing.

    sudo apt-get install python2.7
    npm config set python python2.7
    
  • Install Git

    sudo apt-get install git
    
  • Run the following commands:

    git clone https://github.com/NUbots/NUsight.git
    cd NUsight
    npm install
    

Running NUsight

  • Run the following command:

    npm start
    
  • Navigate your browser (Google Chrome is best supported) to http://localhost:9090/

Troubleshooting

  • If running robot code on a virtual machine and the robot connects to NUsight but no data is recieved, run the following command on the virtual machine:

     sudo route add -net 224.0.0.0 netmask 240.0.0.0 eth1
  • This is particularly a common problem when using virtualbox. The command forces multicast packets over the bridged interface.