Closed salahkhan94 closed 6 years ago
What is the command line you tried to change the output? Did you get an error?
I actually don't run the command line directly , I've put it inside a bash script and run that instead. Check the first bash script I wrote above.
Any who this is the command : rosrun xsens_driver mtdevice.py -i --configure="oq200,aa200,wr200" -b 921600"
Ok, there are several things about this first script. First, it's advised not to write too often the onboard flash memory to reduce wear (see discussion in #70). Second, you might want to check your quotes in that second line: I'd expect it tries to set the configuration empty.
Thanks, I guess I'll just run the mtdevice command separately and only when it's needed. Could you add the command to this thread which could possibly change the frequency rate
Could you add the command to this thread which could possibly change the frequency rate
Well, the command from your comment above should do the trick. Does it? (Note that I'm not a support hotline; please read the documentation and try to solve your issue by yourself. I'm providing a node, I'm willing to improve it and to help using it but if you don't try and just ask me what you should do, I'll just close this thread as it doesn't seem to be an issue with this code.)
It doesn't do the trick , I get 100hz rate on imu/data . After I run the command I get "Changing output configuration Ok" the baud rate sets at 921600 but frequency doesn't change to 200hz. I'll post here if I figure something out.
Apologies for the troubles. I'll close this.
I have a MTi-3-8A7G6 IMU, since the launch file throws "could not find proper MT device" , typically I manually first rosrun mtdevice.py and then mtnode.py using the following bash scripts which just keep running commands every 1 sec until it succeds
This works perfectly in publishing data except, I am unable to change the frequency /imu/data which is being published at 100 hz , My requirement is 200 Hz.
Following is the output of mtdevice.py -i