Ask Your Question

RogerPi's profile - activity

2020-11-26 05:57:44 -0600 received badge  Nice Answer (source)
2019-03-05 14:51:18 -0600 marked best answer ROS qt plugin

Hello. I'm having trouble trying to use Qt for my ROS projects.

First I tried with standard Qt from official webpage, running it from terminal and with some path configurations I managed to make autocomplete work (only in c++ files) but not in include files and also no building was possible because I got some errors as "undefined reference to std::__cxx" from g++ compiler.

Then, I removed Qt and installed ros qt pluguin following this tutorial: link

Now I have qtcreator-ros but I can only launch it from desktop app. When I try to run it from terminal, I get a core dump:

image description

edit: I realized that using sudo solves the issue.

Anyway, I run it from applications, I can create a workspace where I select my catkin_ws.

I try to build I get this catkin_make error:

16:37:49: Running steps for project catkin_ws... 16:37:49: Could not start process "catkin_make" --cmake-args -G 'CodeBlocks - Unix Makefiles' Error while building/deploying project catkin_ws (kit: Imported Kit) When executing step "CatkinMake Step" 16:37:50: Elapsed time: 00:01.

So I check my kits and there is something weird...

image description image description

My kits are not well configured, and I don't know what should I do. It's supposed to be configured automatically, and I don't know where the error is.

Any idea?

Thank you

2018-04-26 11:11:39 -0600 received badge  Famous Question (source)
2018-01-29 04:43:31 -0600 received badge  Enthusiast
2018-01-26 07:49:38 -0600 received badge  Notable Question (source)
2018-01-25 10:27:59 -0600 commented answer ROS qt plugin

Yes, after doing it for first time in terminal I can build from terminal or Qt with no problem.

2018-01-24 01:35:49 -0600 received badge  Popular Question (source)
2018-01-23 11:25:38 -0600 received badge  Self-Learner (source)
2018-01-23 11:25:38 -0600 received badge  Teacher (source)
2018-01-23 11:21:22 -0600 commented answer ROS qt plugin

No, I'm not running it as root, it was just for testing, but I know I can screw something in my computer easily. But I s

2018-01-23 11:14:45 -0600 answered a question ROS qt plugin

Finally I managed to solve it!! The first problem is solved running it using sudo, I suppose is because the program is

2018-01-23 10:47:01 -0600 edited question ROS qt plugin

ROS qt pluguin Hello. I'm having trouble trying to use Qt for my ROS projects. First I tried with standard Qt from offi

2018-01-23 10:25:23 -0600 edited question ROS qt plugin

ROS qt pluguin Hello. I'm having trouble trying to use Qt for my ROS projects. First I tried with standard Qt from offi

2018-01-23 10:24:51 -0600 edited question ROS qt plugin

ROS qt pluguin Hello. I'm having trouble trying to use Qt for my ROS projects. First I tried with standard Qt from offi

2018-01-23 10:24:51 -0600 received badge  Editor (source)
2018-01-23 10:19:32 -0600 asked a question ROS qt plugin

ROS qt pluguin Hello. I'm having trouble trying to use Qt for my ROS projects. First I tried with standard Qt from offi

2018-01-23 10:05:33 -0600 edited answer ROS + QT include files

Hello, thanks for your answer. I tried to install ros pluguin for Qt as I saw in the first answer, but still not workin

2018-01-23 09:59:19 -0600 answered a question ROS + QT include files

Hello, thanks for your answer. I tried to install ros pluguin for Qt as I saw in the first answer, but still not workin

2018-01-23 05:01:16 -0600 asked a question ROS + QT include files

ROS + QT include files Hello, I'm trying to use QT as an IDE for my ROS projects. I'm running Qt from terminal, and I'm

2018-01-17 19:43:13 -0600 received badge  Famous Question (source)
2017-03-22 05:11:09 -0600 received badge  Notable Question (source)
2017-02-21 09:50:50 -0600 received badge  Popular Question (source)
2016-12-02 04:27:59 -0600 commented answer See previous published Markers in Rviz

Thanks! It worked fine!!!

2016-12-01 18:07:31 -0600 asked a question See previous published Markers in Rviz

New to ROS

I have a robot moving around a room. Receive data from the laser scan obtaining a cloud point in the camera's frame and I want to extract significant lines to finally obtain a "linear-model" of the map.

To publish the lines I use Markers and publish them to a topic.

I want to represent the map on Rviz while the robot is moving. This is the way I publish the markers on each iteration:

msg = Marker()
msg.header.stamp = rospy.Time.now()
msg.header.frame_id = frame
msg.ns = ns
msg.id = marker_id
msg.type = msg.LINE_LIST
msg.action = msg.ADD
msg.pose.position.x = 0.0
msg.pose.position.y = 0.0
msg.pose.position.z = 0.0
msg.pose.orientation.x = 0.0
msg.pose.orientation.y = 0.0
msg.pose.orientation.z = 0.0
msg.pose.orientation.w = 1.0
msg.scale.x = 0.01
msg.scale.y = 0.0
msg.scale.z = 0.0
msg.color.r = color[0]
msg.color.g = color[1]
msg.color.b = color[2]
msg.color.a = 1.0
for i in range(lines.shape[0]):
    msg.points.append(Point(lines[i, 0], lines[i, 1], 0))
    msg.points.append(Point(lines[i, 2], lines[i, 3], 0))
# Publish
pub.publish(msg)

Rviz only shows the last Markers received. I tried to save all lines and send it in every iteration but on every iteration the robot is in a diferent position so the data is in a diferent frame. I think that should be possible to make Rviz not clean the lasts Markers just to see it all time.

Thanks a lot