Importing Model from Solidworks

I have an assembly of a robot (made on Solidworks) with a camera that I plan to use for object recognition and although I can upload the assembly file, I can’t launch the simulation with the robot. Can someone explain what I might be doing wrong or if I am missing any files?

1 Like


So for launching the simulations you need to follow these steps:

  1. Convert your ASSEMBLY SW file into a XACRO/URDF or SDF file used in Gazebo and ROS.
  2. Add the sensor plugins in that XACRO/URDF/SDF file.
  3. Create a launch file that spawns the robot in gazebo and starts the controllers if needed.

You have some videos explaining the process:

  1. Manual process:
  2. Using the URDF exporter:

Hope this is useful