Hi Martin,
Thanks for the reply.
I have connected the arm via USB. The IP is configured exactly as you said and the ping command (ping 192.168.1.1) works fine.
Where to set those two parameters i.e. use_serial=false
and ip="192.168.1.1"
? I already see them set in katana.cpp
source file.
Following here are more details that you have asked for.
"What Katana arm do you have, exactly? Is it e.g. a Katana 300 6M180?"
Yes, it is Katana 300 6m180.
"Does it have an internal/external control board or none?"
Internal.
"What ROS version are you using?"
ROS Hydro on Linux 13.04
"What's your katana_driver branch? Did you make any local changes?"
I have actually installed the uos-ros-pkg using the link given below. No local changes were made.
http://wiki.ros.org/uos-ros-pkg
I have set the KATANA_TYPE
as given in here:
http://wiki.ros.org/katana_driver
"What launch files are you starting?"
I tried two but am getting error with both of them.
Error when launching katana.launch: which first says "trying to connect to katana (serial port:/dev/ttyS0) and then says cannot get/set attributes on '/dev/ttyS0'.
[ INFO] [1414186519.459809847]: trying to connect to katana (serial port: /dev/ttyS0) ...
[ERROR] [1414186519.460287872]: Exception during initialization: 'Cannot get/set attributes on '/dev/ttyS0''
katana: /usr/include/boost/smart_ptr/shared_ptr.hpp:424: T* boost::shared_ptr<T>::operator->() const [with T = CLMBase]: Assertion `px != 0' failed.
[katana-3] process has died [pid 6947, exit code -6, cmd /home/ial/ros-hydro/dry/katana_driver/katana/bin/katana __name:=katana __log:=/home/ial/.ros/log/a63e0d8e-5bc5-11e4-aedf-8ca98271a938/katana-3.log].
log file: /home/ial/.ros/log/a63e0d8e-5bc5-11e4-aedf-8ca98271a938/katana-3*.log
Error when launching katana_300_6m180.launch: says the parameter katana_type was not set!, while I set it as: $ export KATANA_TYPE="katana_300_6m180"
.
[ERROR] [1414186440.273708266]: Parameter katana_type was not set!
[katana-3] process has died [pid 6840, exit code 255, cmd /home/ial/ros-hydro/dry/katana_driver/katana/bin/katana __name:=katana __log:=/home/ial/.ros/log/7709afdc-5bc5-11e4-9157-8ca98271a938/katana-3.log].
log file: /home/ial/.ros/log/7709afdc-5bc5-11e4-9157-8ca98271a938/katana-3*.log
Lastly, when I rosmake katana_driver, I get the following errors:
[ 92%] Built target katana
In file included from /home/ial/ros-hydro/dry/katana_driver/katana/include/katana/KNIKinematics.h:42:0,
from /home/ial/ros-hydro/dry/katana_driver/katana/src/KNIKinematics.cpp:25:
/home/ial/ros-hydro/dry/katana_driver/katana/include/katana/EulerTransformationMatrices.hh:34:21: fatal error: armadillo: No such file or directory
compilation terminated.
make[3]: *** [CMakeFiles/katana_arm_kinematics.dir/src/KNIKinematics.cpp.o] Error 1
make[3]: Leaving directory `/home/ial/ros-hydro/dry/katana_driver/katana/build'
make[2]: *** [CMakeFiles/katana_arm_kinematics.dir/all] Error 2
make[2]: Leaving directory `/home/ial/ros-hydro/dry/katana_driver/katana/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ial/ros-hydro/dry/katana_driver/katana/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package katana written to:
[ rosmake ] /home/ial/.ros/rosmake/rosmake_output-20141024-145203/katana/build_output.log
[rosmake-2] Finished <<< katana [FAIL] [ 8.39 seconds ]
[ rosmake ] Halting due to failure ...
(more)