python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to define optional arguments in ROS service request
I want to define optional arguments in my ROS service request, the .srv file looks like this:
abb_rapid_msgs/RobTarget pickpoint
abb_rapid_msgs/RobTarget placepoint
bool leftarm
# Optional Parameters
...

Bilal
Votes: 0
Answers: 1
error python code: AttributeError: 'bytes' object has no attribute 'encode'
I'm all trying to pass a code from python2.7 to 3.8 but I'm stuck on the following code:
def serial_handle(self):
# Serial initialization
try:
self.serial.reset_input_buffer()
...
andres jimenez
Votes: 0
Answers: 1