jfedor2 / magellan-spacemouse Goto Github PK
View Code? Open in Web Editor NEWAdapter to use RS-232 Magellan/SpaceMouse with modern software
Adapter to use RS-232 Magellan/SpaceMouse with modern software
Hi, i'm not sure if this is the right place to ask, but I'm having troubles adapting this code to my needs.
I'm trying to write a program to emulate a spacemouse using an IMU sensor, and to test the program i'd need some debug prints to check the values obtained by the sensor.
I see that you use the function "printf" in your code, but with the tinyusb firmware loaded the pico isn't recognized as a serial device, so i can't read those prints anywhere.
I tryed to follow some examples i found online to enable CDC communication in the descriptor / tusb_config files, but unless i'm doing something wrong (likely) that seems to break the comunication with the spacemouse software.
Did you find a way to receive those prints somehow?
Or do you have a better debugging method to suggest? Thank you.
I'm trying to adapt this software to a DIY spacemouse and was wondering if you could elaborate on the internal workings a bit more.
Looking at the source code, descriptors.c
seems pretty clear to me. As far as I understand it, it defines the USB manufacturer, model and some other stuff.
My understanding of magellan.c
is the following:
magellan-spacemouse/src/magellan.c
Lines 43 to 44 in acfac3b
tud_task()
function to do some USB-related stuffmagellan-spacemouse/src/magellan.c
Line 51 in acfac3b
magellan-spacemouse/src/magellan.c
Line 55 in acfac3b
magellan-spacemouse/src/magellan.c
Line 59 in acfac3b
magellan-spacemouse/src/magellan.c
Lines 66 to 131 in acfac3b
Hi,
currently, the Pololu 23201a Serial Adapter would cost me about 15โฌ, which would make this project more expensive than the old Spacemouse itself.
Is it possible to replace it with a cheaper alternative, like the Waveshare RS232 Board, or is there anything that specifically requires the 23201a?
Thank you!
Hello. I assembled hid-remapper for your project on one raspberry pi pico board. Tried connecting my old Space Mouse Classic USB controller. On some computers, the Space Mouse Classic USB is not installed correctly. I tried with the help of your device to solve this problem. Space Mouse certainly didn't work with hid-remapper. I want to ask you to make Space Mouse Compact emulation firmware for Space Mouse Classic USB based on the hid-remapper board. Ready to become a firmware tester.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.