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

Cannot load panda model or any model to rviz2 #1049

Closed
Neathle opened this issue Jan 30, 2022 · 12 comments
Closed

Cannot load panda model or any model to rviz2 #1049

Neathle opened this issue Jan 30, 2022 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@Neathle
Copy link

Neathle commented Jan 30, 2022

Description

Overview of your issue here.

Your environment

  • ROS Distro: Galactic
  • OS Version: e.g. Ubuntu 20.04
  • From "Getting Started"
  • If binary, which release version?
  • Happens on both Main and Galactic

Steps to reproduce

Follow the tutorial "Getting Started" in the galactic version of the documentation and then the "Moveit Quickstart in Rviz" tutorial, when clicking the "ok" button nothing loads and the error appears.

Expected behaviour

The model should load as well as the planning library

Actual behaviour

Nothing is loaded and an error is thrown in the console

Backtrace or Console output

❯ ros2 launch moveit2_tutorials move_group.launch.py
[INFO] [launch]: All log files can be found below /home/neathle/.ros/log/2022-01-30-01-12-59-365223-neathle-pc-81453
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [rviz2-1]: process started with pid [81455]
[INFO] [static_transform_publisher-2]: process started with pid [81457]
[INFO] [robot_state_publisher-3]: process started with pid [81459]
[INFO] [move_group-4]: process started with pid [81461]
[INFO] [ros2_control_node-5]: process started with pid [81463]
[INFO] [mongo_wrapper_ros.py-6]: process started with pid [81465]
[INFO] [ros2 run controller_manager spawner panda_arm_controller-7]: process started with pid [81467]
[INFO] [ros2 run controller_manager spawner panda_hand_controller-8]: process started with pid [81469]
[INFO] [ros2 run controller_manager spawner joint_state_broadcaster-9]: process started with pid [81471]
[static_transform_publisher-2] [INFO] [1643501579.825026714] [static_transform_publisher]: Spinning until killed publishing transform from 'world' to 'panda_link0'
[robot_state_publisher-3] Link panda_link1 had 1 children
[robot_state_publisher-3] Link panda_link2 had 1 children
[robot_state_publisher-3] Link panda_link3 had 1 children
[robot_state_publisher-3] Link panda_link4 had 1 children
[robot_state_publisher-3] Link panda_link5 had 1 children
[robot_state_publisher-3] Link panda_link6 had 1 children
[robot_state_publisher-3] Link panda_link7 had 1 children
[robot_state_publisher-3] Link panda_link8 had 1 children
[robot_state_publisher-3] Link panda_hand had 2 children
[robot_state_publisher-3] Link panda_leftfinger had 0 children
[robot_state_publisher-3] Link panda_rightfinger had 0 children
[robot_state_publisher-3] [INFO] [1643501579.828783872] [robot_state_publisher]: got segment panda_hand
[robot_state_publisher-3] [INFO] [1643501579.828845719] [robot_state_publisher]: got segment panda_leftfinger
[robot_state_publisher-3] [INFO] [1643501579.828856009] [robot_state_publisher]: got segment panda_link0
[robot_state_publisher-3] [INFO] [1643501579.828863633] [robot_state_publisher]: got segment panda_link1
[robot_state_publisher-3] [INFO] [1643501579.828870647] [robot_state_publisher]: got segment panda_link2
[robot_state_publisher-3] [INFO] [1643501579.828877460] [robot_state_publisher]: got segment panda_link3
[robot_state_publisher-3] [INFO] [1643501579.828885315] [robot_state_publisher]: got segment panda_link4
[robot_state_publisher-3] [INFO] [1643501579.828892769] [robot_state_publisher]: got segment panda_link5
[robot_state_publisher-3] [INFO] [1643501579.828899602] [robot_state_publisher]: got segment panda_link6
[robot_state_publisher-3] [INFO] [1643501579.828906174] [robot_state_publisher]: got segment panda_link7
[robot_state_publisher-3] [INFO] [1643501579.828913328] [robot_state_publisher]: got segment panda_link8
[robot_state_publisher-3] [INFO] [1643501579.828920201] [robot_state_publisher]: got segment panda_rightfinger
[ros2_control_node-5] [INFO] [1643501579.838754010] [controller_manager]: update rate is 100 Hz
[move_group-4] [INFO] [1643501579.865611206] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00265439 seconds
[move_group-4] [INFO] [1643501579.865671380] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[move_group-4] Link panda_link1 had 1 children
[move_group-4] Link panda_link2 had 1 children
[move_group-4] Link panda_link3 had 1 children
[move_group-4] Link panda_link4 had 1 children
[move_group-4] Link panda_link5 had 1 children
[move_group-4] Link panda_link6 had 1 children
[move_group-4] Link panda_link7 had 1 children
[move_group-4] Link panda_link8 had 1 children
[move_group-4] Link panda_hand had 2 children
[move_group-4] Link panda_leftfinger had 0 children
[move_group-4] Link panda_rightfinger had 0 children
[move_group-4] [INFO] [1643501579.901305205] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Publishing maintained planning scene on 'monitored_planning_scene'
[move_group-4] [INFO] [1643501579.901523250] [moveit.ros_planning_interface.moveit_cpp]: Listening to 'joint_states' for joint states
[move_group-4] [INFO] [1643501579.902316849] [moveit_ros.current_state_monitor]: Listening to joint states on topic 'joint_states'
[move_group-4] [INFO] [1643501579.902747499] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to '/attached_collision_object' for attached collision objects
[move_group-4] [INFO] [1643501579.902761535] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Starting planning scene monitor
[move_group-4] [INFO] [1643501579.903584411] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to '/planning_scene'
[move_group-4] [INFO] [1643501579.903596504] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Starting world geometry update monitor for collision objects, attached objects, octomap updates.
[move_group-4] [INFO] [1643501579.903954786] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to 'collision_object'
[move_group-4] [INFO] [1643501579.904352051] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to 'planning_scene_world' for planning scene world geometry
[move_group-4] [WARN] [1643501579.905134320] [moveit.ros.occupancy_map_monitor.middleware_handle]: Resolution not specified for Octomap. Assuming resolution = 0.1 instead
[move_group-4] [ERROR] [1643501579.905151202] [moveit.ros.occupancy_map_monitor.middleware_handle]: No 3D sensor plugin(s) defined for octomap updates
[move_group-4] [INFO] [1643501579.905803022] [moveit.ros_planning_interface.moveit_cpp]: Loading planning pipeline 'ompl'
[move_group-4] [INFO] [1643501579.934179178] [moveit.ros_planning.planning_pipeline]: Using planning interface 'OMPL'
[move_group-4] [INFO] [1643501579.938680942] [moveit_ros.fix_workspace_bounds]: Param 'ompl.default_workspace_bounds' was not set. Using default value: 10.000000
[move_group-4] [INFO] [1643501579.938709567] [moveit_ros.fix_start_state_bounds]: Param 'ompl.start_state_max_bounds_error' was set to 0.100000
[move_group-4] [INFO] [1643501579.938717151] [moveit_ros.fix_start_state_bounds]: Param 'ompl.start_state_max_dt' was not set. Using default value: 0.500000
[move_group-4] [INFO] [1643501579.938732901] [moveit_ros.fix_start_state_collision]: Param 'ompl.start_state_max_dt' was not set. Using default value: 0.500000
[move_group-4] [INFO] [1643501579.938739363] [moveit_ros.fix_start_state_collision]: Param 'ompl.jiggle_fraction' was not set. Using default value: 0.020000
[move_group-4] [INFO] [1643501579.938752869] [moveit_ros.fix_start_state_collision]: Param 'ompl.max_sampling_attempts' was not set. Using default value: 100
[move_group-4] [INFO] [1643501579.938768930] [moveit.ros_planning.planning_pipeline]: Using planning request adapter 'Add Time Parameterization'
[move_group-4] [INFO] [1643501579.938780923] [moveit.ros_planning.planning_pipeline]: Using planning request adapter 'Resolve constraint frames to robot links'
[move_group-4] [INFO] [1643501579.938785722] [moveit.ros_planning.planning_pipeline]: Using planning request adapter 'Fix Workspace Bounds'
[move_group-4] [INFO] [1643501579.938789559] [moveit.ros_planning.planning_pipeline]: Using planning request adapter 'Fix Start State Bounds'
[move_group-4] [INFO] [1643501579.938793476] [moveit.ros_planning.planning_pipeline]: Using planning request adapter 'Fix Start State In Collision'
[move_group-4] [INFO] [1643501579.938797444] [moveit.ros_planning.planning_pipeline]: Using planning request adapter 'Fix Start State Path Constraints'
[move_group-4] [INFO] [1643501579.966866806] [moveit.plugins.moveit_simple_controller_manager]: Added FollowJointTrajectory controller for panda_arm_controller
[move_group-4] [INFO] [1643501579.968344668] [moveit.plugins.moveit_simple_controller_manager]: Added GripperCommand controller for panda_hand_controller
[move_group-4] [INFO] [1643501579.968487229] [moveit.plugins.moveit_simple_controller_manager]: Returned 2 controllers in list
[move_group-4] [INFO] [1643501579.968796447] [moveit_ros.trajectory_execution_manager]: Trajectory execution is managing controllers
[move_group-4] [INFO] [1643501579.968835572] [move_group.move_group]: MoveGroup debug mode is ON
[move_group-4] [INFO] [1643501579.989372343] [move_group.move_group]: 
[move_group-4] 
[move_group-4] ********************************************************
[move_group-4] * MoveGroup using: 
[move_group-4] *     - ApplyPlanningSceneService
[move_group-4] *     - ClearOctomapService
[move_group-4] *     - CartesianPathService
[move_group-4] *     - ExecuteTrajectoryAction
[move_group-4] *     - GetPlanningSceneService
[move_group-4] *     - KinematicsService
[move_group-4] *     - MoveAction
[move_group-4] *     - MotionPlanService
[move_group-4] *     - QueryPlannersService
[move_group-4] *     - StateValidationService
[move_group-4] ********************************************************
[move_group-4] 
[move_group-4] [INFO] [1643501579.989411417] [moveit_move_group_capabilities_base.move_group_context]: MoveGroup context using planning plugin ompl_interface/OMPLPlanner
[move_group-4] [INFO] [1643501579.989420635] [moveit_move_group_capabilities_base.move_group_context]: MoveGroup context initialization complete
[move_group-4] Loading 'move_group/ApplyPlanningSceneService'...
[move_group-4] Loading 'move_group/ClearOctomapService'...
[move_group-4] Loading 'move_group/MoveGroupCartesianPathService'...
[move_group-4] Loading 'move_group/MoveGroupExecuteTrajectoryAction'...
[move_group-4] Loading 'move_group/MoveGroupGetPlanningSceneService'...
[move_group-4] Loading 'move_group/MoveGroupKinematicsService'...
[move_group-4] Loading 'move_group/MoveGroupMoveAction'...
[move_group-4] Loading 'move_group/MoveGroupPlanService'...
[move_group-4] Loading 'move_group/MoveGroupQueryPlannersService'...
[move_group-4] Loading 'move_group/MoveGroupStateValidationService'...
[move_group-4] 
[move_group-4] You can start planning now!
[move_group-4] 
[mongo_wrapper_ros.py-6] [INFO] [1643501580.026385721] [mongodb]: Starting mongodb with db location /tmp/db listening on localhost:33829
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] MongoDB starting : pid=81605 port=33829 dbpath=/tmp/db 64-bit host=neathle-pc
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] db version v3.6.8
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] git version: 8e540c0b6db93ce994cc548f000900bdc740f80a
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] allocator: tcmalloc
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] modules: none
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] build environment:
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten]     distarch: x86_64
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten]     target_arch: x86_64
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I CONTROL  [initandlisten] options: { net: { port: 33829 }, storage: { dbPath: "/tmp/db" } }
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I -        [initandlisten] Detected data files in /tmp/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I STORAGE  [initandlisten] 
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I STORAGE  [initandlisten] **          See http://dochub.mongodb.org/core/prodnotes-filesystem
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.061+0100 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=7458M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
[ros2_control_node-5] [INFO] [1643501580.247267661] [controller_manager]: Loading controller 'panda_hand_controller'
[ros2_control_node-5] [INFO] [1643501580.257740326] [controller_manager]: Loading controller 'joint_state_broadcaster'
[ros2 run controller_manager spawner panda_hand_controller-8] [INFO] [1643501580.270167038] [spawner_panda_hand_controller]: Loaded panda_hand_controller
[ros2_control_node-5] [INFO] [1643501580.272530344] [controller_manager]: Configuring controller 'panda_hand_controller'
[ros2_control_node-5] [INFO] [1643501580.272604916] [panda_hand_controller]: Action status changes will be monitored at 20Hz.
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.288+0100 I STORAGE  [initandlisten] WiredTiger message [1643501580:288276][81605:0x7f31dab3cac0], txn-recover: Main recovery loop: starting at 10/5248
[ros2 run controller_manager spawner joint_state_broadcaster-9] [INFO] [1643501580.289544874] [spawner_joint_state_broadcaster]: Loaded joint_state_broadcaster
[ros2_control_node-5] [INFO] [1643501580.292347927] [controller_manager]: Loading controller 'panda_arm_controller'
[ros2 run controller_manager spawner panda_hand_controller-8] [INFO] [1643501580.293049682] [spawner_panda_hand_controller]: Configured and started panda_hand_controller
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.329+0100 I STORAGE  [initandlisten] WiredTiger message [1643501580:329528][81605:0x7f31dab3cac0], txn-recover: Recovering log 10 through 11
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.356+0100 I STORAGE  [initandlisten] WiredTiger message [1643501580:356886][81605:0x7f31dab3cac0], txn-recover: Recovering log 11 through 11
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.376+0100 I STORAGE  [initandlisten] WiredTiger message [1643501580:376743][81605:0x7f31dab3cac0], txn-recover: Set global recovery timestamp: 0
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] 
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] 
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] ** WARNING: This server is bound to localhost.
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] **          Remote systems will be unable to connect to this server. 
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] **          Start the server with --bind_ip <address> to specify which IP 
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] **          addresses it should serve responses from, or with --bind_ip_all to
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] **          bind to all interfaces. If this behavior is desired, start the
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] **          server with --bind_ip 127.0.0.1 to disable this warning.
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.405+0100 I CONTROL  [initandlisten] 
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.447+0100 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory '/tmp/db/diagnostic.data'
[mongo_wrapper_ros.py-6] 2022-01-30T01:13:00.447+0100 I NETWORK  [initandlisten] waiting for connections on port 33829
[ros2_control_node-5] [INFO] [1643501580.483440733] [controller_manager]: Configuring controller 'joint_state_broadcaster'
[rviz2-1] [INFO] [1643501580.485770044] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-1] [INFO] [1643501580.485872239] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[ros2 run controller_manager spawner panda_arm_controller-7] [INFO] [1643501580.498445349] [spawner_panda_arm_controller]: Loaded panda_arm_controller
[ros2_control_node-5] [INFO] [1643501580.503549430] [controller_manager]: Configuring controller 'panda_arm_controller'
[ros2_control_node-5] [INFO] [1643501580.503672825] [panda_arm_controller]: Command interfaces are [position] and and state interfaces are [position velocity].
[ros2 run controller_manager spawner joint_state_broadcaster-9] [INFO] [1643501580.504163608] [spawner_joint_state_broadcaster]: Configured and started joint_state_broadcaster
[ros2_control_node-5] [INFO] [1643501580.504202352] [panda_arm_controller]: Controller state will be published at 50.00 Hz.
[ros2_control_node-5] [INFO] [1643501580.504659412] [panda_arm_controller]: Action status changes will be monitored at 20.00 Hz.
[INFO] [ros2 run controller_manager spawner panda_hand_controller-8]: process has finished cleanly [pid 81469]
[ros2 run controller_manager spawner panda_arm_controller-7] [INFO] [1643501580.524340385] [spawner_panda_arm_controller]: Configured and started panda_arm_controller
[rviz2-1] [INFO] [1643501580.592121820] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [ros2 run controller_manager spawner joint_state_broadcaster-9]: process has finished cleanly [pid 81471]
[rviz2-1] Warning: class_loader.impl: SEVERE WARNING!!! A namespace collision has occured with plugin factory for class rviz_default_plugins::displays::InteractiveMarkerDisplay. New factory will OVERWRITE existing one. This situation occurs when libraries containing plugins are directly linked against an executable (the one running right now generating this message). Please separate plugins out into their own library or just don't link against the library and use either class_loader::ClassLoader/MultiLibraryClassLoader to open.
[rviz2-1]          at line 253 in /opt/ros/galactic/include/class_loader/class_loader_core.hpp
[INFO] [ros2 run controller_manager spawner panda_arm_controller-7]: process has finished cleanly [pid 81467]
[rviz2-1] [ERROR] [1643501583.686525197] [moveit_ros_visualization.motion_planning_frame]: Action server: /recognize_objects not available
[rviz2-1] [INFO] [1643501583.710021109] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00199648 seconds
[rviz2-1] [INFO] [1643501583.710054823] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[rviz2-1] [WARN] [1643501583.959575558] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
[rviz2-1] [INFO] [1643501584.076401882] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00143538 seconds
[rviz2-1] [INFO] [1643501584.076423724] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[rviz2-1] [ERROR] [1643501584.083691370] [moveit_background_processing.background_processing]: Exception caught while processing action 'loadRobotModel': parameter 'robot_description_planning.joint_limits.panda_joint1.max_velocity' has invalid type: Wrong parameter type, parameter {robot_description_planning.joint_limits.panda_joint1.max_velocity} is of type {double}, setting it to {string} is not allowed.
[rviz2-1] [INFO] [1643501584.085457140] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.0017505 seconds
[rviz2-1] [INFO] [1643501584.085478270] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[rviz2-1] [ERROR] [1643501584.090330672] [moveit_background_processing.background_processing]: Exception caught while processing action 'loadRobotModel': parameter 'robot_description_planning.joint_limits.panda_joint1.max_velocity' has invalid type: Wrong parameter type, parameter {robot_description_planning.joint_limits.panda_joint1.max_velocity} is of type {double}, setting it to {string} is not allowed.
@Neathle Neathle added the bug Something isn't working label Jan 30, 2022
@AndyZe
Copy link
Member

AndyZe commented Jan 30, 2022

Would you mind navigating to the moveit_resources folder and checking if you have this change: moveit/moveit_resources@f0a5d4b

Does it work if you have those changes?

@Neathle
Copy link
Author

Neathle commented Jan 30, 2022

Would you mind navigating to the moveit_resources folder and checking if you have this change: ros-planning/moveit_resources@f0a5d4b

Does it work if you have those changes?

Those changes are present and it still fails, nevertheless, the error has changed since i rebuilt the example. The error is now:

[rviz2-1] [ERROR] [1643541128.033219662] [moveit_background_processing.background_processing]: Exception caught while processing action 'loadRobotModel': parameter 'panda_arm.kinematics_solver_timeout' has invalid type: Wrong parameter type, parameter {panda_arm.kinematics_solver_timeout} is of type {double}, setting it to {string} is not allowed.

@Neathle
Copy link
Author

Neathle commented Jan 30, 2022

I also checked /parameter_events and the timeout is published with the correct type:

---
stamp:
  sec: 1643542734
  nanosec: 602135685
node: /moveit_simple_controller_manager
new_parameters: []
changed_parameters:
- name: robot_description_kinematics.panda_arm.kinematics_solver_timeout
  value:
    type: 3
    bool_value: false
    integer_value: 0
    double_value: 0.05
    string_value: ''
    byte_array_value: []
    bool_array_value: []
    integer_array_value: []
    double_array_value: []
    string_array_value: []
deleted_parameters: []
---

@galou
Copy link
Contributor

galou commented Feb 21, 2022

This is an issue with locales, adding LC_NUMERIC=en_US.UTF-8 in front of your command should help (e.g. LC_NUMERIC=en_US.UTF-8 ros2 launch moveit_task_constructor_demo demo.launch.py). Cf. ros-visualization/rviz#1151 (comment) for reference.

@Neathle
Copy link
Author

Neathle commented Feb 21, 2022

I will try it but it makes sense since I have a dual boot system and ubuntu is set on rtc time.

@henningkayser
Copy link
Member

@Neathle did setting the locale fix your issue? It's also documented as the first step in the ROS install instructions here https://docs.ros.org/en/rolling/Installation/Ubuntu-Install-Debians.html#set-locale. Please close this issue if you're good.

@galou
Copy link
Contributor

galou commented Mar 22, 2022

Actually, the doc says "However, it should be fine if you’re using a different UTF-8 supported locale.", which is not true.

@Neathle
Copy link
Author

Neathle commented Mar 23, 2022

Sorry for not answering before, the problem is solved by setting the locale to UTC instead of RTC.

@galou
Copy link
Contributor

galou commented Mar 23, 2022

@Neathle you're confusing clock and locale here. The locale are regional settings, i.e., among others, the associated way to interpret numbers. I'm actually wondering how setting the BIOS time solved your issue.

@Neathle
Copy link
Author

Neathle commented Mar 23, 2022

I really don't know but there must be an association between the two, I haven't changed anything else.

@henningkayser
Copy link
Member

@Neathle is this resolved so that we can close this issue?

@Neathle
Copy link
Author

Neathle commented Apr 18, 2022

Yes no more errors thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants