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

IDE for ROS-Indigo, Master on Jetson TK1 (SSH Remote)

asked 2017-10-04 04:00:25 -0600

glukon gravatar image

Hi guys, I wonder if anyone also uses the NVIDIA Jetson TK1 Board with Linux4Tegra ->Ubuntu 14.04 (ARM) and ros-indigo. On the Jetson TK1 itself I configured a wireless-access-point-network (ad-hoc) so after starting the board I am able to connect via SSH and so on. ATM I use catkin build and source the devel folder like doing it for lightweight projects. What I want instead is to use an IDE like CodeBlocks or qtCreator cause it's getting more and more code. Hope that there will be some guys using quite a similar setup (RaPi also ARM-based). Any ideas how to make it better?

Greets

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-10-04 20:01:15 -0600

Hi glukon,

In the case of TK1 you can do the following (don't tell anyone I told you how to do this :P You should do it properly, see @davr answer):

1 - From your development PC open a terminal to your TK1 with X window forwarding (I assume that you configured your /etc/hosts to associate the proper IP to the hostname tegra-ubuntu):

ssh -X ubuntu@tegra-ubuntu

2 - Install qtcreator in the TK1, if you haven't done it before:

sudo apt-get install qtcreator

3 - Execute qtcreator from the TK1:

qtcreator -noload Welcome 2>/dev/null 1>&2 &

"-noload Welcome" will skip the welcome screen of qtcreator, otherwise it will complain about OpenGL

"2>/dev/null 1>&2" will forward the console output and error output to the "null" device (so that you don't get annoying messages in your terminal)

"&" will launch qtcreator in background mode so that you can keep using the same terminal to run other commands.

This will execute qtcreator from your remote host (tegra-ubuntu) but it will be visualized in your development PC. It is note the smoothest thing in the world, but it might help you get the job done.

There might be no menu bar on the top, you can load your project with the following key combination: Ctrl+Shift+O

I hope this helps.

edit flag offensive delete link more

Comments

contrary to @davr this one here is a correct and nice answer. For me, davr's answer is just a short description of what he's doing. For someone asking simple questions here like me, you can assume that just a description won't help. Your answer is just perfect! Nice solution and thanks!

glukon gravatar image glukon  ( 2017-10-05 02:25:41 -0600 )edit

After connecting to Turtlebot2 via ssh -X I was able to load CMakeList.txt (Ctrl+Shift+O) as mentioned in ros tutorial for using IDE's. Under 'Configure Project' I used the dafault settings and clicked on 'Configure Project'. After starting ROS-Master, I was able to run everything.

glukon gravatar image glukon  ( 2017-10-05 02:50:18 -0600 )edit

Glad I could help. Enjoy!

Martin Peris gravatar image Martin Peris  ( 2017-10-05 03:03:57 -0600 )edit
3

answered 2017-10-04 15:20:13 -0600

davr gravatar image

What I do is use an IDE on my development PC, where I have all the dev tools I want, plus multiple monitors etc. I play a bag with sensor data back as I am developing individual ROS nodes. When I have a working node, I transfer that code to the robot's PC. I rarely edit code directly on the robot unless it is small quick fixes, as it's more productive to work from my development PC.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-10-04 04:00:25 -0600

Seen: 360 times

Last updated: Oct 04 '17