{"id":19526622,"url":"https://github.com/zju-fast-lab/xsens_driver","last_synced_at":"2025-04-26T10:31:21.852Z","repository":{"id":107909724,"uuid":"432973389","full_name":"ZJU-FAST-Lab/Xsens_driver","owner":"ZJU-FAST-Lab","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-29T12:44:31.000Z","size":72,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"python3","last_synced_at":"2025-04-04T11:37:24.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZJU-FAST-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-29T09:08:48.000Z","updated_at":"2024-08-12T20:18:27.000Z","dependencies_parsed_at":"2023-05-24T17:45:18.936Z","dependency_job_id":null,"html_url":"https://github.com/ZJU-FAST-Lab/Xsens_driver","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZJU-FAST-Lab%2FXsens_driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZJU-FAST-Lab%2FXsens_driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZJU-FAST-Lab%2FXsens_driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZJU-FAST-Lab%2FXsens_driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZJU-FAST-Lab","download_url":"https://codeload.github.com/ZJU-FAST-Lab/Xsens_driver/tar.gz/refs/heads/python3","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250972789,"owners_count":21516427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T01:11:04.724Z","updated_at":"2025-04-26T10:31:21.846Z","avatar_url":"https://github.com/ZJU-FAST-Lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xsens_driver for python3\n# Prerequisites\n\n* Install the MTi USB Serial Driver\n  ```sh\n  $ git clone https://github.com/xsens/xsens_mt.git\n  $ cd ~/xsens_mt\n  $ make\n  $ sudo modprobe usbserial\n  $ sudo insmod ./xsens_mt.ko\n  ```\n\n* Install gps_common or gps_umd as available based on the ROS distributable\n  ```sh\n  $ sudo apt-get install ros-noetic-gps-umd\n\n  ```\n  or\n  ```sh\n  $ sudo apt-get install ros-noetic-gps-common\n  ```\n\n# Running the Xsens MTi ROS Node\n1. Copy the contents of the src folder into your catkin workspace 'src' folder.\n   Make sure the permissions are set to _o+rw_ on your files and directories.\n   For details on creating a catkin workspace environment refer to [Creating a catkin ws](http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment#Create_a_ROS_Workspace)\n\n2. in your catkin_ws ($CATKIN) folder, execute\n   ```sh\n   $ catkin_make\n   ```\n\n3. Source the environment for each terminal you work in. If necessary, add the\n   line to your .bashrc\n   ```sh\n   . $CATKIN/devel/setup.bash\n   ```\n\n4. Edit the config file to match your specific use case:\n   ```sh\n   rosed xsens_driver xsens.yaml\n   ```\n\n5. To run the node\n   ```sh\n   $ roslaunch xsens_driver xsens.launch\n   ```\n\n6. Open a new terminal (do not forget step 3)\n   ```sh\n   $ . $CATKIN/devel/setup.bash\n   $ rostopic echo /mti/sensor/sample\n   ```\n   or\n   ```sh\n   $ . $CATKIN/devel/setup.bash\n   $ rostopic echo /mti/filter/orientation\n   ```\nTested with ROS Kinetic distribution, initially developed for ROS Indigo distribution.\n\n# Troubleshooting\n\n* The Mti1 (Motion Tracker Development Board) is not recognized.\n  Support for the Development Board is present in recent kernels. (Since June 12, 2015).If your kernel does not support the Board, you can add this manually\n\n    $ sudo /sbin/modprobe ftdi_sio\n    $ echo 2639 0300 | sudo tee /sys/bus/usb-serial/drivers/ftdi_sio/new_id\n\n\n* The device is recognized, but I cannot ever access the device\n  Make sure you are in the correct group (often dialout or uucp) in order to access the device. You can test this with\n\n        $ ls -l /dev/ttyUSB0\n        crw-rw---- 1 root dialout 188, 0 May  6 16:21 /dev/ttyUSB0\n        $ groups\n        dialout audio video usb users plugdev\n\n    If you aren't in the correct group, you can fix this in two ways.\n\n    1. Add yourself to the correct group\n        You can add yourself to it by using your distributions user management\n        tool, or call\n\n            $ sudo usermod -G dialout -a $USER\n\n        Be sure to replace dialout with the actual group name if it is\n        different. After adding yourself to the group, either relogin to your\n        user, or call\n\n            $ newgrp dialout\n\n        to add the current terminal session to the group.\n\n    2. Use udev rules\n        Alternatively, put the following rule into /etc/udev/rules.d/99-custom.rules\n\n            SUBSYSTEM==\"tty\", ATTRS{idVendor}==\"2639\", ACTION==\"add\", GROUP=\"$GROUP\", MODE=\"0660\"\n\n        Change $GROUP into your desired group (e.g. adm, plugdev, or usb).\n\n\n* The device is inaccessible for a while after plugging it in\n    When having problems with the device being busy the first 20 seconds after\n    plugin, purge the modemmanager application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzju-fast-lab%2Fxsens_driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzju-fast-lab%2Fxsens_driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzju-fast-lab%2Fxsens_driver/lists"}