Skip to content

Instantly share code, notes, and snippets.

View tkmtnt7000's full-sized avatar

Naoto Tsukamoto tkmtnt7000

  • JSK Lab, The University of Tokyo
  • Tokyo, Japan
View GitHub Profile
@tkmtnt7000
tkmtnt7000 / error_container_occupancy.txt
Created June 17, 2022 11:23
This error is from jsk_rviz_plugin?
Hit space to toggle paused, or 's' to step.
ERROR: Wrong input topic (or topic field): /container_occupancy_detector/container/occupancies
[ INFO] [1655464880.590608697, 1638335590.296024313] [/container_occupancy_nodelet_manager]: [instantiating tf::TransformListener]
[occupancy0-23] process has died [pid 567, exit code 1, cmd /opt/ros/melodic/lib/topic_tools/transform /container_occupancy_detector/container/occupancies /container0/occupancy std_msgs/Float32 0.0 if len(m.boxes) == 0 else m.boxes[0].value __name:=occupancy0 __log:=/home/tsukamoto/.ros/log/9b7d1d54-ee2f-11ec-8342-d05099843c5d/occupancy0-23.log].
log file: /home/tsukamoto/.ros/log/9b7d1d54-ee2f-11ec-8342-d05099843c5d/occupancy0-23*.log
<launch>
<!-- use symbolic link: s-kitagawa (2020/09/18) -->
<arg name="rgb_camera_info_url" default="file:///etc/ros/$(env ROS_DISTRO)/depth_latest.yaml"/>
<arg name="depth_camera_info_url" default="file:///etc/ros/$(env ROS_DISTRO)/depth_latest.yaml"/>
<!-- Head Camera -->
<include file="$(find fetch_bringup)/launch/include/head_camera.launch.xml">
<arg name="rgb_camera_info_url" value="$(arg rgb_camera_info_url)"/>
<arg name="depth_camera_info_url" value="$(arg depth_camera_info_url)"/>
</include>
<!-- Set image_transport_plugins parameters (png_level and disable_pub_plugins) -->
#!/bin/bash
# https://askubuntu.com/questions/1368240
set -e
set -x
sudo apt update
sudo apt install flex bison
mkdir -p ~/work/backport-wilwifi
This issue depends on the branch `develop/spot(sktometometo/jsk_robot)`.
(`jsk_spot_robot` have not merged yet, but I think it is important to keep a history of the problem, so I've created this issue in jsk-ros-pkg/jsk_robot. (Issues cannot be created in fork repositries.))
When running view_map.py with some autowalk data, a map is not shown and I get an error like following.
```bash
tsukamoto@tsukamoto-HP-Z800:~/ros/spot_ws/src/jsk-ros-pkg/jsk_robot/jsk_spot_robot/jsk_spot_behaviors/spot_behavior_manager_demo$ rosrun spot_autowalk_data view_map.py /home/tsukamoto/Desktop/20211005-1ftogarbage.walk
Traceback (most recent call last):
File "/home/tsukamoto/ros/spot_ws/src/jsk-ros-pkg/jsk_robot/jsk_spot_robot/spot_autowalk_data/scripts/view_map.py", line 401, in <module>
main( args.map_directory, False )
File "/home/tsukamoto/ros/spot_ws/src/jsk-ros-pkg/jsk_robot/jsk_spot_robot/spot_autowalk_data/scripts/view_map.py", line 355, in main
Sep 30 20:36:25 strelka bash[7835]: process[elevator_detection_concatenate_pointcloud-12]: started with pid [10934]
Sep 30 20:36:25 strelka bash[7835]: process[elevator_detection_door_detector_attention_clipper-13]: started with pid [10954]
Sep 30 20:36:25 strelka bash[7835]: process[elevator_detection_door_detector_extract_indices-14]: started with pid [11048]
Sep 30 20:36:25 strelka bash[7835]: process[switchbot_ros-15]: started with pid [11082]
Sep 30 20:36:25 strelka bash[7835]: [INFO] [1633001090.067460] [/spot_behavior_manager_demo]: graph /home/spot/spot_ws/src/jsk-ros-pkg/jsk_robot/jsk_spot_robot/spot_autowalk_data/autowalk/eng2_eleva
tor_7FElevator_to_1FElevator.walk uploaded.
Sep 30 20:36:25 strelka bash[7835]: [INFO] [1633001090.139213] [/spot_behavior_manager_demo]: robot is localized on the graph.
Sep 30 20:36:25 strelka bash[7835]: [INFO] [1633001090.490826] [/spot_behavior_manager_demo]: calling elevator when riding...
Sep 30 20:36:25 strelka bash[7835]: [INFO] [1633001093.743616] [/spot_behavi