-
 
No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.2.1
License Apache 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/aws-robotics/aws-robomaker-simulation-ros-pkgs.git
VCS Type git
VCS Version dashing
Last Updated 2021-09-21
Dev Status MAINTAINED
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

AWS RoboMaker package containing ROS service definitions for service endpoints provided inside of an AWS RoboMaker simulation.

Additional Links

No additional links.

Maintainers

  • AWS RoboMaker

Authors

  • AWS RoboMaker

AWS Robomaker ROS Service

This package contains ROS service definitions for service endpoints provided inside of an AWS RoboMaker simulation.

Tag API

You can tag, untag, and list tags in your simulation job from the ROS command-line or in your ROS application while it is running. See AWS RoboMaker documentation. You must have an IAM role with the permissions below. Replace account# with your account number.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "robomaker:TagResource",
                "robomaker:UntagResource",
                "robomaker:ListTagsForResource"
            ],
            "Resource": [
                "arn:aws:robomaker:*:<account#>:simulation-job/*"
            ],
            "Effect": "Allow"
        }
    ]
}

AddTags

Python

import rclpy
from robomaker_simulation_msgs.msg import Tag
from robomaker_simulation_msgs.srv import AddTags

def add_tags_to_my_sim():
    # If not already initialized:
    rclpy.init()
    add_node = rclpy.create_node('add_my_tags')
    add_tags(add_node, [Tag(key="name", value="my_test")])

def add_tags(node, tags):
    client = node.create_client(AddTags, '/robomaker/job/add_tags')
    client.wait_for_service(timeout_sec=30)

    request = AddTags.Request()
    request.tags = tags
    future_response = client.call_async(request)
    rclpy.spin_until_future_complete(node, future_response)
    response = future_response.result()
    if not response.success:
        # AddTags failed
        print(response.message)

C++



RemoveTags

Python

import rclpy
from robomaker_simulation_msgs.srv import RemoveTags

def remove_tags_from_my_sim():
    # If not already initialized:
    rclpy.init()
    remove_node = rclpy.create_node('remove_my_tags')
    remove_tags(remove_node, ['name'])

def remove_tags(node, keys):
    client = node.create_client(RemoveTags, '/robomaker/job/remove_tags')
    client.wait_for_service(timeout_sec=30)

    request = RemoveTags.Request()
    request.keys = keys
    future_response = client.call_async(request)
    rclpy.spin_until_future_complete(node, future_response)
    response = future_response.result()
    if not response.success:
        # RemoveTags failed
        print(response.message)


C++



ListTags

Python

import rclpy
from robomaker_simulation_msgs.srv import ListTags

def list_tags_on_my_sim():
    # If not already initialized:
    rclpy.init()
    list_node = rclpy.create_node('list_my_tags')
    list_tags(list_node)

def list_tags(node):
    client = node.create_client(ListTags, '/robomaker/job/list_tags')
    client.wait_for_service(timeout_sec=30)
    future_response = client.call_async(ListTags.Request())
    rclpy.spin_until_future_complete(node, future_response)
    response = future_response.result()
    if response.success:
        # ListTags succeeded
        print(response.tags)
    else:
        # ListTags failed
        print(response.message)

C++



CancelSimulation API

You can cancel your simulation job from the ROS command-line or in your ROS application while it is running. See AWS RoboMaker documentation. You must have an IAM role with the permissions below. Replace account# with your account number.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "robomaker:CancelSimulationJob"
            ],
            "Resource": [
                "arn:aws:robomaker:*:<account#>:simulation-job/*"
            ],
            "Effect": "Allow"
        }
    ]
}

Python

import rclpy
from robomaker_simulation_msgs.srv import Cancel

def cancel_job():
    # If not already initialized
    rclpy.init()
    node = rclpy.create_node('cancel_my_job')

    client = node.create_client(Cancel, '/robomaker/job/cancel')
    client.wait_for_service(timeout_sec=30)

    future_response = client.call_async(Cancel.Request())
    rclpy.spin_until_future_complete(node, future_response)
    response = future_response.result()
    if not response.success:
        # Cancel failed
        print(response.message)


License

This library is licensed under the Apache 2.0 License.

CHANGELOG

Changelog for package robomaker_simulation_msgs

Forthcoming

  • Add Python examples for ROS2 (#7)
  • Add dashing support (examples missing) (#5)
  • Merge pull request #4 from aws-robotics/samuelgundry-dev README step for adding dependency to package.xml
  • README step for adding dependency to package.xml
  • Document install steps for robomaker_simulation_msgs README (#3)
  • Merge pull request #2 from aws-robotics/samuelgundry-dev Document permissions in msgs README
  • Document permissions in msgs README
  • Update README.md, syntax highlighting for python
  • Initial commit to add robomaker_simulation_msgs and aws_robomaker_simulation_ros_pkgs (#1)
  • Contributors: Anamika Mukherji, Connor Gibb, Matthew Murphy, Sam Gundry, Samuel Gundry

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

Plugins

No plugins found.

Recent questions tagged robomaker_simulation_msgs at Robotics Stack Exchange

No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.

robomaker_simulation_msgs package from aws-robomaker-simulation-ros-pkgs repo

aws_robomaker_simulation_ros_pkgs robomaker_simulation_msgs

Package Summary

Tags No category tags.
Version 1.1.1
License Apache 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/aws-robotics/aws-robomaker-simulation-ros-pkgs.git
VCS Type git
VCS Version kinetic
Last Updated 2020-11-11
Dev Status MAINTAINED
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

AWS RoboMaker package containing ROS service definitions for service endpoints provided inside of an AWS RoboMaker simulation.

Additional Links

No additional links.

Maintainers

  • AWS RoboMaker

Authors

  • AWS RoboMaker

AWS RoboMaker ROS Message Service

This package contains ROS service definitions for service endpoints provided inside of an AWS RoboMaker simulation.

Visit the AWS RoboMaker website to learn more about building intelligent robotic applications with Amazon Web Services.

Install

You will need the source code in your workspace.

  1. Add a .rosinstall file with the contents below into your workspace folder then run rosws update:
- git: {local-name: src/aws-robomaker-simulation-ros-pkgs, uri: 'https://github.com/aws-robotics/aws-robomaker-simulation-ros-pkgs.git', version: master}

  1. Add a dependency to your package.xml to access the service types (.srv):
<package>
   ...
   <depend>aws_robomaker_simulation_ros_pkgs</depend>
</package>

  1. Follow the Python usage below and then build and bundle your workspace as per usual:
# build for ROS
rosws update
rosdep install --from-paths . --ignore-src -r -y
colcon build
colcon bundle

Usage

You can tag, untag, and list tags in your simulation job from the ROS command-line or in your ROS application while it is running. See AWS RoboMaker documentation. You must have an IAM role with the permissions below. Replace account# with your account number.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "robomaker:TagResource",
                "robomaker:UntagResource",
                "robomaker:ListTagsForResource"
            ],
            "Resource": [
                "arn:aws:robomaker:*:account#:simulation-job/*"
            ],
            "Effect": "Allow"
        }
    ]
}

AddTags

Python

import rospy
from robomaker_simulation_msgs.msg import Tag
from robomaker_simulation_msgs.srv import AddTags

def add_tags_to_my_sim():
    add_tags([Tag(key="name", value="my_test")])

def add_tags(tags):
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/add_tags', timeout=timeoutInSeconds)
    requestAddTags = rospy.ServiceProxy('/robomaker/job/add_tags', AddTags)
    response = requestAddTags(tags)
    if not response.success:
        # AddTags failed
        print response.message


RemoveTag

Python

import rospy
from robomaker_simulation_msgs.srv import RemoveTags

def remove_tags_from_my_sim():
    remove_tags([Tag(key="name", value="my_test")])

def remove_tags(tags):
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/remove_tags', timeout=timeoutInSeconds)
    requestRemoveTags = rospy.ServiceProxy('/robomaker/job/remove_tags', RemoveTags)
    response = requestRemoveTags(tags)
    if not response.success:
        # RemoveTags failed
        print response.message


ListTags

Python

import rospy
from robomaker_simulation_msgs.srv import ListTags

def list_tags():
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/list_tags', timeout=timeoutInSeconds)
    requestListTags = rospy.ServiceProxy('/robomaker/job/list_tags', ListTags)
    response = requestListTags()
    if response.success:
        # ListTags succeeded
        print response.tags
    else:
        # ListTags failed
        print response.message


CancelSimulation

You can cancel your simulation job from the ROS command-line or in your ROS application while it is running. See AWS RoboMaker documentation. You must have an IAM role with the permissions below. Replace account# with your account number.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "robomaker:CancelSimulationJob"
            ],
            "Resource": [
                "arn:aws:robomaker:*:account#:simulation-job/*"
            ],
            "Effect": "Allow"
        }
    ]
}

Python

import rospy
from robomaker_simulation_msgs.srv import Cancel

def cancel_job():
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/cancel', timeout=timeoutInSeconds)
    requestCancel = rospy.ServiceProxy('/robomaker/job/cancel', Cancel)
    response = requestCancel()
    if not response.success:
        # Request cancel job failed
        print response.message

License

This library is licensed under the Apache 2.0 License.

CHANGELOG

Changelog for package robomaker_simulation_msgs

1.1.1 (2020-11-09)

  • Add newlines to CMakeLists (#10) (#12)
  • Merge pull request #9 from aws-robotics/kinetic-dep Remove rospy from CMakeLists.txt
  • Remove rospy from CMakeLists.txt
  • Minor fixes to sample code snippets (#8)
  • Merge pull request #4 from aws-robotics/samuelgundry-dev README step for adding dependency to package.xml
  • README step for adding dependency to package.xml
  • Document install steps for robomaker_simulation_msgs README (#3)
  • Merge pull request #2 from aws-robotics/samuelgundry-dev Document permissions in msgs README
  • Document permissions in msgs README
  • Update README.md, syntax highlighting for python
  • Initial commit to add robomaker_simulation_msgs and aws_robomaker_simulation_ros_pkgs (#1)
  • Contributors: Anamika Mukherji, Connor Gibb, Devin Bonnie, Matthew Murphy, Sam Gundry, Samuel Gundry

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

Plugins

No plugins found.

Recent questions tagged robomaker_simulation_msgs at Robotics Stack Exchange

robomaker_simulation_msgs package from aws-robomaker-simulation-ros-pkgs repo

aws_robomaker_simulation_ros_pkgs robomaker_simulation_msgs

Package Summary

Tags No category tags.
Version 1.1.1
License Apache 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/aws-robotics/aws-robomaker-simulation-ros-pkgs.git
VCS Type git
VCS Version 1.1.1
Last Updated 2020-11-09
Dev Status MAINTAINED
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

AWS RoboMaker package containing ROS service definitions for service endpoints provided inside of an AWS RoboMaker simulation.

Additional Links

No additional links.

Maintainers

  • AWS RoboMaker

Authors

  • AWS RoboMaker

AWS RoboMaker ROS Message Service

This package contains ROS service definitions for service endpoints provided inside of an AWS RoboMaker simulation.

Visit the AWS RoboMaker website to learn more about building intelligent robotic applications with Amazon Web Services.

Install

You will need the source code in your workspace.

  1. Add a .rosinstall file with the contents below into your workspace folder then run rosws update:
- git: {local-name: src/aws-robomaker-simulation-ros-pkgs, uri: 'https://github.com/aws-robotics/aws-robomaker-simulation-ros-pkgs.git', version: master}

  1. Add a dependency to your package.xml to access the service types (.srv):
<package>
   ...
   <depend>aws_robomaker_simulation_ros_pkgs</depend>
</package>

  1. Follow the Python usage below and then build and bundle your workspace as per usual:
# build for ROS
rosws update
rosdep install --from-paths . --ignore-src -r -y
colcon build
colcon bundle

Usage

You can tag, untag, and list tags in your simulation job from the ROS command-line or in your ROS application while it is running. See AWS RoboMaker documentation. You must have an IAM role with the permissions below. Replace account# with your account number.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "robomaker:TagResource",
                "robomaker:UntagResource",
                "robomaker:ListTagsForResource"
            ],
            "Resource": [
                "arn:aws:robomaker:*:account#:simulation-job/*"
            ],
            "Effect": "Allow"
        }
    ]
}

AddTags

Python

import rospy
from robomaker_simulation_msgs.msg import Tag
from robomaker_simulation_msgs.srv import AddTags

def add_tags_to_my_sim():
    add_tags([Tag(key="name", value="my_test")])

def add_tags(tags):
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/add_tags', timeout=timeoutInSeconds)
    requestAddTags = rospy.ServiceProxy('/robomaker/job/add_tags', AddTags)
    response = requestAddTags(tags)
    if not response.success:
        # AddTags failed
        print response.message


RemoveTag

Python

import rospy
from robomaker_simulation_msgs.srv import RemoveTags

def remove_tags_from_my_sim():
    remove_tags([Tag(key="name", value="my_test")])

def remove_tags(tags):
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/remove_tags', timeout=timeoutInSeconds)
    requestRemoveTags = rospy.ServiceProxy('/robomaker/job/remove_tags', RemoveTags)
    response = requestRemoveTags(tags)
    if not response.success:
        # RemoveTags failed
        print response.message


ListTags

Python

import rospy
from robomaker_simulation_msgs.srv import ListTags

def list_tags():
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/list_tags', timeout=timeoutInSeconds)
    requestListTags = rospy.ServiceProxy('/robomaker/job/list_tags', ListTags)
    response = requestListTags()
    if response.success:
        # ListTags succeeded
        print response.tags
    else:
        # ListTags failed
        print response.message


CancelSimulation

You can cancel your simulation job from the ROS command-line or in your ROS application while it is running. See AWS RoboMaker documentation. You must have an IAM role with the permissions below. Replace account# with your account number.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "robomaker:CancelSimulationJob"
            ],
            "Resource": [
                "arn:aws:robomaker:*:account#:simulation-job/*"
            ],
            "Effect": "Allow"
        }
    ]
}

Python

import rospy
from robomaker_simulation_msgs.srv import Cancel

def cancel_job():
    timeoutInSeconds = 60
    rospy.wait_for_service('/robomaker/job/cancel', timeout=timeoutInSeconds)
    requestCancel = rospy.ServiceProxy('/robomaker/job/cancel', Cancel)
    response = requestCancel()
    if not response.success:
        # Request cancel job failed
        print response.message

License

This library is licensed under the Apache 2.0 License.

CHANGELOG

Changelog for package robomaker_simulation_msgs

1.1.1 (2020-11-09)

  • Add newlines to CMakeLists (#10) (#12)
  • Merge pull request #9 from aws-robotics/kinetic-dep Remove rospy from CMakeLists.txt
  • Remove rospy from CMakeLists.txt
  • Minor fixes to sample code snippets (#8)
  • Merge pull request #4 from aws-robotics/samuelgundry-dev README step for adding dependency to package.xml
  • README step for adding dependency to package.xml
  • Document install steps for robomaker_simulation_msgs README (#3)
  • Merge pull request #2 from aws-robotics/samuelgundry-dev Document permissions in msgs README
  • Document permissions in msgs README
  • Update README.md, syntax highlighting for python
  • Initial commit to add robomaker_simulation_msgs and aws_robomaker_simulation_ros_pkgs (#1)
  • Contributors: Anamika Mukherji, Connor Gibb, Devin Bonnie, Matthew Murphy, Sam Gundry, Samuel Gundry

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

Plugins

No plugins found.

Recent questions tagged robomaker_simulation_msgs at Robotics Stack Exchange