GithubHelp home page GithubHelp logo

niryo_one_tester's Introduction

Niryo One Tester

Overview

This package serves as an example on how to communicate with the Niryo One robot arm via ROS, by establishing an action server connection.

Dependencies

This package depends on the actionlib and the niryo_one_msgs packages

actionlib

Please refer to the documentation of the actionlib package

niryo_one_msgs

In your catkin workspace source folder, do

$ git clone https://github.com/NiryoRobotics/niryo_one_ros.git
$ catkin build

this will get you the whole Niryo One ros stack

Installation

In your catkin worksapces source folder, do

$ git clone https://github.com/smaassen/niryo_one_tester.git
$ catkin build

Included nodes

simple_command_node

An example node that walks you through simple commands like move to pose (rpy, or qutarniion) and close/open gripper

Run code

Conect to Niryo one and change ROS_MASTER

First you have to connect to the niryo one wifi according to their documentation. Onec wifi connection is established you shoudl open a new terminal and change the ROS_MASTER_URI

export ROS_MASTER_URI=http://10.10.10.10:11311

You should now be able to see all the published topics by the robot by typing

rostopic list

Run the node

In the same terminal window, run the node (for example simple_command_node) by

rosrun niryo_one_tester simple_command_node

License

The source code is released under a BSD 3-Clause license

Credits

Author(s): Steve Maassen
Maintainer: Steve Maassen, [email protected]
Affiliation: Autonomous Systems Lab, ETH Zurich / Disney Research Lab Zurich

niryo_one_tester's People

Contributors

smaassen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

niryo_one_tester's Issues

Couldn't find an AF_INET address for [niryo-desktop]

i have to connect to the niryo one wifi according to their documentation,my niryo ip :192.168.0.114
i open a new terminal and change the ROS_MASTER_URI = 192.168.0.114
i see all the published topics by the robot by type rostopic list

image

run rosrun niryo_one_tester simple_command_node
dispaly:Couldn't find an AF_INET address for [niryo-desktop]

cant catkin build your project

I created a new directory and executed exactly what your Readme told me to.

I had an error trying to launch catkin build with your git cloned.

The error was the following. I can try to help you if you wish.

Errors

 << niryo_one_tester:cmake /home/gaspard/catkin_ws_control/logs/niryo_one_tester/build.cmake.000.log                                                                                                    

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:302 (message):
catkin_package() include dir 'include' does not exist relative to
'/home/gaspard/catkin_ws_control/src/niryo_one_tester'
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
CMakeLists.txt:24 (catkin_package)

cd /home/gaspard/catkin_ws_control/build/niryo_one_tester; catkin build --get-env niryo_one_tester | catkin env -si /usr/bin/cmake /home/gaspard/catkin_ws_control/src/niryo_one_tester --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/gaspard/catkin_ws_control/devel/.private/niryo_one_tester -DCMAKE_INSTALL_PREFIX=/home/gaspard/catkin_ws_control/install; cd -
..................................................................................................................................................................................................................
Failed << niryo_one_tester:cmake [ Exited with code 1 ]
Failed <<< niryo_one_tester [ 2.0 seconds ]
[build] Summary: 14 of 15 packages succeeded.
[build] Ignored: 1 packages were skipped or are blacklisted.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 4.6 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.

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.