underactuated.utils

underactuated.utils.ConfigureParser(parser)

Add the underactuated module packages to the given Parser.

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.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.