Assistive robot learning command parameters