GithubHelp home page GithubHelp logo

go1controller's Introduction

go1controller package

The go1controller package can be used to control the robot via ROS. It currently supports testing the connection by cycling between standing and laying down with the testHigh.py script and controlling the robot with a gamepad.

Usage

testHigh

To run the testHigh.py script open a terminal and run:

roslaunch unitree_legged_real real.launch ctrl_level:=HIGHLEVEL

This starts the translation layer between ROS messages and the UDP protocol.

Then start up a second terminal and run:

rosrun go1controller testHigh.py

The robot should now change its position every ten seconds.

joystick_control

To run the joystick_control program you can either start the translation layer by unitree as shown above and then run rosrun go1controller joystick_control [gamepad layout number] or run the provided launch file, which also starts the translation layer:

roslaunch go1coltroller joystick_control.launch [gamepad layout number]

Then in another terminal start the joystick input:

rosrun joy joy_node

Make sure a gamepad is connected to the computer. You maybe also have to change the selected device.

Troubleshooting

If the robot doesn't move, make sure you are connected via ethernet or Wi-Fi. Make sure, you can ping 192.168.123.161.

To change the joystick input device follow this link

go1controller's People

Contributors

jonasfovea avatar

Stargazers

 avatar

Watchers

 avatar

go1controller's Issues

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.