Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nextage_calibration] Checkerboard does not appear on melodic #368

Open
pazeshun opened this issue Apr 17, 2020 · 0 comments
Open

[nextage_calibration] Checkerboard does not appear on melodic #368

pazeshun opened this issue Apr 17, 2020 · 0 comments

Comments

@pazeshun
Copy link
Contributor

When I tried gazebo_kinect_checkerboard_chest.launch on melodic, I faced the following error:

$ roslaunch nextage_calibration gazebo_kinect_checkerboard_chest.launch                                       
... logging to /home/pazeshun/.ros/log/e94237f6-8057-11ea-a625-0242ac110002/roslaunch-46405e9dcc2a-19184.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.                                                                                    
                                                                                                                                     
xacro.py is deprecated; please use xacro instead                                                                                     
started roslaunch server http://46405e9dcc2a:46537/                                                                                  
                                                                                                                                     
SUMMARY                                                                                                                              
========                                                                                                                             
                                                                                                                                     
PARAMETERS                                                                                                                           
 * /rosdistro: melodic                                                                                                               
 * /rosversion: 1.14.5                                                                                                               
 * /sensor_description: <?xml version="1....                                                                                         
                                                                                                                                     
NODES                                                                                                                                
  /                                                                                                                                  
    sensor_kinect_joint_state_publisher (joint_state_publisher/joint_state_publisher)                                                
    sensor_kinect_state_publisher (robot_state_publisher/robot_state_publisher)                                                      
    spawn_checkerboard_chest (gazebo_ros/spawn_model)                                                                                
    spawn_sensor_kinect (gazebo_ros/spawn_model)                                                                                     
                                                                                                                                     
ROS_MASTER_URI=http://localhost:11311                                                                                                
                                                                                                                                     
process[spawn_sensor_kinect-1]: started with pid [19237]                                                                             
process[sensor_kinect_state_publisher-2]: started with pid [19238]                                                                   
process[sensor_kinect_joint_state_publisher-3]: started with pid [19239]                                                             
process[spawn_checkerboard_chest-4]: started with pid [19246]                                                                        
[ WARN] [1587092601.136833376, 15.804000000]: Joint state with name: "CHEST_JOINT0" was received but not found in URDF               
usage: spawn_model [-h] (-urdf | -sdf)                                                                                               
                   (-file FILE_NAME | -param PARAM_NAME | -database MODEL_NAME | -stdin)                                             
                   -model MODEL_NAME [-reference_frame REFERENCE_FRAME]                                                              
                   [-gazebo_namespace GAZEBO_NAMESPACE]                                                                              
                   [-robot_namespace ROBOT_NAMESPACE] [-unpause]
                   [-wait MODEL_NAME] [-x X] [-y Y] [-z Z] [-R R] [-P P]
                   [-Y Y] [-J JOINT_NAME JOINT_POSITION] [-package_to_model]
                   [-b]
spawn_model: error: argument -wait: expected one argument
[spawn_checkerboard_chest-4] process has died [pid 19246, exit code 2, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -file /home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_calibration/models/checkerboard_horizontal.urdf -urdf -model checkerboard_horizontal -reference_frame WAIST -wait __name:=spawn_checkerboard_chest __log:=/home/pazeshun/.ros/log/e94237f6-8057-11ea-a625-0242ac110002/spawn_checkerboard_chest-4.log].
log file: /home/pazeshun/.ros/log/e94237f6-8057-11ea-a625-0242ac110002/spawn_checkerboard_chest-4*.log
[spawn_sensor_kinect-1] process has finished cleanly
log file: /home/pazeshun/.ros/log/e94237f6-8057-11ea-a625-0242ac110002/spawn_sensor_kinect-1*.log
[ WARN] [1587092620.273002476, 25.824000000]: Joint state with name: "CHEST_JOINT0" was received but not found in URDF
[ WARN] [1587092637.812198854, 35.824000000]: Joint state with name: "CHEST_JOINT0" was received but not found in URDF

This is because spawn_model parameter differs between kinetic and melodic.
On kinetic,

$ rosrun gazebo_ros spawn_model --help
SpawnModel script started
Commands:
...
    -wait - optional: !!!Experimental!!! wait for model to exist

On melodic,

$ rosrun gazebo_ros spawn_model --help
...
  -wait MODEL_NAME      !!!Experimental!!! wait for model to exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant