2022-12-28 07:54:49 -0500 | received badge | ● Notable Question
(source)
|
2022-12-28 07:54:49 -0500 | received badge | ● Famous Question
(source)
|
2022-09-08 03:04:36 -0500 | received badge | ● Famous Question
(source)
|
2022-09-08 03:04:36 -0500 | received badge | ● Popular Question
(source)
|
2022-09-08 03:04:36 -0500 | received badge | ● Notable Question
(source)
|
2022-04-18 23:56:00 -0500 | received badge | ● Famous Question
(source)
|
2022-02-13 04:41:58 -0500 | received badge | ● Notable Question
(source)
|
2021-09-22 20:32:49 -0500 | received badge | ● Famous Question
(source)
|
2021-07-21 10:28:20 -0500 | received badge | ● Famous Question
(source)
|
2020-04-30 15:54:37 -0500 | received badge | ● Notable Question
(source)
|
2020-01-21 08:00:45 -0500 | received badge | ● Famous Question
(source)
|
2019-11-12 03:04:41 -0500 | marked best answer | rosserial on ROS Kinetic hi,
Can i install rosserial on ROS kinetic? if yes, can you tell me how please? |
2019-10-07 02:17:20 -0500 | received badge | ● Famous Question
(source)
|
2019-10-07 02:17:20 -0500 | received badge | ● Notable Question
(source)
|
2019-10-02 02:38:56 -0500 | received badge | ● Notable Question
(source)
|
2019-03-26 22:07:01 -0500 | received badge | ● Famous Question
(source)
|
2019-02-06 15:36:25 -0500 | received badge | ● Famous Question
(source)
|
2018-12-19 05:52:32 -0500 | received badge | ● Famous Question
(source)
|
2018-11-27 08:07:56 -0500 | marked best answer | depthimage_to_laserscan launch hi,
i create a launch file that convert depthimage to laserscan: <launch>
<arg name="camera" default="camera"/>
<arg name="publish_tf" default="true"/>
<group if="$(arg scan_processing)">
<node pkg="nodelet" type="nodelet" name="depthimage_to_laserscan" args="load depthimage_to_laserscan/DepthImageToLaserScanNodelet $(arg camera)/$(arg camera)_nodelet_manager">
<param name="scan_height" value="10"/>
<param name="output_frame_id" value="/$(arg camera)_depth_frame"/>
<param name="range_min" value="0.45"/>
<remap from="image" to="$(arg camera)/$(arg depth)/image_raw"/>
<remap from="scan" to="$(arg scan_topic)"/>
</group>
</launch>
when i run: roslaunch fake_laser_pkg start_laser.launch , i receive this error: [start_laser.launch] is neither a
launch file in package
[fake_laser_pkg] nor is
[fake_laser_pkg] a launch file name
The traceback for the exception was
written to the log file
what can i do please? |
2018-09-19 17:20:43 -0500 | marked best answer | RVIZ on Rasbian jessie hi,
i install ros indigo on my raspberry Pi 3 with rasbian jessie and i follow this tutorial ([link text])
( http://wiki.ros.org/ROSberryPi/Instal... )
and also, i copy this code on the file "/home/pi/ros_catkin_ws/src/rviz/src/rviz/mesh_loader.cpp": # ifdef __arm__ // fix for ARM build
#include <strings.h>
bool Assimp::IOSystem::ComparePaths(const char *p1, const char *p2) const
{
return !::strcasecmp(p1, p2);
}
# endif
and then, i try to run rosrun rviz rviz but i receive Unable to locate package
ros-indigo-rviz
what can i do please? |
2018-09-19 14:33:35 -0500 | marked best answer | odometry configuration hi ,
i want to make a robot, i install ros on raspberry and i want to get odometry with ros_arduino_bridge. so i have pololu shield VNH5019 and 2motor metal gear encoder.
my problem is electrical, how to connect is how to pololu shield with motors?
can you help me please if you have cable schematics please? i just ask for connexion between motor and shield motor. i have this: My motor has 6 pins: Red motor power (connects to one motor terminal)
Black motor power (connects to the other motor terminal)
Green encoder GND
Blue encoder Vcc (3.5 – 20 V)
Yellow encoder A output
White encoder B output
and my shield: M1INA Motor 1 direction input A
M1INB Motor 1 direction input B
M1EN/DIAG Motor 1 enable input/fault output
M2INA Motor 2 direction input A
M2INB Motor 2 direction input B
M1PWM Motor 1 speed input
M2PWM Motor 2 speed input
M2EN/DIAG Motor 2 enable input/fault output
M1CS Motor 1 current sense output
M2CS Motor 2 current sense output
|
2018-09-19 14:28:26 -0500 | marked best answer | install rosserial on ROS Kinetic Help Hi,
Is there any solution to install rosserial on ros kinetic please? |
2018-09-19 14:23:53 -0500 | marked best answer | How to Publish Odometry to use with Hector SLAM I want to add odometry to Hector SLAM. I have arduino and pololu shield motor with 2 gear motors with encoders.
I found ros_arduino_bridge package which contain my shield motos but i don't know how to use it and connect it with hector slam.
could you help me? |
2018-09-19 14:21:44 -0500 | marked best answer | PCL on ros kinetic I install ros kinetic on raspberry pi3 with this tutorial link text and also i clone navigation stack with: git clone https://github.com/ros-planning/navigation.git .
but when i run catkin_make , i receive this error: -- +++ processing catkin package: 'costmap_2d'
-- ==> add_subdirectory(navigation/costmap_2d)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76
(find_package): Could not find a
package configuration file provided by
"pcl_conversions" with any of the
following names: pcl_conversionsConfig.cmake
pcl_conversions-config.cmake
Add the installation prefix of
"pcl_conversions" to CMAKE_PREFIX_PATH
or set "pcl_conversions_DIR" to a
directory containing one of the above
files. If "pcl_conversions" provides
a separate development package or SDK,
be sure it has been installed. Call
Stack (most recent call first):
navigation/costmap_2d/CMakeLists.txt:4
(find_package) -- Could not find the required component 'pcl_conversions'. The
following CMake error indicates that
you either need to install the package
with the same name or change your
environment so that it can be found.
CMake Error at
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83
(find_package): Could not find a
package configuration file provided by
"pcl_conversions" with any of the
following names: pcl_conversionsConfig.cmake
pcl_conversions-config.cmake
Add the installation prefix of
"pcl_conversions" to CMAKE_PREFIX_PATH
or set "pcl_conversions_DIR" to a
directory containing one of the above
files. If "pcl_conversions" provides
a separate development package or SDK,
be sure it has been installed. Call
Stack (most recent call first):
navigation/costmap_2d/CMakeLists.txt:4
(find_package) -- Configuring incomplete, errors occurred! See also
"/home/pi/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also
"/home/pi/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed what can i do please? |
2018-09-19 14:19:11 -0500 | marked best answer | ros_arduino_bridge configuration error Hi,
i follow read me tutorial of ros_arduino_bridge in this link link text and when i run roslaunch ros_arduino_python arduino.launch , i receive this error: Connecting to Arduino on port
/dev/ttyACM0 ... Traceback (most
recent call last): File
"/home/irisecesi/catkin_ws/src/ros_arduino_bridge/ros_arduino_python/nodes/arduino_node.py",
line 195, in <module>
myArduino = ArduinoROS() File "/home/irisecesi/catkin_ws/src/ros_arduino_bridge/ros_arduino_python/nodes/arduino_node.py",
line 87, in __init__
self.controller.connect() File "/home/irisecesi/catkin_ws/src/ros_arduino_bridge/ros_arduino_python/src/ros_arduino_python/arduino_driver.py",
line 68, in connect
test = self.get_baud() File "/home/irisecesi/catkin_ws/src/ros_arduino_bridge/ros_arduino_python/src/ros_arduino_python/arduino_driver.py",
line 261, in get_baud
return int(self.execute('b')); File
"/home/irisecesi/catkin_ws/src/ros_arduino_bridge/ros_arduino_python/src/ros_arduino_python/arduino_driver.py",
line 178, in execute
return int(value) TypeError: int() argument must be a string or a number,
not 'NoneType' [INFO] [WallTime:
1468423834.069478] Stopping the robot... [INFO] [WallTime:
1468423834.070452] Shutting down Arduino Node... [arduino-1] process
has died [pid 10979, exit code 1, cmd
/home/irisecesi/catkin_ws/src/ros_arduino_bridge/ros_arduino_python/nodes/arduino_node.py
__name:=arduino __log:=/home/irisecesi/.ros/log/3ed0dd4c-4904-11e6-9d6d-eca86bf97b81/arduino-1.log].
log file:
/home/irisecesi/.ros/log/3ed0dd4c-4904-11e6-9d6d-eca86bf97b81/arduino-1*.log all processes on machine have died,
roslaunch will exit shutting down
processing monitor... ... shutting
down processing monitor complete done What can i do please? |
2018-09-19 14:16:21 -0500 | marked best answer | hector slam and arduino help please hi,
i install ros kinetic on raspberry pi3 and i configure kinect with hector slam and all work well.
now i want to implémante arduino to make a robot with 2 wheels, i install rosserial and i don't know how can i relate hector slam with arduino to control motors.
i know that hector slam provide odometry.
can you help me please? i don't know how can i control motors with hector slam |
2018-09-19 04:37:46 -0500 | marked best answer | odometry and hector slam I wrote a node arduino that publish rpm and subscribe to cmd_vel with ros serial, and i can control my robot with teleop_twist_keyboard. and also i create a package with hector slam that visualise a map. now i want to add odometry to hector_slam for autonomous mapping . what can i do please?
this is the file.launch of hector slam: <?xml version="1.0"?>
<launch>
<param name="pub_map_odom_transform" value="true"/>
<param name="map_frame" value="map"/>
<param name="base_frame" value="base_frame"/>
<param name="odom_frame" value="base_frame"/>
<include file="$(find openni2_launch)/launch/openni2.launch"/>
<node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="depthimage_2_laserscan">
<remap from="image" to="/camera/depth/image_raw"/>
</node>
<node pkg="tf" type="static_transform_publisher" name="map_2_base_footprint" args="0 0 0 0 0 0 /map /base_footprint 100"/>
<node pkg="tf" type="static_transform_publisher" name="base_footprint_2_base_link" args="0 0 0 0 0 0 /base_footprint /base_link 100"/>
<node pkg="tf" type="static_transform_publisher" name="base_link_2_base_stabilized_link" args="0 0 0 0 0 0 /base_link /base_stabilized 100"/>
<node pkg="tf" type="static_transform_publisher" name="base_stablized_2_base_frame" args="0 0 0 0 0 0 /base_stabilized /base_frame 100"/>
<node pkg="tf" type="static_transform_publisher" name="base_frame_2_laser_link" args="0 0 0 0 0 0 /base_frame /camera_link 100"/>
<node pkg="tf" type="static_transform_publisher" name="base_2_nav_link" args="0 0 0 0 0 0 /base_frame /nav 100"/>
<node pkg="rviz" type="rviz" name="rviz" args="-d $(find hector_slam_example)/launch/rviz_cfg.rviz"/>
<include file="$(find hector_slam_example)/launch/default_mapping.launch"/>
<include file="$(find hector_geotiff)/launch/geotiff_mapper.launch"/>
</launch>
|
2018-09-16 07:40:30 -0500 | received badge | ● Popular Question
(source)
|
2018-08-08 21:45:27 -0500 | received badge | ● Famous Question
(source)
|
2018-08-08 21:45:26 -0500 | received badge | ● Notable Question
(source)
|
2018-07-25 14:13:52 -0500 | marked best answer | ultrasonic on raspberry hi,
i want to measure a distance of ultrasonic from raspberry, i wrote this code but i receive some error, could you help me please? #include "ros/ros.h"
#include <ros/time.h>
#include <std_msgs/UInt16.h>
#include <iostream>
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <wiringPi.h>
#define TRIG 2
#define ECHO 3
using namespace std;
uint32_t time1=0,time2=0;
uint32_t time_diff=0;
float Range_cm=0;
volatile int flag=0;
void show_distance()
{
cout<<"distance= "<<time1<<" "<<time2<<" "<<time_diff<<" "<<Range_cm<<" cm\n";
cout.flush();
delay(1000);
digitalWrite(2,0);
delayMicroseconds(1);
digitalWrite(2,1);
delayMicroseconds(10);
digitalWrite(2,0);
}
void myInterrupt(void)
{
if(flag==0)
{
time1=micros();
flag=1;
}
else
{
time2=micros();
flag=0;
time_diff=time2-time1;
Range_cm=time_diff/58;
show_distance();
}
}
int main(int argc, char **argv)
{
if(wiringPiSetup()<0)
{
cout<<"wiringPiSetup failed !!\n";
}
pinMode(2,OUTPUT);
pinMode(3,INPUT);
pullUpDnControl(3,PUD_DOWN);
if(wiringPiISR(3,INT_EDGE_BOTH,&myInterrupt) < 0)
{
cerr<<"interrupt error ["<<strerror (errno)<< "]:"<<errno<<endl;
return 1;
}
digitalWrite(2,0);
delayMicroseconds(1);
digitalWrite(2,1);
delayMicroseconds(10);
digitalWrite(2,0);
ros::init(argc, argv, "servo_publisher");
ros::NodeHandle n;
ros::Publisher servo_pub = n.advertise<std_msgs::UInt16>("/servo", 1000);
ros::Rate loop_rate(40);
int count = 0;
while(ros::ok())
{
while(1)
{
std_msgs::UInt16 cmd_msg;
cmd_msg.data = 180;
ROS_INFO("%i",cmd_msg.data);
servo_pub.publish(cmd_msg);
sleep(1);
cmd_msg.data = 0;
ROS_INFO("%i",cmd_msg.data);
servo_pub.publish(cmd_msg);
sleep(1);
cmd_msg.data = 45;
ROS_INFO("%i",cmd_msg.data);
servo_pub.publish(cmd_msg);
sleep(1);
cmd_msg.data = 90;
ROS_INFO("%i",cmd_msg.data);
servo_pub.publish(cmd_msg);
sleep(1);
cmd_msg.data = 135;
ROS_INFO("%i",cmd_msg.data);
servo_pub.publish(cmd_msg);
sleep(1);
}
ros::spinOnce();
loop_rate.sleep();
++count;
}
return 0;
}
i receive this error: /usr/bin/ld: warning: libboost_system.so.1.54.0, needed by /opt/ros/indigo/lib/libtf.so, may conflict with libboost_system.so.1.55.0
/usr/bin/ld: warning: libboost_thread.so.1.54.0, needed by /opt/ros/indigo/lib/libtf2_ros.so, may conflict with libboost_thread.so.1.55.0
/usr/bin/ld: warning: libboost_filesystem.so.1.54.0, needed by /opt/ros/indigo/lib/libroscpp.so, may conflict with libboost_filesystem.so.1.55.0
/usr/bin/ld: warning: libboost_regex.so.1.54.0, needed by /opt/ros/indigo/lib/librosconsole.so, may conflict with libboost_regex.so.1.55.0
CMakeFiles/control.dir/src/control.cpp.o: In function `show_distance()':
control.cpp:(.text+0xc0): undefined reference to `delay'
control.cpp:(.text+0xcc): undefined reference to `digitalWrite'
control.cpp:(.text+0xd4): undefined reference to `delayMicroseconds'
control.cpp:(.text+0xe0): undefined reference to `digitalWrite'
control.cpp:(.text+0xe8): undefined reference to `delayMicroseconds'
control.cpp:(.text+0xf4): undefined reference to `digitalWrite'
CMakeFiles/control.dir/src/control.cpp.o: In function `myInterrupt()':
control.cpp:(.text+0x144): undefined reference to `micros'
control.cpp:(.text+0x164): undefined reference to `micros'
CMakeFiles/control.dir/src/control.cpp.o: In function `main':
control.cpp:(.text+0x1f4): undefined reference to `wiringPiSetup'
control.cpp:(.text+0x220): undefined reference to `pinMode'
control.cpp:(.text+0x22c): undefined reference to `pinMode'
control.cpp:(.text+0x238): undefined reference ... (more) |
2018-06-29 03:55:54 -0500 | received badge | ● Notable Question
(source)
|
2018-06-29 03:55:54 -0500 | received badge | ● Famous Question
(source)
|
2018-06-04 07:06:27 -0500 | received badge | ● Famous Question
(source)
|
2018-06-03 15:54:40 -0500 | received badge | ● Famous Question
(source)
|
2018-03-09 07:50:19 -0500 | received badge | ● Famous Question
(source)
|
2018-03-02 19:19:37 -0500 | marked best answer | kinect and raspberry hi,
i want to connect kinect with raspberry pi3. i install ros indigo and freenect_launch package.
when i launch freenect, i receive all topic but with a message "searching device"
i make the same configuration with laptop, it works well.
Can you help me please to solve this problem? |
2018-02-25 09:20:36 -0500 | marked best answer | ROS on Raspberry 3 Hello,
Is there anyone already install ROS on raspberry pi 3? |
2018-02-23 01:03:51 -0500 | received badge | ● Famous Question
(source)
|
2018-01-17 00:14:19 -0500 | received badge | ● Famous Question
(source)
|
2017-12-26 12:16:48 -0500 | marked best answer | ROS installation on raspberry 3 Hi,
i want to install ROS indigo or jade desktop full on my raspberry pi 3 but i can't although i follow all tutorial.
is there any one has managed to install it with rviz? |