Skip to main content

No project description provided

Project description

Artefacts Toolkit

artefacts_toolkit.config

from artefacts_toolkit.config import get_artefacts_param
  • get_artefacts_param(param_type, param_name, is_ros=True)
    • Returns a parameter set in the artefacts.yaml file. If param_type is set to launch, it will be returned as type string so that it can be used as a ros launch argument.

artefacts_toolkit.gazebo

from artefacts_toolkit.gazebo import bridge, gz

Note: Gazebo helpers are designed to work with Gazebo versions Garden and above

bridge

  • bridge.get_camera_bridge(topic_name, condition=None)
    • Creates a gazebo /ros2 topic bridge for a given camera topic topic_name. Returns camera_bridge (Node)

gz

  • gz.get_sim_objects(world_file: str)

    • Searches through a given world file, and returns the name (and pose if available) of all models in the simulation.
    • Returns a list of dicts in the format {"name": "<model_name>", "pose": "0 0 0 0 0 0"}as well as a dict in the format "<model_name>": "0 0 0 0 0 0"
  • gz.get_model_location(model_name):

    • Returns the x, y, z location of a currently running gazebo simulation
  • gz.kill_gazebo():

    • Kills the currently running gazebo process.

artefacts_toolkit.rosbag

from artefacts_toolkit.rosbag import image_topics, message_topics, rosbag

image_topics

  • extract_camera_image(rosbag_file_path, camera_topic, output_dir="output")
    • Returns the last recorded image from a given camera topic

message_topics

  • get_final_message(rosbag_filepath, topic)
    • Returns the last recorded message from a given topic

rosbag_topics

  • get_bag_recorder(topic_names, use_sim_time=False):
    • Returns a bag_recorder process, as well as the rosbag_filepath. bag_recorder can then be added to your LaunchDescription

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

artefacts_toolkit-0.2.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file artefacts_toolkit-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for artefacts_toolkit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d42bb18218280eddc215b35308d547a8e7f31e3d8a5fc1004abfc192b50b384
MD5 4cc8ab4d53e02365d099c039287c5427
BLAKE2b-256 adcca1c9c1647b18af719a39d68245cc1cf6bdb8a1883a49fdd3a2f6b6d7ec7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page