Hi,
why not using the ROS interface Lua API?
Is ros_control a C++ only interface?
Search found 1004 matches
- 16 Apr 2021, 09:50
- Forum: General questions
- Topic: ros control controller with coppeliasim
- Replies: 2
- Views: 2260
- 06 Apr 2021, 15:46
- Forum: General questions
- Topic: How are images from sim.getVisionSensorImage() formatted?
- Replies: 1
- Views: 893
Re: How are images from sim.getVisionSensorImage() formatted?
Yes
reshape
is used to change the shape of a matrix (without changing the order of elements).- 02 Apr 2021, 21:51
- Forum: General questions
- Topic: OMPL Path Structure
- Replies: 5
- Views: 1849
Re: OMPL Path Structure
Code: Select all
sim.setObjectOrientation(handle,-1,{0,0,theta})
- 25 Mar 2021, 11:12
- Forum: Bug reports
- Topic: Problem with Instalation
- Replies: 2
- Views: 15004
Re: Problem with Instalation
You need to update your libPlugin repository (located in CoppeliaSim's programming folder) to latest version. And probably also include and common.
- 19 Mar 2021, 11:41
- Forum: General questions
- Topic: Showing multiple poses in one figure?
- Replies: 9
- Views: 2465
Re: Showing multiple poses in one figure?
Maybe
sim.addGhost
is what you are looking for.- 18 Mar 2021, 21:04
- Forum: General questions
- Topic: How to publish geometry_msg/PoseStamped?
- Replies: 2
- Views: 1995
Re: How to publish geometry_msg/PoseStamped?
Recursively:
matching field names with those in the ROS message definitions.
Code: Select all
local msg={
header={
stamp=simROS.getTime(),
frame_id='/foo',
},
pose={
position={x=0,y=0,z=0.5},
orientation={x=0,y=0,z=0,w=1}
}
}
simROS.publish(pub,msg)
- 16 Mar 2021, 11:26
- Forum: General questions
- Topic: V-REP ROS Plugin get wrong rostime when I use simulation time
- Replies: 1
- Views: 804
Re: V-REP ROS Plugin get wrong rostime when I use simulation time
Hi, Yes, simROS.getTime() returns the value in seconds of ros::Time::now() as described in the API reference. Which functions are different? If you need the simulation time, there's a different API for that: sim.getSimulationTime() . If you want to use simulation time as the ROS clock source, you ca...
- 03 Mar 2021, 11:13
- Forum: General questions
- Topic: OMPL Path Ignoring Collisions
- Replies: 3
- Views: 995
Re: OMPL Path Ignoring Collisions
ss={simOMPL.createStateSpace('2d',simOMPL.StateSpaceType.dubins,robot,{-5,-5},{5,5},1)} here you tell OMPL to move the robot object... simOMPL.setCollisionPairs(t,{sim.getObjectHandle('Start_Config_Cylinder#1'),sim.handle_all}) but you check collisions for a different object (the cylinder) which do...
- 25 Feb 2021, 08:07
- Forum: General questions
- Topic: Real-time simulation slowdowns robot motion
- Replies: 4
- Views: 626
Re: Real-time simulation slowdowns robot motion
No, real-time simulation does not affect path planning calculation time.
- 25 Feb 2021, 08:05
- Forum: General questions
- Topic: Publishing 2D arrays with ROS
- Replies: 1
- Views: 760
Re: Publishing 2D arrays with ROS
You can create your own message, or you can re-use one of the many standard messages, e.g. geometry_msgs/PoseArray or std_msgs/Float32MultiArray.