Search found 11 matches

by liyinghui
06 Jul 2022, 06:38
Forum: General questions
Topic: How to show pointcloud msg from ROS
Replies: 9
Views: 1501

Re: How to show pointcloud msg from ROS

I m struggle with how to get the real data from pointcloud2 msg. I could not get it from the msg.data. how should i code?
by liyinghui
05 Jul 2022, 15:55
Forum: General questions
Topic: How to show pointcloud msg from ROS
Replies: 9
Views: 1501

Re: How to show pointcloud msg from ROS

https://youtu.be/KWXOJPNQjB4 Thanks Gods,I finally get the pointcloud in vrep, but unluckily there is a few errors still, It seems like that the pointcloud is duplicated, what wrongs have i made? function sysCall_init() -- pc=sim.createPointCloud(0.01,1000,0,2) -- Get some handles: pc=sim.getObject...
by liyinghui
05 Jul 2022, 14:46
Forum: General questions
Topic: How to show pointcloud msg from ROS
Replies: 9
Views: 1501

Re: How to show pointcloud msg from ROS

I followed your instruction, but i still get the errors like that: 31: attempt to index field 'points' (a nil value) stack traceback: [string "Point_cloud@childScript"]:31: in function <[string "Point_cloud@childScript"]:26> It is seemed like the unpack processing is wrong. This ...
by liyinghui
05 Jul 2022, 08:59
Forum: General questions
Topic: How to show pointcloud msg from ROS
Replies: 9
Views: 1501

Re: How to show pointcloud msg from ROS

Image. looking at rqt_graph I have get this topic in vrep. I think the problem is caused by the difference between poincloud2 and pointcloud. what should i do?
by liyinghui
05 Jul 2022, 08:28
Forum: General questions
Topic: How to show pointcloud msg from ROS
Replies: 9
Views: 1501

Re: How to show pointcloud msg from ROS

Glad to receive your reply! And i have tried it: function sysCall_init() -- pc=sim.createPointCloud(0.01,1000,0,2) -- Get some handles: pc=sim.getObjectHandle('Point_cloud') -- Enable an image publisher and subscriber: if simROS then sim.addLog(sim.verbosity_scriptinfos,"ROS interface was found...
by liyinghui
04 Jul 2022, 16:31
Forum: General questions
Topic: How to show pointcloud msg from ROS
Replies: 9
Views: 1501

How to show pointcloud msg from ROS

I want to show the point cloud msg in vrep which is from ROS, what should i do? Actually, i m new to that and I could get the pointcloud image in rviz. But I want to show it in vrep so that i could simulate my robot with the pointcloud data.
by liyinghui
04 Jul 2022, 13:50
Forum: General questions
Topic: the problem that the joint exceed the position scale
Replies: 6
Views: 838

Re: the problem that the joint exceed the position scale

Thanks for your reply! And I already tried the newton egine and it performs better. But it seems that not all the problem is solved. As you mentioned, i need to adjust the mass, while the question is that how should we process the universial joint because the link in this kind of joint is light. Is ...
by liyinghui
03 Jul 2022, 16:35
Forum: General questions
Topic: the problem that the joint exceed the position scale
Replies: 6
Views: 838

Re: the problem that the joint exceed the position scale

Thanks for your reply!! I'm sorry that I didn't see your reply until yesterday. And given the privacy, I am not allowed to upload the whole model. but I simplify the model https://drive.google.com/file/d/1P_yagVWG8qLo3fAt3eGS59jJqPPfMvrP/view?usp=sharing and the problem is similar. The main problem ...
by liyinghui
28 Jun 2022, 09:11
Forum: General questions
Topic: the problem that the joint exceed the position scale
Replies: 6
Views: 838

Re: the problem that the joint exceed the position scale

the phenomenon after a while in simulation https://youtu.be/DJ1EG6CwtRo. we can see that the revolute axis has changed which is not supposed.
by liyinghui
28 Jun 2022, 08:54
Forum: General questions
Topic: the problem that the joint exceed the position scale
Replies: 6
Views: 838

the problem that the joint exceed the position scale

I am working with a legged robot model. I set the joint scale from 0 to 50 deg, but when i started the simulation, I found that the joint exceed the given restrict(<0deg). It is true that the model will get the force from the ground because of the gravity, but why does that still happen even though ...