ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Here is how to connect to the Katana via USB. These instructions are tested on our Katana 450 6M90a with an internal control board (i.e., a "base" to mount the arm). You are indeed correct that when you connect the Katana via USB, it acts as a USB network device.

  • Connect the arm via USB and switch it on.
  • Since the arm doesn't have a DHCP server, you need to configure the network manually. Open up NetworkManager and create a new connection for the USB network adapter interface:

    • IP address: 192.168.1.* , where * is anything in the range [2-255], e.g. 192.168.1.77
    • network mask: 255.255.255.0
    • no gateway (0.0.0.0)
  • The arm should now respond to ping 192.168.1.1. If it doesn't, don't continue and fix this problem first.

  • Make sure that the katana parameters are properly set: use_serial = false and ip = "192.168.1.1" (see the katana wiki page ). These are the defaults, but e.g. katana_300_6m180.launch changes these defaults.

If you still have problems, please edit your question and include the following information:

  • What Katana arm do you have, exactly? Is it e.g. a Katana 300 6M180? Does it have an internal/external control board or none?
  • What ROS version are you using?
  • What's your katana_driver branch? Did you make any local changes?
  • What launch files are you starting?

Here is how to connect to the Katana via USB. These instructions are tested on our Katana 450 6M90a with an internal control board (i.e., a "base" to mount the arm). You are indeed correct that when you connect the Katana via USB, it acts as a USB network device.

  • Connect the arm via USB and switch it on.
  • Since the arm doesn't have a DHCP server, you need to configure the network manually. Open up NetworkManager and create a new connection for the USB network adapter interface:

    • IP address: 192.168.1.* 192.168.1.* , where * * is anything in the range [2-255], e.g. 192.168.1.77
    • network mask: 255.255.255.0
    • no gateway (0.0.0.0)
  • The arm should now respond to ping 192.168.1.1. If it doesn't, don't continue and fix this problem first.

  • Make sure that the katana parameters are properly set: use_serial = false and ip = "192.168.1.1" (see the katana wiki page ). These are the defaults, but e.g. katana_300_6m180.launch changes these defaults.

If you still have problems, please edit your question and include the following information:

  • What Katana arm do you have, exactly? Is it e.g. a Katana 300 6M180? Does it have an internal/external control board or none?
  • What ROS version are you using?
  • What's your katana_driver branch? Did you make any local changes?
  • What launch files are you starting?

Here is how to connect to the Katana via USB. These instructions are tested on our Katana 450 6M90a with an internal control board (i.e., a "base" to mount the arm). You are indeed correct that when you connect the Katana via USB, it acts as a USB network device.

  • Connect the arm via USB and switch it on.
  • Since the arm doesn't have a DHCP server, you need to configure the network manually. Open up NetworkManager and create a new connection for the USB network adapter interface:

    • IP address: 192.168.1.* , where * is anything in the range [2-255], e.g. 192.168.1.77
    • network mask: 255.255.255.0
    • no gateway (0.0.0.0)
  • The arm should now respond to ping 192.168.1.1. If it doesn't, don't continue and fix this problem first.

  • Make sure that the katana parameters are properly set: use_serial = false and ip = "192.168.1.1" (see the katana wiki page ). These are the defaults, but e.g. katana_300_6m180.launch changes these defaults.

If you still have problems, please edit your question and include the following information:

  • What Katana arm do you have, exactly? Is it e.g. a Katana 300 6M180? Does it have an internal/external control board or none?
  • What ROS version are you using?
  • What's your katana_driver branch? Did you make any local changes?
  • What launch files are you starting?

Answers to your reply:

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'.

Edit the katana_300_6m180.launch file and remove the line where it says use_serial (or set the param to false).

Error when launching katana_300_6m180.launch: says the parameter katana_type was not set!

You shouldn't launch that file directly; instead, use katana.launch, then this error doesn't occur. That file includes katana_300_6m180.launch.

fatal error: armadillo: No such file or directory

Just do the following:

sudo rosdep init
rosdep update
rosdep install katana_driver

If that doesn't work, just do the following directly:

sudo apt-get install libarmadillo-dev