dewiweb / spacemouse-osc

OSC(Open-sound-Control) from 3DCONNEXION Spacemouse Compact
MIT License
10 stars 1 forks source link

Info on usage data monitor #4

Closed docop closed 8 months ago

docop commented 12 months ago

Hi So i did try over a Debian system your app and while the appimage do open up fine.. i'm not sure how can i confirm it is working or not.. Is there a way, or an option, to open a small window and see the value of the spacemouse changing ? I did try with the spacenavigator and i did put the package: install spacenavd But i can't tell if it's working or not.

thanks

dewiweb commented 12 months ago

Hello, You don't need spacenaved or additionnal driver installed (the app use node-hid in place of it ). I add additional instructions(udev rules) to use it on Linux in the readme.md . You can then monitor OSC output by sending OSC to a local app like https://benjamin.kuperberg.fr/chataigne/en. But if it works you'll see values sended in spacemouse-osc (in the white fields )

docop commented 12 months ago

Oh great, indeed it now work and i see the value over the white field. But while i did try over an Enterprise version, the aed mode don't give/register anything. The xyz do work. I try also the previous version Space Pilot , i do change the id vendor and product on the line, but it did not work.. Is there an extra line need to be added in order to support this model ?

3Dconnexion Space Pilot 3D Mouse :

KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c625", MODE="0666"

Bus 003 Device 009: ID 046d:c625 Logitech, Inc. 3Dconnexion Space Pilot 3D Mouse

dewiweb commented 12 months ago

Maybe you'll have to add logitech rules. Here is a good example : resources/udev/90-3dconnexion.rules It's possible yaw/pitch/roll values aren't coded in the same way on all 3dconnexion devices. I've just got only one model to test.

docop commented 12 months ago

Yeah, as posted, the correct id is added too in the udev rules from before. But if i simply open Blender, i can 3d ordit without problem. Perhaps something is about the rXrYrZ for the rotate function, as the XYZ Translate do work fine. Or you did limit the reading to 7 byte for the group action vs 13 for total.. What version do you have? I could try out later over a single small unit SpaceNavigator maybe..

dewiweb commented 12 months ago

I've got a space mouse compact model.

docop commented 12 months ago

I found a soft that can show all the live data of the unit and button activation: https://github.com/todbot/hidapitester ex pr the SpacePilot: ./hidapitester --vidpid 046D:C625 -l 64 -t 1500 --open --read-input-forever

And here is the full dump of the spacemouse wireless (while connected wired over USB) that i did found. https://pastebin.com/GD5mEKW6

hope this can help. i don't know how to do a dump, but if you let me know how, i could from the unit i have.

LuftGstell commented 9 months ago

Hi,thanks for this app. Just one question. What is the resolution the App uses to translate mouse motion into OSC messages (7bit, 14bit....) Thanks

dewiweb commented 9 months ago

@LuftGstell Don't understand what you're talking about. Do you want to talk about OSC send rate?

LuftGstell commented 9 months ago

Hi thanks for getting back to me!When you tap into the data coming from the 3d mouse and convert it into OSC data, what is the resolution of this data being passed on to (in my case cubase) the host?Is it better that 7bit midi 1.0 provides me currently?Thank you

Sent from Yahoo Mail for iPhone

On Wednesday, January 24, 2024, 10:57, dewiweb @.***> wrote:

@LuftGstell Don't know what you're talking about. Do you want to talk about OSC send rate?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

dewiweb commented 9 months ago

It convert all hid incoming datas from space mouse (received by node-hid library) in OSC messages, so resolution is the one provided natively by the hardware.

LuftGstell commented 8 months ago

Thank you so much!

Sent from Yahoo Mail for iPhone

On Thursday, January 25, 2024, 14:18, dewiweb @.***> wrote:

It convert all hid incoming datas from space mouse in OSC messages, so resolution is the one provided natively by the hardware.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>