I tried to add a conveyor to my project, and I want to control the conveyor’s speed.
Following is my code try to control the conveyor’s speed, but it doesn’t work.
And I also found even though I delete the conveyorbeltgraph, my object still move.
Hope somebody can give some suggestions to deal with this problem.
My Isaac Sim version is 2022.2.0.
async def _on_Move_button_event_aync(self):
stage = get_context().get_stage()
cvNode = self.stage.GetPrimAtPath(‘/World/ConveyorBeltGraph/ConveyorNode’)
attr = cvNode.GetAttribute(“inputs:velocity”)
Thanks for your feedback! Deleting the node indeed does not clear up the Rigid body properties It’s made by design this way to let people have a leaner simulation scene if they so desire once the conveyors are set up (in case they don’t want the animation, and also don’t want to update the velocities). If you scroll down in the Properties pane, you’ll see the Rigid body tab, which contains the checkbox for kinematic, and the sliders for rigid body speed. you can uncheck the kinematic option, and also set the velocity to zero, and the body will stop moving the box.
your code should work to control the conveyor speed, though.
Thank you @rgasoto , it looks like what I need to control is the Rigid body’s properties if I don’t need the animation.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.