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

How to solve the error "cannot marshal None unless allow_none is enabled ”

asked 2017-07-19 23:50:50 -0600

pratikshriniwar gravatar image

updated 2017-07-20 01:38:58 -0600

gvdhoorn gravatar image

Hi, I am new to ros. we are trying to interface the dynamixel Pro-42 series actuator to our hardware. we are following steps mentioned in tutorial ""

the problem is when we give command

roslaunch my_dynamixel_tutorial controller_manager.launch

on console it prints two messages that are:

load_parameter : Last successfully loaded parameter (/dev/ttyUSB0)
  "cannot marshal None unless allow_none is enabled"
File "/usr/lib/python2.7/", line 664, in dump_nil
  raise TypeError, "cannot marshal None unless allow_none is enabled
"TypeError: cannot marshal None unless allow_none is enabled

How do i solve this issue..

<!-- -*- mode: XML -*- -->

<node name="dynamixel_manager" pkg="dynamixel_controllers" type="" required="true" output="screen">
namespace: dxl_manager
port_name: "/dev/ttyUSB0"
baud_rate: 57600
min_motor_id: 1
max_motor_id: 25
update_rate: 20

thanks in advance..

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-07-20 01:40:09 -0600

gvdhoorn gravatar image

updated 2017-07-20 01:40:22 -0600


I've no experience with that particular node or the whole Dynamixel infrastructure, but it could well be that empty values for keys in yaml dicts are not allowed.

If you don't need those parameters, either remove or comment them.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-07-19 23:50:50 -0600

Seen: 2,132 times

Last updated: Jul 20 '17