-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
I tried to use launchpad_x, nanopad2, and nanokontrol2 devices from 73B2 with #792 launch, but nanopad2 and nanokontrol2 could not find the devices with the following error.
The device can be found by using interactive_midi_config.py to get the device_name of the binary and then using it like Kanazawanaoaki@8d58048.
$ roslaunch midi_controller.launch midi_config:=nanopad2.yaml
... logging to /home/kanazawa/.ros/log/95220284-f03f-11ef-b414-51397e5aa373/roslaunch-kanazawa-SYS-5049A-TR-3864495.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://kanazawa-SYS-5049A-TR:33105/
SUMMARY
========
PARAMETERS
* /rosdistro: noetic
* /rosversion: 1.17.0
NODES
/
midi_controller (jsk_teleop_joy/midi_config_player.py)
ROS_MASTER_URI=http://localhost:11311
process[midi_controller-1]: started with pid [3864516]
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
/home/kanazawa/ros/jsk_demo_ws/src/jsk-ros-pkg/jsk_control/jsk_teleop_joy/scripts/midi_config_player.py:61: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f)
Traceback (most recent call last):
File "/home/kanazawa/ros/jsk_demo_ws/devel/lib/jsk_teleop_joy/midi_config_player.py", line 15, in <module>
exec(compile(fh.read(), python_script, 'exec'), context)
File "/home/kanazawa/ros/jsk_demo_ws/src/jsk-ros-pkg/jsk_control/jsk_teleop_joy/scripts/midi_config_player.py", line 97, in <module>
main()
File "/home/kanazawa/ros/jsk_demo_ws/src/jsk-ros-pkg/jsk_control/jsk_teleop_joy/scripts/midi_config_player.py", line 63, in main
controller = openMIDIInputByName(config["device_name"])
File "/home/kanazawa/ros/jsk_demo_ws/src/jsk-ros-pkg/jsk_control/jsk_teleop_joy/src/jsk_teleop_joy/midi_util.py", line 83, in openMIDIInputByName
return openMIDIByName(device_name, 1)
File "/home/kanazawa/ros/jsk_demo_ws/src/jsk-ros-pkg/jsk_control/jsk_teleop_joy/src/jsk_teleop_joy/midi_util.py", line 97, in openMIDIByName
raise MIDIException("Cannot find the device: %s" % (device_name))
jsk_teleop_joy.midi_util.MIDIException: Cannot find the device: nanoPAD2 MIDI 1Metadata
Metadata
Assignees
Labels
No labels