Robowflex
v0.1
Making MoveIt Easy
|
Visualize motion plans and robots in tandem with robowflex_library
in Blender.
*.dae
).python3-yaml
for loading YAML files.collada_urdf
for translating URDFs into COLLADA files.package://
URIs are supported by calling the rospack
command-line tool. Blender should be run in an environment with your ROS workspace sourced.
This package provides the robowflex_visualization
Python library intended for use within Blender. All code for this library is within the robowflex_visualization
folder.
robowflex::Trajectory::toYAMLFile()
function. An example of this can be found in robowflex_library/scripts/fetch_test.cpp
: Planning scenes can be edited manually by writing the YAML file (an example is in robowflex_library/yaml/test.yml
), or by calling robowflex::Scene::toYAMLFile()
on a loaded planning scene.
scripts/robowflex.py
to use your desired files. Note the loaded files for the trajectory and scene in the following script: robowflex.blend
Blender scene. To the left should be a baked in Python script (if there is no script, it is also available at scripts/blender.py
). This script sets up the system path for the built-in Blender Python to look at your Python3 system path as well as load the robowflex_visualization
Python module. Run this script to execute whatever code you have in scripts/robowflex.py
. You can change what script is called.robowflex_library/scripts/fetch_test.cpp
You can render still images of robots.
robowflex_library/scripts/ur5_test.cpp
As well as full animations of motion plans.