You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to attach the tool with from compas_robots.viewer.scene.robotmodelobject import RobotModelObject? robot_object.attach_tool_model(tool_model) robot_object.draw_attached_meshes() robot_object.draw_visual(),Not effective
#27
There is no example illustrating how to use robot_object.attach_tool() and display it on the Viewer.screen below, nor how to change the joint and have the end follow the changes. The example below only displays the robot, but not the tool attached to the robotic arm. Could the official provide a corresponding example that displays the robotic arm and end claw on the Viewer, without necessarily using ROS or Rhino for display.
Can you provide an example related to attach_tool and demonstrate how to display and update joint changes in the Viewer, ensuring that the tool at the end follows the changes, without utilizing ROS or other CAD environments。Thankyou very much。
programe:Only Robot is displayed below。
from compas_robots.viewer.scene.robotmodelobject import RobotModelObject
from compas_viewer.components import Slider
from compas_viewer import Viewer
tool_model=...
robot_object: RobotModelObject = viewer.scene.add(model, show_lines=False, configuration=configuration)
Attach the tool
robot_object.attach_tool_model(tool_model)
robot_object.draw_attached_meshes()
robot_object.draw_visual()
Not effective?
The text was updated successfully, but these errors were encountered: