MAKE SURE TO SOURCE ROS2 IN EACH TERMINAL
Open a new terminal
ros2 run joy joy_nodeOpen a new terminal
cd AlonBarak-Joy_ws/ros2_ws
source install/setup.bash
ros2 run ros_g29_force_feedback g29_force_feedback- open a new terminal
- cd AlonBarak-dev/ros_ws
- run the next command:
source install/setup.bash- cd src/ros-g29-force-feedback/script
- run the next command:
python3 talker_shovalsus.pyMAKE SURE THE PACKAGE 'python_publisher' IS BUILT
Open a new terminal
cd ROS2Sample
source install/setup.bash
cd .. && cd python_publisher_ws/python_publisher
source install/setup.bash
ros2 run python_publisher publisher- Open a new terminal
cd cognataStation
./CognataStation-2022.1.4.AppImage- Go to Scenarios
- Quick start try1_now
- Choose "shovaltry" in Ego car sensors preset
- Go to Summary
- Click Generate
Open a new terminal
cd to ROS2Sample
source install/setup.bash
ros2 run cognata_sdk_ros2 ROS2SDK 10.2.2.57 3056make sure the pkg -pyhton_publisher- is built
- cd ROS2Sample/src
- open a new terminal
- run the next command:
colcon build- run the next command:
source install/setup.bash- run the next command:
ros2 run python_publisher acc- cd copy/ROS2Sample
- colcon build
- source install/setup.bash
- For recording a scenario: create an enviorment variable Named ACTION choose the lane to record
export LANE_ID=<lane_id> export ACTION=RECORD- For playing a scenario: create an enviorment variable named ACTION
export ACTION=PLAY- run the ros2 node : rcc
ros2 run python_publisher rcc- cd copy/idan_driver_ws
- colcon build
- source install/setup.bash
- run the next command:
ros2 run idan_driver sender_exe- run the next command:
ros2 run idan_driver listener_exe- run the next command:
ros2 run idan_driver can_communication_titan_exeNote: the path info is located into a file named - path.txt