8000 rename IK public methods · aforechi/robotics-toolbox-python@e8fd07f · GitHub
[go: up one dir, main page]

Skip to content

Commit e8fd07f

Browse files
committed
rename IK public methods
1 parent 2110c96 commit e8fd07f

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

roboticstoolbox/core/fknm.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@
2020
#include <iostream>
2121

2222
static PyMethodDef fknmMethods[] = {
23-
{"IK_GN",
24-
(PyCFunction)IK_GN,
23+
{"IK_GN_c",
24+
(PyCFunction)IK_GN_c,
2525
METH_VARARGS,
2626
"Link"},
27-
{"IK_NR",
28-
(PyCFunction)IK_NR,
27+
{"IK_NR_c",
28+
(PyCFunction)IK_NR_c,
2929
METH_VARARGS,
3030
"Link"},
31-
{"IK_LM_Chan",
32-
(PyCFunction)IK_LM_Chan,
31+
{"IK_LM_Chan_c",
32+
(PyCFunction)IK_LM_Chan_c,
3333
METH_VARARGS,
3434
"Link"},
35-
{"IK_LM_Wampler",
36-
(PyCFunction)IK_LM_Wampler,
35+
{"IK_LM_Wampler_c",
36+
(PyCFunction)IK_LM_Wampler_c,
3737
METH_VARARGS,
3838
"Link"},
39-
{"IK_LM_Sugihara",
40-
(PyCFunction)IK_LM_Sugihara,
39+
{"IK_LM_Sugihara_c",
40+
(PyCFunction)IK_LM_Sugihara_c,
4141
METH_VARARGS,
4242
"Link"},
4343
{"Robot_link_T",
@@ -104,7 +104,7 @@ PyMODINIT_FUNC PyInit_fknm(void)
104104
extern "C"
105105
{
106106

107-
static PyObject *IK_GN(PyObject *self, PyObject *args)
107+
static PyObject *IK_GN_c(PyObject *self, PyObject *args)
108108
{
109109
ETS *ets;
110110
npy_float64 *np_Tep, *np_ret, *np_q0, *np_we;
@@ -219,7 +219,7 @@ extern "C"
219219
return py_tup;
220220
}
221221

222-
static PyObject *IK_NR(PyObject *self, PyObject *args)
222+
static PyObject *IK_NR_c(PyObject *self, PyObject *args)
223223
{
224224
ETS *ets;
225225
npy_float64 *np_Tep, *np_ret, *np_q0, *np_we;
@@ -334,7 +334,7 @@ extern "C"
334334
return py_tup;
335335
}
336336

337-
static PyObject *IK_LM_Chan(PyObject *self, PyObject *args)
337+
static PyObject *IK_LM_Chan_c(PyObject *self, PyObject *args)
338338
{
339339
ETS *ets;
340340
npy_float64 *np_Tep, *np_ret, *np_q0, *np_we;
@@ -451,7 +451,7 @@ extern "C"
451451
return py_tup;
452452
}
453453

454-
static PyObject *IK_LM_Wampler(PyObject *self, PyObject *args)
454+
static PyObject *IK_LM_Wampler_c(PyObject *self, PyObject *args)
455455
{
456456
ETS *ets;
457457
npy_float64 *np_Tep, *np_ret, *np_q0, *np_we;
@@ -568,7 +568,7 @@ extern "C"
568568
return py_tup;
569569
}
570570

571-
static PyObject *IK_LM_Sugihara(PyObject *self, PyObject *args)
571+
static PyObject *IK_LM_Sugihara_c(PyObject *self, PyObject *args)
572572
{
573573
ETS *ets;
574574
npy_float64 *np_Tep, *np_ret, *np_q0, *np_we;

roboticstoolbox/core/fknm.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ extern "C"
1616
#endif /* __cplusplus */
1717

1818
// forward defines
19-
static PyObject *IK_GN(PyObject *self, PyObject *args);
20-
static PyObject *IK_NR(PyObject *self, PyObject *args);
21-
static PyObject *IK_LM_Chan(PyObject *self, PyObject *args);
22-
static PyObject *IK_LM_Wampler(PyObject *self, PyObject *args);
23-
static PyObject *IK_LM_Sugihara(PyObject *self, PyObject *args);
19+
static PyObject *IK_GN_c(PyObject *self, PyObject *args);
20+
static PyObject *IK_NR_c(PyObject *self, PyObject *args);
21+
static PyObject *IK_LM_Chan_c(PyObject *self, PyObject *args);
22+
static PyObject *IK_LM_Wampler_c(PyObject *self, PyObject *args);
23+
static PyObject *IK_LM_Sugihara_c(PyObject *self, PyObject *args);
2424

2525
static PyObject *Robot_link_T(PyObject *self, PyObject *args);
2626

0 commit comments

Comments
 (0)
0