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

getting data from telem2 to computer

asked 2017-02-04 01:18:45 -0500

magiccjae gravatar image

updated 2017-02-07 19:59:01 -0500

Hi,

I am just trying to get all sensor data from Pixhawk using PX4 firmware from telem2 port to computer.

I set SYS_COMPANION 57600 and

when I launch, my command is roslaunch mavros px4.launch fcu_url:="/dev/ttyUSB0:57600".

I don't see any message coming through when I do, for example rostopic echo /mavros/imu/data.

Am I missing something to make this work? I looked a lot of places online and it seems like other people can do this no problem, but no one really explains the process in detail. I am using ROS kinetic and mav_ros in kinetic as well. I would really appreciate if someone can guide me further !


UPDATE

I used to use 5V to telem2 port to power on and use UART at the same time (assuming that UART is tolerant to 5V because I read it from somewhere online). However, I just realized that 5V didn't work for the UART of the telem2 port. It has to be 3.3V connected to telem2 port and power to turn on Pixhawk needs to come to different port. I spent several hours to make this work and hopefully this saves some of your time.

edit retag flag offensive close merge delete

Comments

Try to connect QGC to this port (ttyUSB0). Did you reboot after parameter change?

vooon gravatar image vooon  ( 2017-02-07 06:08:56 -0500 )edit

Thanks vooon, I figured out what I was doing wrong.

magiccjae gravatar image magiccjae  ( 2017-02-07 19:59:33 -0500 )edit

@majiccjae I do not know if this message will reach you but I am trying to connect Telem2 thru & USB2Serial, and I noticed that there is no communication between the pixhawk2.1 and my computer - and the wiring is good (GND tx rx). Can you explain what you did to make it working? thank you

fabriceN gravatar image fabriceN  ( 2018-11-16 07:56:59 -0500 )edit

@fabriceN My solution was what is on "UPDATE" and I am not too sure what is going on with "pixhawk2.1".

magiccjae gravatar image magiccjae  ( 2018-11-19 16:40:04 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-13 00:53:59 -0500

Could you please tell me how did you solve this problem. Thank you.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-02-04 01:18:45 -0500

Seen: 879 times

Last updated: Feb 07 '17