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

exception thrown while processing service call

asked 2015-07-16 03:52:14 -0500

thailor3 gravatar image

I am doing a rosservice call to a trigger camera exposure rate of a basler pylon camera... and I set the exposure rate to 50,000 or more each time... and I keep getting an exception saying:

"Exception thrown while processing servic ecall: Value 10.0000 must be greater than or equal 47.0000: OutOfRangeException thrown in node 'ExposureTimeAbs' while calling 'ExposureTimeAbs.SetValue( )'". 50,000 is way larger than 10.0000 so i don't understand why I get the error. but if i put in anything less than 47.0000, 45 for example, then the error reads 'Value 45.0000 must be greater than or equal 47.0000'. In my own created node, there is no comparison to 47 at all that I can see, and I cant seem to find that in the pylon camera code either.

anyone had this problem before or have any ideas why it is happening?

edit retag flag offensive close merge delete

Comments

Could you give a bit more details? What driver are you using? What ROS version?

One thing I notice, but maybe it is just a formating issue: You say, you call with 50,000 but it must be bigger than 10.0000. Are you sure you are in the correct order of magnitued? So you don't mix comma with dots?

mgruhler gravatar image mgruhler  ( 2015-07-16 07:10:15 -0500 )edit

Yes, the magnitude I have written here is correct. Fifty thousand vs ten point zero. It is ROS indigo.

thailor3 gravatar image thailor3  ( 2015-07-17 04:22:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-07-17 04:47:03 -0500

mgruhler gravatar image

This actually looks as if you were only putting 10.0000 into the service call. Can you check that there is actually 50000 in there? And don't write it with a comma...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-07-16 03:52:14 -0500

Seen: 1,376 times

Last updated: Jul 17 '15