View Single Post
  #3   Spotlight this post!  
Unread 07-01-2015, 22:52
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Custom models for frcsim?

Quote:
Originally Posted by dawonn View Post
You will probably need to make a custom Gazebo Plugin that describes your robot's kinematics and control signals. I also haven't looked to terribly deep into it myself yet, but I have worked with Gazebo quite a bit in the past.

IIRC: You can define the structure of your robot in an XML type file where you specify each joint and link in your system, then write a c++ plugin that describes how to control each joint.
Right, the frcsim plugins provide generic functionality to control a joint, so ideally those are designed such that they will work with any general robot (for example, pacsim and gearsbot use the same binaries).

And yeah, I'm vaguely aware of the XML, but I'm not sure of the format, and I suspect there's something one needs to do to create the world file.. etc. I'd rather not have to reverse engineer it if FIRST has already provided tools to do these things (which, I feel like I read about them somewhere... maybe)
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff