How to use generalized_contact_forces in Drake MultibodyPlant
Drake’s MultibodyPlant has an output port for generalized_contact_forces. I want to use this port to see what contact forces are being applied to the gripper of my robot. However, the documentation does not mention what type of data is being sent through this port. Are there some resources that explain what a generalized contact force is, and how to consume the data coming from this port?
Drake, How to visualize Jacobian of Mathematical Program
I’ve been working on some NLP problems in casadi, but I was looking at maybe coming back and working with drake again.
How do I get specific results from the GraphOfConvexSets class in Drake?
I am using Drake’s GraphOfConvexSets Class to solve the shortest path problem through a graph of convex sets. I have manually built my own graph and have used the class reference to solve a simple A*-type problem from drake::geometry::optimization::GraphOfConvexSets::SolveShortestPath and using that result to get drake::geometry::optimization::GraphOfConvexSets::SolveShortestPath::GetSolutionPath (which is a list of edges that are either 1 or 0 for active or inactive). Note the picture below
enter image description here
I have made about 9 nodes that each have four boundary points in them. Each node is a convex set. I defined them as polygons and then added as a vertex to the graph. I also added the edges between the vertices.
Simulating force/torque sensors at all joints in different robot configurations
I would like to simulate force/torque sensors at each joint of a robot to measure the bearing loads at each joint. This needs to be done when the robot is at different configurations.
Quadrotor simulation with MPC controller get stuck in Drake
I first built a mass in SDF and a prismatic joint with and on the bottom, then I built it into a quadcopter using the propeller module in Drake. In order to control the drone to reach the target point, I used linear MPC to build the control system. Additionally, I followed other answer and set the controller’s output variable to a discrete variable and added a zero-order hold between the controller and the drone model. The solve time of each MPC program is between 10-20ms, and the update interval of the controller output variables is 0.1 seconds.
How to get the correct joint for a Force Torque simulation in Drake
I’m simulating a force-torque sensor using Drake.
How can I add a model and directly weld it?
I have a collection of model paths and corresponding transforms. I want to iterate through these models and weld them to the world with the corresponding transform.
Pushing a ball to target position using direct method with contacts as LCP constraints
Sorry for the lengthy question!
Debugging Interpenetration in Drake Simulation
I’ve got a robot simulated in Drake, which I’m driving with a game controller. I’m seeing that the robot is able to interpenetrate with other objects in the scene.
How do I get hydroelastic contact forces in Drake C++?
I have the following grasp simulation in Drake C++ with a Robotiq-140 gripper on a irregular mesh (which is derived from the robotiq.cc code mentioned in Issue 19842 ):