Code Monkey home page Code Monkey logo

naosoccer_pos_action's Introduction

naosoccer_pos_action

Build and Test (humble) Build and Test (iron) Build and Test (rolling)

Executes a .pos file action for a NAO robot, a filetype defined in rUNSWift's codebase.

Steps (on real robot)

  1. On a terminal on the robot, run ros2 run nao_lola_client nao_lola_client

  2. In a new terminal (either on robot, or on your machine), run ros2 run naosoccer_pos_action naosoccer_pos_action

  3. In a new terminal (either on robot, or on your machine), publish a start message

    ros2 topic pub --once start_pos_action std_msgs/msg/Bool '{data: true}'

Steps (simulation using rcsoccer3d)

  1. Run rcsoccersim3d

  2. In a new terminal, run ros2 run rcss3d_nao rcss3d_nao

  3. In a new terminal, run ros2 run naosoccer_pos_action naosoccer_pos_action

  4. In a new terminal, publish a start message

    ros2 topic pub --once start_pos_action std_msgs/msg/Bool '{data: true}'

Using a different motion.

Pos files define the different motions, and can be specified using a ros parameter for the naosoccer_pos_action node. To set the parameter, when running the naosoccer_pos_action node in the steps above, instead do the following:

ros2 run naosoccer_pos_action naosoccer_pos_action --ros-args -p "file:=src/naosoccer_pos_action/pos/tilt.pos"

naosoccer_pos_action's People

Contributors

ijnek avatar marco9700 avatar antbono avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

naosoccer_pos_action's Issues

Pos files can not be executed on the robot

Getting an error in lola node output on the robot while trying to execute the pos file on a robot.
The same file works fine in simulation.

[ERROR] [1692590320.768159872] [msgpack packer]: Incorrect message received for nao_command_msgs::msg::JointStiffnesses. Stiffnesses and Indexes vector must have the same length. Stiffnesses vector has length 0, while indexes vector has length 27
[ros2run]: Segmentation fault

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.