ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

¿GPS Glonass Ublox7 with nmea_serial_driver?

asked 2020-10-27 17:22:06 -0600

patrickfonty gravatar image

Hello I am trying to connect a GPS Usb Glonass Ublox7 with nmea_serial_driver and I can't. I have checked where it is connected using ls / dev / tty * and I have it connected in ttyACM1.

If I run the command: $ sudo cat /dev/ttyACM1 or $ sudo cat /dev/gps1

I get NMEA sentence. However when executing the command:

$ rosrun nmea_serial_driver _port:/dev/ttyACM1 _baud:=115200

I get the following error that can't open port

The Glonass GPS supports any standard baud rate.

If I run the following command: $ groups <myusername>

I get the following: <myusername>: lauratfg adm dialout fax cdrom floppy tape sudo audio dip video plugdev input nopasswdlogin lpadmin scanner gpio i2c spi sambashare samba

I don't know what else to do ... Help please. This gps doesn't work with nmea_serial_driver?

Thank you. Greetings.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2021-01-25 12:07:09 -0600

patrickfonty gravatar image

The problem was that I had the gpsd daemon installed. The solution has been to find which process was using the port for this I opened a terminal with the following command: $ ps aux After this, all the processes appear in the terminal. I looked for the one called gpsd which had a number assigned for example 3223. I opened another terminal and ran the following command: $ sudo kill -9 3223 From here, I was able to run the node nmea_serial_driver. I also recommend disabling bluetooth

edit flag offensive delete link more

Comments

Congratulations.

miura gravatar image miura  ( 2021-01-26 07:20:35 -0600 )edit
0

answered 2020-10-28 07:19:02 -0600

miura gravatar image

updated 2020-10-28 07:19:22 -0600

Try $ rosrun nmea_serial_driver _port:=/dev/ttyACM1 _baud:=115200 after running $ sudo chmod 666 /dev/ttyACM1.

edit flag offensive delete link more

Comments

I have already tried. I get the same.

patrickfonty gravatar image patrickfonty  ( 2020-10-28 10:38:04 -0600 )edit

I have already tried. I get the same.

patrickfonty gravatar image patrickfonty  ( 2020-10-28 10:39:38 -0600 )edit

Have you tried changing the baud rate?

miura gravatar image miura  ( 2020-11-06 19:40:10 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2020-10-27 17:22:06 -0600

Seen: 212 times

Last updated: Jan 25 '21