nao_button_sim package from nao_button_sim repo

nao_button_sim

Package Summary

Tags No category tags.
Version 0.1.1
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ijnek/nao_button_sim.git
VCS Type git
VCS Version rolling
Last Updated 2022-05-03
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Allows simulating button presses through command line interface

Additional Links

No additional links.

Maintainers

  • ijnek

Authors

No additional authors.

Nao Button Sim

Build and Test (foxy) Build and Test (galactic) Build and Test (rolling)

This packages provides a simple way to simulate button presses on the NAO from a command line. This is useful when you cannot physically press the button on the robot, such as when: * working with simulated robots * working with a real robot in a location far away

The package simply converts key presses to nao_sensor_msgs/msg/Buttons and publishes it on /sensors/buttons at the rate specified by the frequency parameter (default: 50Hz)

Installing

In your ROS2 workspace,

git clone git@github.com:ijnek/nao_button_sim.git src/nao_button_sim
rosdep install --from-paths src
colcon build

Running the Button Simulator

In a new terminal, run:

ros2 run nao_button_sim nao_button_sim

If you see your terminal getting spammed, increase the width of your terminal window, or zoom out (Ctrl and -) a couple of times, to ensure the terminal window is at least 110 characters wide. Once the spamming stops, kill the node (Ctrl + C), and rerun it.

To simulate a button press, click on a key specified in the assigned keys list below:

---------  Assigned Keys  ---------                                 
G - Chest button
C - Left Foot Bumper Left
V - Left Foot Bumper Right
B - Right Foot Bumper Left
N - Right Foot Bumper Right

The program provides visual feedback for which buttons are being pressed. The word "Pressed" will show in the corresponding column, as shown below:

---------------------------------------  BUTTON PRESS STATUS  ---------------------------------------

|     Chest (G)     | LFoot BumperL (C) | LFoot BumperR (V) | RFoot BumperL (B) | RFoot BumperR (N) |
=====================================================================================================
|      Pressed      |                   |                   |      Pressed      |                   |

Multiple keys can be pressed at the same time.

Published Topics

Parameters

  • frequency (int, default=50)
CHANGELOG

Changelog for package nao_button_sim

0.1.1 (2022-02-07)

  • Update README.md
  • port everything across from naosoccer_sim
  • Contributors: Kenji Brameld, ijnek

0.1.0 (2021-08-14)

0.0.2 (2021-07-20 15:11)

  • fixed up package dependency
  • Contributors: Kenji Brameld

0.0.1 (2021-07-20 14:54)

  • add package description for nao_button_sim
  • fix packages broken from moving from ros2 foxy to galactic
  • improve nao_button_sim interface
  • was missing a slash in xml...
  • specify license type
  • comply with ament tests
  • add copyright statements
  • add frequency parameter to nao_button_sim
  • add nao_button_test as a apython package
  • Contributors: Kenji Brameld

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged nao_button_sim at answers.ros.org

nao_button_sim package from nao_button_sim repo

nao_button_sim

Package Summary

Tags No category tags.
Version 0.1.1
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ijnek/nao_button_sim.git
VCS Type git
VCS Version rolling
Last Updated 2022-05-03
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Allows simulating button presses through command line interface

Additional Links

No additional links.

Maintainers

  • ijnek

Authors

No additional authors.

Nao Button Sim

Build and Test (foxy) Build and Test (galactic) Build and Test (rolling)

This packages provides a simple way to simulate button presses on the NAO from a command line. This is useful when you cannot physically press the button on the robot, such as when: * working with simulated robots * working with a real robot in a location far away

The package simply converts key presses to nao_sensor_msgs/msg/Buttons and publishes it on /sensors/buttons at the rate specified by the frequency parameter (default: 50Hz)

Installing

In your ROS2 workspace,

git clone git@github.com:ijnek/nao_button_sim.git src/nao_button_sim
rosdep install --from-paths src
colcon build

Running the Button Simulator

In a new terminal, run:

ros2 run nao_button_sim nao_button_sim

If you see your terminal getting spammed, increase the width of your terminal window, or zoom out (Ctrl and -) a couple of times, to ensure the terminal window is at least 110 characters wide. Once the spamming stops, kill the node (Ctrl + C), and rerun it.

To simulate a button press, click on a key specified in the assigned keys list below:

---------  Assigned Keys  ---------                                 
G - Chest button
C - Left Foot Bumper Left
V - Left Foot Bumper Right
B - Right Foot Bumper Left
N - Right Foot Bumper Right

The program provides visual feedback for which buttons are being pressed. The word "Pressed" will show in the corresponding column, as shown below:

---------------------------------------  BUTTON PRESS STATUS  ---------------------------------------

|     Chest (G)     | LFoot BumperL (C) | LFoot BumperR (V) | RFoot BumperL (B) | RFoot BumperR (N) |
=====================================================================================================
|      Pressed      |                   |                   |      Pressed      |                   |

Multiple keys can be pressed at the same time.

Published Topics

Parameters

  • frequency (int, default=50)
CHANGELOG

Changelog for package nao_button_sim

0.1.1 (2022-02-07)

  • Update README.md
  • port everything across from naosoccer_sim
  • Contributors: Kenji Brameld, ijnek

0.1.0 (2021-08-14)

0.0.2 (2021-07-20 15:11)

  • fixed up package dependency
  • Contributors: Kenji Brameld

0.0.1 (2021-07-20 14:54)

  • add package description for nao_button_sim
  • fix packages broken from moving from ros2 foxy to galactic
  • improve nao_button_sim interface
  • was missing a slash in xml...
  • specify license type
  • comply with ament tests
  • add copyright statements
  • add frequency parameter to nao_button_sim
  • add nao_button_test as a apython package
  • Contributors: Kenji Brameld

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged nao_button_sim at answers.ros.org

nao_button_sim package from nao_button_sim repo

nao_button_sim

Package Summary

Tags No category tags.
Version 0.1.1
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ijnek/nao_button_sim.git
VCS Type git
VCS Version rolling
Last Updated 2022-05-03
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Allows simulating button presses through command line interface

Additional Links

No additional links.

Maintainers

  • ijnek

Authors

No additional authors.

Nao Button Sim

Build and Test (foxy) Build and Test (galactic) Build and Test (rolling)

This packages provides a simple way to simulate button presses on the NAO from a command line. This is useful when you cannot physically press the button on the robot, such as when: * working with simulated robots * working with a real robot in a location far away

The package simply converts key presses to nao_sensor_msgs/msg/Buttons and publishes it on /sensors/buttons at the rate specified by the frequency parameter (default: 50Hz)

Installing

In your ROS2 workspace,

git clone git@github.com:ijnek/nao_button_sim.git src/nao_button_sim
rosdep install --from-paths src
colcon build

Running the Button Simulator

In a new terminal, run:

ros2 run nao_button_sim nao_button_sim

If you see your terminal getting spammed, increase the width of your terminal window, or zoom out (Ctrl and -) a couple of times, to ensure the terminal window is at least 110 characters wide. Once the spamming stops, kill the node (Ctrl + C), and rerun it.

To simulate a button press, click on a key specified in the assigned keys list below:

---------  Assigned Keys  ---------                                 
G - Chest button
C - Left Foot Bumper Left
V - Left Foot Bumper Right
B - Right Foot Bumper Left
N - Right Foot Bumper Right

The program provides visual feedback for which buttons are being pressed. The word "Pressed" will show in the corresponding column, as shown below:

---------------------------------------  BUTTON PRESS STATUS  ---------------------------------------

|     Chest (G)     | LFoot BumperL (C) | LFoot BumperR (V) | RFoot BumperL (B) | RFoot BumperR (N) |
=====================================================================================================
|      Pressed      |                   |                   |      Pressed      |                   |

Multiple keys can be pressed at the same time.

Published Topics

Parameters

  • frequency (int, default=50)
CHANGELOG

Changelog for package nao_button_sim

0.1.1 (2022-02-07)

  • Update README.md
  • port everything across from naosoccer_sim
  • Contributors: Kenji Brameld, ijnek

0.1.0 (2021-08-14)

0.0.2 (2021-07-20 15:11)

  • fixed up package dependency
  • Contributors: Kenji Brameld

0.0.1 (2021-07-20 14:54)

  • add package description for nao_button_sim
  • fix packages broken from moving from ros2 foxy to galactic
  • improve nao_button_sim interface
  • was missing a slash in xml...
  • specify license type
  • comply with ament tests
  • add copyright statements
  • add frequency parameter to nao_button_sim
  • add nao_button_test as a apython package
  • Contributors: Kenji Brameld

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged nao_button_sim at answers.ros.org