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

ytosclee's profile - activity

2021-12-29 00:22:21 -0500 received badge  Great Question (source)
2021-05-15 18:06:55 -0500 marked best answer Rosserial Arduino Compilation Error: No <CSTRING>

Hi, I am using Ubuntu 20.04 and ROS Noetic. I followed the rosserial tutorial arduino setup page but I cannot compile the ros_lib HelloWorld example in Arduino. It gives me the following error. I am not able to resolve it and I would like to ask for your help! Thanks a lot!

    In file included from /home/kk/Arduino/libraries/ros_lib/std_msgs/Time.h:7:0,
                 from /home/kk/Arduino/libraries/ros_lib/ros/node_handle.h:40,
                 from /home/kk/Arduino/libraries/ros_lib/ros.h:38,
                 from /home/kk/Arduino/libraries/ros_lib/examples/HelloWorld/HelloWorld.pde:6:
/home/kk/Arduino/libraries/ros_lib/ros/msg.h:40:10: fatal error: cstring: No such file or directory
 #include <cstring>
          ^~~~~~~~~
compilation terminated.

exit status 1
Error compiling for board Arduino Leonardo.
2021-04-21 12:17:34 -0500 received badge  Nice Question (source)
2020-12-25 11:10:40 -0500 edited question Visualization marker - Frame doesn't exist

Visualization marker - Frame doesn't exist Hi, I run into an issue with the visualization marker. It shows the frame doe

2020-12-25 11:08:28 -0500 edited question Visualization marker - Frame doesn't exist

Visualization marker - Frame doesn't exist Hi, I run into an issue with the visualization marker. It shows the frame doe

2020-12-25 11:07:10 -0500 asked a question Visualization marker - Frame doesn't exist

Visualization marker - Frame doesn't exist Hi, I run into an issue with the visualization marker. It shows the frame doe

2020-10-22 04:39:59 -0500 received badge  Popular Question (source)
2020-10-21 10:05:30 -0500 received badge  Famous Question (source)
2020-09-30 20:51:04 -0500 commented answer Rosserial Arduino Compilation Error: No <CSTRING>

Thanks, it solves my problem.

2020-09-30 20:50:29 -0500 commented answer Rosserial Arduino Compilation Error: No <CSTRING>

Thanks, it solves my problem.

2020-09-28 05:16:35 -0500 received badge  Favorite Question (source)
2020-09-28 04:56:13 -0500 received badge  Good Question (source)
2020-09-26 22:02:40 -0500 received badge  Nice Question (source)
2020-09-26 11:28:59 -0500 received badge  Famous Question (source)
2020-09-22 16:03:43 -0500 received badge  Notable Question (source)
2020-09-22 05:08:49 -0500 received badge  Popular Question (source)
2020-09-20 10:06:53 -0500 edited question Rosserial Arduino Compilation Error: No <CSTRING>

Rosserial Arduino Compilation Error: No <cstring> Hi, I am using Ubuntu 20.04 and ROS Noetic. I followed the rosse

2020-09-20 10:06:24 -0500 edited question Rosserial Arduino Compilation Error: No <CSTRING>

Rosserial Arduino Compilation Error: No <cstring> Hi, I am using Ubuntu 20.04 and ROS Noetic. I followed the rosse

2020-09-20 10:05:47 -0500 asked a question Rosserial Arduino Compilation Error: No <CSTRING>

Rosserial Arduino Compilation Error: No <cstring> Hi, I am using Ubuntu 20.04 and ROS Noetic. I followed the rosse

2020-05-19 22:12:48 -0500 commented question How to publish data changed in Dynamic Reconfigure

Hi Funky_Watermelon, yes, the dynamic configure will create ROS parameters. So you can get/update the value using the RO

2020-05-19 22:12:28 -0500 commented question How to publish data changed in Dynamic Reconfigure

Hi Funky_Watermelon, yes, the dynamic configure will create ROS parameters. So you can update the value using the ROS pa

2020-05-19 22:12:28 -0500 received badge  Commentator
2020-05-03 07:45:04 -0500 received badge  Famous Question (source)
2020-04-09 01:34:31 -0500 received badge  Notable Question (source)
2020-04-09 01:34:31 -0500 received badge  Popular Question (source)
2020-03-08 09:44:02 -0500 commented question Visualization marker line_list replaces by new line_list

Thanks! I update the ID and it is working.

2020-03-08 09:43:06 -0500 commented question Visualization marker line_list replaces by new line_list

Thanks! It is strange that id is the same works for sphere. I update the ID and it is working. Thanks again1

2020-03-08 09:42:50 -0500 commented question Visualization marker line_list replaces by new line_list

THnaks! It is strange that id is the same works for sphere. I update the ID and it is working. Thanks again1

2020-03-07 18:51:19 -0500 edited question Visualization marker line_list replaces by new line_list

Visualization marker line_list replaces by new line_list Hi, I setup visualalization marker line list to displace calcul

2020-03-07 18:50:52 -0500 asked a question Visualization marker line_list replaces by new line_list

Visualization marker line_list replaces by new line_list Hi, I setup visualalization marker line list to displace caluca

2020-02-16 23:34:52 -0500 commented answer Realsense Color Image Pointcloud Synchronization

Thanks for the answer! I will try to get the point clouds and the rgb image at the same time, run the algorithm and chec

2020-02-15 06:05:53 -0500 asked a question Realsense Color Image Pointcloud Synchronization

Realsense Color Image Pointcloud Synchronization Hi, I use color image to filter out a moving object and I use PointClou

2019-11-11 14:26:50 -0500 received badge  Famous Question (source)
2019-03-22 22:25:56 -0500 received badge  Famous Question (source)
2019-03-21 02:23:40 -0500 received badge  Notable Question (source)
2019-02-23 21:22:54 -0500 received badge  Notable Question (source)
2019-02-22 04:14:41 -0500 received badge  Student (source)
2019-02-22 04:14:36 -0500 received badge  Popular Question (source)
2019-02-22 01:22:24 -0500 received badge  Popular Question (source)
2019-02-21 21:25:21 -0500 commented answer How to get the correct X Y distance from depth camera

I am using R415 realsense camera and the realsense package can output the PCL.

2019-02-21 20:48:40 -0500 marked best answer How to get the correct X Y distance from depth camera

Hi, I would like to create TF for an object detected in OpenCV using depth camera. When I look at the code from the book "ROS Robotics By Example", they use the X, Y coordinate detected in the picture and put that directly into the TF. I am confused here. The X, Y coordinate is just the pixel from the photo, why they can put it in the TF directly? Thanks!

# Find the circumcircle of the green ball and draw a blue outline around it
(self.cf_u,self.cf_v),radius = cv2.minEnclosingCircle(ball_image)
ball_center = (int(self.cf_u),int(self.cf_v))

#This function builds the Crazyflie base_link tf transform and publishes it.
def update_cf_transform(self, x, y, z):
      # send position as transform from the parent "kinect2_ir_optical_frame" to the
      # child "crazyflie/base_link" (described by crazyflie.urdf.xacro)
      self.pub_tf.sendTransform(( x, y, z), tf.transformations.quaternion_from_euler(self.r, self.p, self.y), rospy.Time.now(), "crazyflie/base_link", "kinect2_ir_optical_frame")

https://github.com/PacktPublishing/ROS-Robotics-By-Example/blob/master/Chapter_9_code/crazyflie_autonomous/scripts/detect_crazyflie.py

2019-02-21 20:48:29 -0500 marked best answer Camera position defined in URDF vs broadcast a TF

Hi, I have a depth camera mounted on a robot and I define its position in the URDF. It works fine in RVIZ. But when RVIZ is not running, I am wondering if the system still knows depth camera position or not. Do I need to broadcast a TF to show the camera position? If yes, will it conflict with the URDF when RVIZ is running? Thanks!