Title: Control of a double-jointed arm mechanism for ripping and roadheading operations