16 / 25
Copyright (c) 2016-2017 Shanghai Slamtec Co., Ltd.
33.
//using apollo.gethomepose() to get the old home pose
34.
apollo.setHomePose(home_pose);
35.
//set home pose
36.
}
37.
catch
(rpos::robot_platforms::ConnectionFailException &e)
38.
{
39.
cout <<
"connect failed on "
<< e.what() << endl;
40.
}
41.
catch
(rpos::system::detail::ExceptionBase &e)
42.
{
43.
cout <<
"failed on "
<< e.what() << endl;
44.
}
45.
46.
return
0;
47.
}
Please refer to our SDK reference for more movement deployment.