isaac.Joystick component stalls.

  • environment
  • Isaac SDK ver 2019.2
    
  • hardware
  • PlayStation 3 DualShock 
    (/dev/input/js0)
    
  • issue
  • I created a simple codelet that gets the joystick status.
    
    (isaac.Joystick) --JoystickStateProto--> (my_codelet)
    
    However, JoystickStateProto is not sent from isaac.Joystick.
    And, isaac.Joystick node is stalled on Isaac Sight.
    
  • my_codelet.app.json
  • {
        "name": "my_codelet",
        "modules": [
            "my_codelet:codelet-pkg",
            "sensors:joystick"
        ],
        "graph": {
            "nodes": [
                {
                    "name": "my_codelet",
                    "components": [
                        {
                            "name": "message_ledger",
                            "type": "isaac::alice::MessageLedger"
                        },              
                        {
                            "name": "my_codelet",
                            "type": "MyCodelet"
                        }
                    ]
                },
                {
                    "name": "joystick",
                    "components": [
                        {
                            "name": "message_ledger",
                            "type": "isaac::alice::MessageLedger"
                        },
                        {
                            "name": "isaac.Joystick",
                            "type": "isaac::Joystick"
                        }
                    ]
                }
            ],
            "edge": [
                {
                    "source": "joystick/isaac.Joystick/js_state",
                    "target": "my_codelet/my_codelet/js_state"
                }
            ]
        },
        "config" : {        
            "my_codelet": {
                "my_codelet": {
                    "tick_period": "1Hz"
                }
            },
            "joystick": {
                "isaac.Joystick": {
                    "num_axes": 6,
                    "num_buttons": 17,
                    "device": "/dev/input/js0",
                    "tick_period": "1Hz",
                    "input_timeout_interval": 0.1,
                    "print_unsupported_buttons_warning": true
                }
            }
        }    
    }
    

    Hi could you please check whether the example joystick example works? http://isaac.nvidia.com/isaac-2019.2-dev/isaac/doc/tutorials/assemble_kaya.html#the-joystick-application

    If not, make sure the above steps are met. http://isaac.nvidia.com/isaac-2019.2-dev/isaac/packages/sensors/doc/joystick.html