27 #include <plugins/openrave/manipulators/katana6M180.h> 37 printVector(vector<float> v)
39 printf(
"## size:%zu \n", v.size());
40 for (
unsigned int i = 0; i < v.size(); i++) {
41 printf(
"## %u:)%f \n", i, v[i]);
46 main(
int argc,
char **argv)
48 printf(
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n");
74 m.set_angles_device(val);
75 k.set_angles_device(val);
81 m.get_angles_device(v);
87 k.get_angles_device(v);
void set_angles_device(std::vector< T > &angles)
Set motor angles of real device.
Class containing information about all katana6M180 motors.
Fawkes library namespace.
Class containing information about all manipulator motors.
void get_angles_device(std::vector< T > &to) const
Get motor angles of real device.
void get_angles(std::vector< T > &to) const
Get motor angles of OpenRAVE model.
void add_motor(unsigned int number, unsigned int number_device)
Adds a motor to the list(vector) of motors.