-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removes yaml from requirements and adds CMakeList to visualization * removes double scipy requirement * Adding some ros dependencies to package.xml Add a hint in the readme to execute rosdep to get all the needed ros packages. * moves msgs in separate pkg * removes some more requirements * changes camera topics and switches camera_info callback to be 'wait_for_message' * removes message files from object_visualization pkg * slight change to node.py * prepares new launch files for test on rosbag and adds bench to CLASS_COLOR * changes the way markers are published and adds tests for with and without distortion * adds timing of detection (commented) * restructures node and cleans up launch file * adds dropper node to reduce back-log in detection and improves launch file structure * publishes poseArray for the object positions. * deletes unsused launch files, adds launch file for remote, i.e. jetson, adds rviz config * Adds basic support for jetson Still needs to be adjusted to SMB network. * Re-arranging launch files to tackle multiple use-cases by default, running object_detection.launch runs de-bayering locally, while the actually object detection node is run on the jetson. launch file arguments allow using the same launch file for different scenarios. !running detection on recorded rosbag is not yet adjusted! * Adjusting jetson_env.sh - using hostnames works, no need to set ROS_IP - no need to set ROS_MASTER_URI * Update README.md * remove submodule image_undistort * use all lowercase for projector_config file projector config addendum * remove camera calibration camera calibration is supplied via camera_info * launch: removing argument camera_calib_path * Use rospack to locate package path * Adding default projector configs for remaining smbs * Changing jetson setup/environment ! Now, the jetson_env.sh needs to be in the user home directory (~) ! Easy way to still follow changes: create a symlink as follows. ``` roscd object_detection ln -s $PWD/launch/jetson_env.sh ~/jetson_env.sh ``` * squashed commit to fix large staged files. This commit includes including changes to load a local yolov5 repo and removes timing info and comments from code * updates README * load locally * updates requirements * change folder to point to shared space on jetson * change folder to point to shared space on jetson * removes object visualisation and updates readme * changes back such that camera frame is taken from camera_info Co-authored-by: mads <[email protected]>
- Loading branch information
Showing
38 changed files
with
803 additions
and
1,148 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Submodule image_undistort
deleted from
a8fa9c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
project_object_points_to_image: true | ||
project_all_points_to_image: false | ||
object_detection_pos_topic: ~object_positions | ||
object_detection_output_image_topic: ~detections_in_image | ||
object_detection_point_clouds_topic: ~detection_point_clouds | ||
object_detection_info_topic: ~detection_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
R_camera_lidar : | ||
- [-1.0, 0.0, 0.0] | ||
- [ 0.0, 0.0,-1.0] | ||
- [ 0.0,-1.0, 0.0] | ||
|
||
R_correction : | ||
- [ 1.0000000, 0.0000000, 0.0000000] | ||
- [ 0.0000000, 1.0000000, 0.0000000] | ||
- [ 0.0000000, 0.0000000, 1.0000000] | ||
|
||
t_camera_lidar : [-0.045, -0.293, -0.241] | ||
|
||
t_correction : [0, 0, 0] | ||
|
||
forward_axis : 3 # x = 1, -x = -1, y = 2, -y = -2 , z = 3, -z = -3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
R_camera_lidar : | ||
- [-1.0, 0.0, 0.0] | ||
- [ 0.0, 0.0,-1.0] | ||
- [ 0.0,-1.0, 0.0] | ||
|
||
R_correction : | ||
- [ 1.0000000, 0.0000000, 0.0000000] | ||
- [ 0.0000000, 1.0000000, 0.0000000] | ||
- [ 0.0000000, 0.0000000, 1.0000000] | ||
|
||
t_camera_lidar : [-0.045, -0.293, -0.241] | ||
|
||
t_correction : [0, 0, 0] | ||
|
||
forward_axis : 3 # x = 1, -x = -1, y = 2, -y = -2 , z = 3, -z = -3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
R_camera_lidar : | ||
- [-1.0, 0.0, 0.0] | ||
- [ 0.0, 0.0,-1.0] | ||
- [ 0.0,-1.0, 0.0] | ||
|
||
R_correction : | ||
- [ 1.0000000, 0.0000000, 0.0000000] | ||
- [ 0.0000000, 1.0000000, 0.0000000] | ||
- [ 0.0000000, 0.0000000, 1.0000000] | ||
|
||
t_camera_lidar : [-0.045, -0.293, -0.241] | ||
|
||
t_correction : [0, 0, 0] | ||
|
||
forward_axis : 3 # x = 1, -x = -1, y = 2, -y = -2 , z = 3, -z = -3 |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<launch> | ||
<arg name="input_camera_name" | ||
default="/versavis/cam0/slow" | ||
doc="Namespace of the camera/image stream that should be debayerd" /> | ||
|
||
<node pkg="nodelet" type="nodelet" name="debayer" | ||
args="standalone image_proc/debayer"> | ||
<remap from="image_raw" to="$(arg input_camera_name)/image_raw" /> | ||
<remap from="image_color" to="$(arg input_camera_name)/image_color" /> | ||
<remap from="image_mono" to="$(arg input_camera_name)/image_mono" /> | ||
</node> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1:/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0 | ||
source ~/object_detection_ws/devel/setup.bash | ||
|
||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.