Skip to content

Invalid parameter when initializing #1

@avegetablechicken

Description

@avegetablechicken

I install ros melodic on ubuntu18.04 and compile oslsim according instructions. However, when i was running roslaunch oslsim main.launch control:=true, there existed an error as below:

$ roslaunch oslsim main.launch control:=true

... logging to /home/user/.ros/log/7cc08b3c-b647-11ec-8165-30d042e761b4/dell-3175.log

Checking log directory for disk usage. This may take a while.

Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.



Invalid parameter "robot_ns"

when instantiating macro: dc_motor (/home/user/catkin_ws/src/gazebo_ros_motors/xacro/dc_motor.xacro)

in file: /home/user/catkin_ws/src/oslsim/urdf/oslsim.xacro

RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/melodic/lib/xacro/xacro', '/home/user/catkin_ws/src/oslsim/urdf/oslsim.xacro']] returned with code [2]. 



Param xml is <param command="$(find xacro)/xacro '$(find oslsim)/urdf/oslsim.xacro'" name="robot_description"/>

The traceback for the exception was written to the log file

It seems that dc_motor.xacro in gazebo does not support robot_ns. How can I figure it out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions