nao_button_sim repository

Repository Summary

Checkout URI https://github.com/ijnek/nao_button_sim.git
VCS Type git
VCS Version iron
Last Updated 2023-07-24
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)

Packages

Name Version
nao_button_sim 0.1.1

README

Nao Button Sim

Build and Test (humble) Build and Test (iron) 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)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.

Repository Summary

Checkout URI https://github.com/ijnek/nao_button_sim.git
VCS Type git
VCS Version iron
Last Updated 2023-07-24
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)

Packages

Name Version
nao_button_sim 0.1.1

README

Nao Button Sim

Build and Test (humble) Build and Test (iron) 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)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.

Repository Summary

Checkout URI https://github.com/ijnek/nao_button_sim.git
VCS Type git
VCS Version rolling
Last Updated 2023-08-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)

Packages

Name Version
nao_button_sim 1.0.0

README

Nao Button Sim

Build and Test (humble) Build and Test (iron) 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_lola_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)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.

Repository Summary

Checkout URI https://github.com/ijnek/nao_button_sim.git
VCS Type git
VCS Version rolling
Last Updated 2023-08-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)

Packages

Name Version
nao_button_sim 1.0.0

README

Nao Button Sim

Build and Test (humble) Build and Test (iron) 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_lola_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)

CONTRIBUTING

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.