By using AWS re:Post, you agree to the Terms of Use

Questions tagged with AWS DeepRacer

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

how to use "deepracer_inferfaces_pkg"

I want to use matlab to learn deepracer. If you proceed with the ros2 topic list in the deepracer, /camera_pkg/display_mjpeg /camera_pkg/video_mjpeg /ctrl_pkg/raw_pwm /ctrl_pkg/servo_msg /deepracer_navigation_pkg/auto_drive /deepracer_systems_pkg/network_connection_status /deepracer_systems_pkg/software_update_pct /inference_pkg/rl_results /parameter_events /rosout /rplidar_ros/scan /sensor_fusion_pkg/overlay_msg /sensor_fusion_pkg/sensor_msg /usb_monitor_pkg/usb_file_system_notification /webserver_pkg/calibration_drive /webserver_pkg/manual_drive The above is output, but in practice, it cannot be used except for display_mjpeg, overlay_msg, /rplidar_ros/scan. When I looked up the reason, ros2 topic echo /camera_pkg/video_mjpeg Traceback (most recent call last): File "/opt/ros/foxy/bin/ros2", line 11, in <module> load_entry_point('ros2cli==0.9.8', 'console_scripts', 'ros2')() File "/opt/ros/foxy/lib/python3.8/site-packages/ros2cli/cli.py", line 67, in main rc = extension.main(parser=parser, args=args) File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/command/topic.py", line 41, in main return extension.main(args=args) File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/verb/echo.py", line 81, in main return main(args) File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/verb/echo.py", line 95, in main message_type = get_msg_class(node, args.topic_name, include_hidden_topics=True) File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/api/__init__.py", line 88, in get_msg_class msg_class = _get_msg_class(node, topic, include_hidden_topics) File "/opt/ros/foxy/lib/python3.8/site-packages/ros2topic/api/__init__.py", line 133, in _get_msg_class return get_message(message_type) File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_runtime_py/utilities.py", line 28, in get_message interface = import_message_from_namespaced_type(get_message_namespaced_type(identifier)) File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_runtime_py/import_message.py", line 30, in import_message_from_namespaced_type module = importlib.import_module( File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'deepracer_interfaces_pkg' As above, it is said that the depth_interfaces_pkg cannot be found. However, I completed the build after installation as shown below. (https://github.com/aws-deepracer/aws-deepracer-interfaces-pkg) I wait for an answer to what I should do to use the deepacer-interfaces-pkg in the deepracer. Please tell me how to solve this problem.
1
answers
0
votes
20
views
asked 6 months ago