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

Added LidarVisual implementation for Ogre1, empty classes for Ogre2 #103

Merged
merged 34 commits into from
Jul 8, 2020
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
898c3fe
Created Base LidarVisual class
mihirk284 Jun 20, 2020
25a496d
Added OgreLidarVisual Class and materials
mihirk284 Jun 20, 2020
b13eca3
Added empty Ogre2LidarVisual Class
mihirk284 Jun 20, 2020
c179b05
Modified Rendertypes files
mihirk284 Jun 20, 2020
9778be7
Updated Scene file with LidarVisual information
mihirk284 Jun 20, 2020
5e13ad2
Added test for LidarVisual
mihirk284 Jun 20, 2020
6b8400a
Added Examples for LidarVisual
mihirk284 Jun 20, 2020
ca86a29
Added Licensing info, fixed typos
mihirk284 Jun 21, 2020
1399886
Fixed some linter errors
mihirk284 Jun 21, 2020
a16a92f
Fixed linter errors in OgreLidarVisual.cc
mihirk284 Jun 21, 2020
6c9caab
Fixed linter errors
mihirk284 Jun 21, 2020
73c11ac
Fixed LidarVisual_TEST.cc linter errors
mihirk284 Jun 21, 2020
06efb71
Removed unused class and fixed linter error
mihirk284 Jun 22, 2020
f19fcd9
Modified function declarations
mihirk284 Jun 22, 2020
99ea681
Add colors for Lidar in BaseScene.cc
mihirk284 Jun 25, 2020
6fb9993
remove lidar_visual.material
mihirk284 Jun 25, 2020
4aec8a6
Changed API function names
mihirk284 Jun 25, 2020
9496eb9
Added material creation in BaseLidarVisual
mihirk284 Jun 25, 2020
78d0944
Edited Changelog.md
mihirk284 Jun 25, 2020
690e0b8
Removed set angle step from API, prevented duplicating colour for mul…
mihirk284 Jun 27, 2020
7221f7e
Added integration test
mihirk284 Jun 27, 2020
a00e476
Edited lidar visual example
mihirk284 Jun 27, 2020
6eb41cc
Merge branch 'master' into temp_lidar_visual
mihirk284 Jun 27, 2020
025d180
Fixed double type comparison error
mihirk284 Jun 29, 2020
9115a53
fixed typos, minor errors
mihirk284 Jun 29, 2020
c4bf6b4
Added GPU Rays sensor to example
mihirk284 Jun 29, 2020
7c3bbfc
minor changes
mihirk284 Jun 30, 2020
5567267
Changed from error message to warning
mihirk284 Jun 30, 2020
551c223
minor changes, rename msg to points
mihirk284 Jun 30, 2020
b7cd2f6
New function for clearing dynamiclines, ClearPoints() now only clears…
mihirk284 Jul 1, 2020
5c3cfa1
fixed linter errors
mihirk284 Jul 2, 2020
ea26a2b
remove override from CreateLidarImpl, version check for material
mihirk284 Jul 2, 2020
d7da4f4
Edit example CMakeLists.txt
mihirk284 Jul 6, 2020
75c2fbf
changed setMaterial() argument Ogre::MaterialPtr
mihirk284 Jul 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions examples/lidar_visual/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
project(ignition-rendering-lidar_visual)
find_package(ignition-rendering4 REQUIRED)

include_directories(SYSTEM
${PROJECT_BINARY_DIR}
)

find_package(GLUT REQUIRED)
include_directories(SYSTEM ${GLUT_INCLUDE_DIRS})
link_directories(${GLUT_LIBRARY_DIRS})

find_package(OpenGL REQUIRED)
include_directories(SYSTEM ${OpenGL_INCLUDE_DIRS})
link_directories(${OpenGL_LIBRARY_DIRS})

if (NOT APPLE)
find_package(GLEW REQUIRED)
include_directories(SYSTEM ${GLEW_INCLUDE_DIRS})
link_directories(${GLEW_LIBRARY_DIRS})
endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")

configure_file (example_config.hh.in ${PROJECT_BINARY_DIR}/example_config.hh)

add_executable(lidar_visual Main.cc GlutWindow.cc)

target_link_libraries(lidar_visual
${GLUT_LIBRARIES}
${OPENGL_LIBRARIES}
${GLEW_LIBRARIES}
${IGNITION-RENDERING_LIBRARIES}
)

add_custom_command(TARGET lidar_visual POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_SOURCE_DIR}/media
$<TARGET_FILE_DIR:lidar_visual>/media)
Loading