GithubHelp home page GithubHelp logo

suyashdube / octobotics_coding_assignment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from octobotics/octobotics_coding_assignment

0.0 0.0 0.0 768 KB

License: BSD 3-Clause "New" or "Revised" License

Python 96.16% CMake 3.84%

octobotics_coding_assignment's Introduction

Octobotics Coding Assignment

This Github repository provides a base inverted pendulum simulation to be used as-is for the purposes of this assignment

Send the assignment to: [email protected]

Instructions

Dependencies

pip install pygame
sudo apt-get install python3-catkin-tools

Usage

  • clone the repository
git clone [email protected]:octobotics/Octobotics_Coding_Assignment.git
  • navigate to the repository directory
cd Octobotics_Coding_Assignment
  • build the project
catkin build
  • source the workspace
source devel/setup.bash
  • launch the simulation using roslaunch
roslaunch inverted_pendulum_sim inverted_pendulum_sim.launch

For Docker

  • pull the image
docker pull nil69/inverted_pendulum_sim_image:latest
  • ensure you have the necessary X11 utilities installed on your host machine. On a Debian-based system, you can install them using:
sudo apt-get install x11-xserver-utils
  • you need to allow the Docker container to use your host's X server. This can be done by running:
xhost +local:docker
  • run the docker image
docker run -it --env="DISPLAY" --env="QT_X11_NO_MITSHM=1" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" nil69/inverted_pendulum_sim_image

Published Topics

Subscribed Topics

Services

octobotics_coding_assignment's People

Contributors

yogeshphalak avatar charithreddy101 avatar ishanbhatnagar14 avatar nil69420 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.