-
Notifications
You must be signed in to change notification settings - Fork 52
Error using this driver!!! #13
Comments
After connecting the IMU to the computer, can you try running the following bash script before launching the driver and then check if it works. # Reduce latency in the FTDI serial-USB kernel driver to 1ms
# This is required due to https://github.com/torvalds/linux/commit/c6dce262
for file in $(ls /sys/bus/usb-serial/devices/); do
value=`cat /sys/bus/usb-serial/devices/$file/latency_timer`
if [ $value -gt 1 ]; then
echo "Setting low_latency mode for $file"
sudo sh -c "echo 1 > /sys/bus/usb-serial/devices/$file/latency_timer"
fi
done |
Nope, this didn't help. Could it be because the driver disconnects and reconnects??
|
Can you try the change in #11, that seems like the a similar problem. |
As suggested, this problem is similar to #11 and was fixed as suggested in there. |
Hi, I am using the sensor and it has permission problems denied, I have tried the proposed solutions changing the parameters of BINARY_ASYNC_MODE to port 1, however I still have no answer. Please, if you can help me, I'm a little desperate for not coming up with the solution. I'm work with ROS melodic and Ubuntu 18.04.1 LTS. On the terminal display this: started roslaunch server http://ubuntu:43541/ SUMMARYPARAMETERS
NODES ROS_MASTER_URI=http://localhost:11311 process[imu-1]: started with pid [6852] |
Have you checked if you have the correct permission to the corresponding file under /dev? |
Hello, thanks for the answer. I am very new to ROS. I have verified the permissions by the command Afterwards, change the permissions of the file vn_100_cont.launch by means of the command: chmod 777 vn_100_cont.launch |
In the launch file, the IMU device is assumed to be at |
@tranz3r you need to make sure that the device '/dev/ttyUSB0' has the correct permissions for your user account. The following will ensure it will work everytime:
|
Hi all! |
I am trying to use this drive on a VN-100 in ROS Kinetic. I am able to compile everything correctly, however I get an error when I run it. The VN-100 is default out of the box, so I am setting the baudrate to 115200 in the config file. However the IMU rate of 100hz, throws a permission error. So I set the IMU rate to 20 and here is what I see...
[ INFO] [1507221665.943186795]: Sync out rate: 100 [ INFO] [1507221666.559237034]: Connected to device at /dev/ttyUSB0 [ INFO] [1507221666.591308742]: Default serial baudrate: 115200 [ INFO] [1507221666.591380828]: Set serial baudrate to 115200 [ INFO] [1507221667.623906113]: Connected to device at /dev/ttyUSB0 [ INFO] [1507221667.651121672]: New serial baudrate: 115200 [ INFO] [1507221667.671867168]: Fetching device info. [ INFO] [1507221667.687437961]: Model number: VN-100S-CR [ INFO] [1507221667.702816139]: Hardware revision: 7 [ INFO] [1507221667.718275868]: Serial number: 0100027862 [ INFO] [1507221667.733840069]: Firmware version: 2.0.1.0 [ INFO] [1507221667.733908211]: Set Synchronization Control Register (id:32). [ INFO] [1507221667.800836884]: Setting IMU rate to 20
When I run
rostopic list
I am able to see the topics, howeverrostopic echo /imu/imu
does't show me anything.Any ideas where I am going wrong?
Thanks,
Vikrant
The text was updated successfully, but these errors were encountered: