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

Improve startup time #218

Open
lukicdarkoo opened this issue May 22, 2022 · 0 comments
Open

Improve startup time #218

lukicdarkoo opened this issue May 22, 2022 · 0 comments

Comments

@lukicdarkoo
Copy link
Member

lukicdarkoo commented May 22, 2022

Pokretanje aplikacije na Raspberry Pi je sporo, moramo ubrzati. Vjerujem da brzinu pokretanje aplikacije najvise utice broj ROS cvorova, broj akcionih servera, Python implementacije i broj procesa. Evo prijedloga:

ROS cvorovi Akcioni serveri Python Procesi Ostalo
Obrisati distance angle kontroler
(integrisati u RPP)
-1 -1 -1
Integrisati laser scan republisher u costmap plugin -1 -1 smanjuje se slanje velikih poruka
Integrisati Dynamixel drajver u ros2_control -1 -7 -1
Nav2 composition -6
Integrisati cinc drajver u ros2_control -1 -1 -1
Integrisati drajver za pumpe u ros2_control -1 -4 -1 -1
Prebaciti LCD drajver u C++ -1
Ukupno -5 -12 -3 -11

(pretpostavka da robot ima 8 Dynamixel motora i 4 vakum pumpe)
(pumpe prebaciti u servise)

Dodatno, uraditi review nav2 plugina koje koristimo:

- nav2_compute_path_to_pose_action_bt_node
- nav2_compute_path_through_poses_action_bt_node
- nav2_follow_path_action_bt_node
- nav2_back_up_action_bt_node
- nav2_spin_action_bt_node
- nav2_wait_action_bt_node
- nav2_clear_costmap_service_bt_node
- nav2_is_stuck_condition_bt_node
- nav2_goal_reached_condition_bt_node
- nav2_goal_updated_condition_bt_node
- nav2_initial_pose_received_condition_bt_node
- nav2_reinitialize_global_localization_service_bt_node
- nav2_rate_controller_bt_node
- nav2_distance_controller_bt_node
- nav2_speed_controller_bt_node
- nav2_truncate_path_action_bt_node
- nav2_goal_updater_node_bt_node
- nav2_recovery_node_bt_node
- nav2_pipeline_sequence_bt_node
- nav2_round_robin_node_bt_node
- nav2_transform_available_condition_bt_node
- nav2_time_expired_condition_bt_node
- nav2_distance_traveled_condition_bt_node
- nav2_single_trigger_bt_node
- nav2_is_battery_low_condition_bt_node
- nav2_navigate_through_poses_action_bt_node
- nav2_navigate_to_pose_action_bt_node
- nav2_remove_passed_goals_action_bt_node
- nav2_planner_selector_bt_node
- nav2_controller_selector_bt_node
- nav2_goal_checker_selector_bt_node
- nav2_globally_updated_goal_condition_bt_node

Dosta tih plugina vjerujem da ne koristimo, a potencijalno kreiraju akcione klijente/servere. Recimo, Spin plugin je ucitan i kreira akcioni server, a ne koristimo ga.

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