underactuated.utils
- underactuated.utils.ConfigureParser(parser)
Add the underactuated module packages to the given Parser.
- underactuated.utils.DrakeVersionGreaterThan(minimum_date)
Check that the Drake version is at least minimum_date.
- Parameters:
minimum_date (date)
- underactuated.utils.FindDataResource(filename)
Returns the absolute path to the given filename relative to the data directory; fetching it from a remote host if necessary.
- Parameters:
filename (str)
- underactuated.utils.FindResource(filename)
Returns the absolute path to the given filename relative to the underactuated module.
- underactuated.utils.GetDrakeVersion()
Returns a string representing the Drake version, if available, or “source”.
- Return type:
str
- underactuated.utils.Rgba2Hex(rgb)
Turn a list of R,G,B elements (any indexable list of >= 3 elements will work), where each element is specified on range [0., 1.], into the equivalent 24-bit value 0xRRGGBB.