Search found 3 matches

by slgrajeshwar36172
18 May 2020, 08:22
Forum: General questions
Topic: Vision sensor questions
Replies: 6
Views: 6680

Re: Vision sensor questions

sir,
what will be the formula to find the focul length in pixel. if we know the field of view and resolution of image.


thanks
by slgrajeshwar36172
11 Nov 2019, 10:14
Forum: Bug reports
Topic: sim.setJointPosition is not working inside the callback function of subscriber in ROS.Please help me
Replies: 4
Views: 4250

Re: sim.setJointPosition is not working inside the callback function of subscriber in ROS.Please help me

Hello, first, you do not need simROS.subscriberTreatUInt8ArrayAsString for that subscriber. second, what do you mean with it is not working ? Is there a message error? What is the behaviour? Of course, if your joint is in force/torque mode with position control enabled, then you can't use sim.setJo...
by slgrajeshwar36172
11 Nov 2019, 06:14
Forum: Bug reports
Topic: sim.setJointPosition is not working inside the callback function of subscriber in ROS.Please help me
Replies: 4
Views: 4250

sim.setJointPosition is not working inside the callback function of subscriber in ROS.Please help me

function sysCall_init() -- Get some handles: joint=sim.getObjectHandle('Joint') -- Enable an image publisher and subscriber: sub=simROS.subscribe('/joint_topic', 'std_msgs/Float64', 'joint_callback') simROS.subscriberTreatUInt8ArrayAsString(sub) -- treat uint8 arrays as strings (much faster, tables...