ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This is really two separate issues, and it would be better to create two separate questions for them. As it is now:
Invoking "make -j4 -l4" failed
is not a full err msg. Please add the relevant parts.sudo
).2 | No.2 Revision |
This is really two separate issues, and it would be better to create two separate questions for them. As it is now:
I then downloaded dependencies and made the files again, this just gave me a long list of errors ending with:
Invoking "make -j4 -l4" failed
is failed
This does
not seem like a fullIn general: cloning just a package's repository is almost never enough to successfully build a it. Please see Installing package from source in Indigo for the general procedure to build things from source. Note the rosdep install ..
command: it will try and install all required dependencies for the package that you are trying to build.
This got the package successfully, but in trying the next step on the package main page
$ sudo -E rosrun libuvc_camera camera_node vendor:=...
Don't
ever run ros nodes as root (sudo
As to the parameter problem: only private parameters can be passed on the command line, using the _param_name:=value
syntax (see rosbash - Command line utilities - rosrun). Without the underscore, you're giving rosrun
a remapping argument, which is not what you want.
Using a launch file is probably the easiest way to set parameters that are not meant to be private.
3 | No.3 Revision |
This is really two separate issues, and it would be better to create two separate questions for them. As it is now:
I then downloaded dependencies and made the files again, this just gave me a long list of errors ending with:
Invoking "make -j4 -l4" failed
This does not seem like a full error message. Please add the relevant parts, as without it we can only guess.
In general: cloning just a package's repository is almost never enough to successfully build a it. Please see Installing package from source in Indigo for the general procedure to build things from source. Note the rosdep install ..
command: it will try and install all required dependencies for the package that you are trying to build.
This got the package successfully, but in trying the next step on the package main page
$ sudo -E rosrun libuvc_camera camera_node vendor:=...
Don't ever run ros nodes as root (sudo
), it's very rarely really needed. See Rosrun as super user for an earlier Q&A about that.
As to the parameter problem: only private parameters can be passed on the command line, using the _param_name:=value
syntax (see rosbash - Command line utilities - rosrun). Without the underscore, you're giving rosrun
a remapping argument, which is not what you want.
Using a launch file is probably the easiest way to set parameters that are not meant to be private.
Edit: just noticed that the libuvc_camera/Permissions section does give running as root as one possibility to use the node, but it also continues that section with:
However, use of udev rules is recommended. In
/etc/udev/rules.d/99-uvc.rules
, to give every user camera access
I would tend to agree.
I also noticed that the vendor:=..
syntax is suggested on that page. I'm not sure why that is. Afaik, that won't work.