This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<!-- =================================================================================== --> | |
<!-- | This document was autogenerated by xacro from TwoJointRobot_woCyl.xacro | --> | |
<!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | --> | |
<!-- =================================================================================== --> | |
<robot name="TwoJointRobot" xmlns:xacro="http://www.ros.org/wiki/xacro"> | |
<material name="blue"> | |
<color rgba="0 0 0.8 1"/> | |
</material> | |
<material name="white"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pybullet as p | |
import pybullet_data | |
import time | |
import numpy as np | |
SIM_TIMESTEP = 1 | |
# Init sim | |
physicsClient = p.connect(p.GUI)#or p.DIRECT for non-graphical version | |
# Set up the visualizer |