This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
forked from ouster-lidar/ouster-sdk
-
Notifications
You must be signed in to change notification settings - Fork 6
Feature/firmware 1 13 support #8
Open
alexmillane
wants to merge
17
commits into
master
Choose a base branch
from
feature/firmware_1_13_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 16 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4984326
Handle tf_prefix correctly
pronif b10d922
turn on position independent code for ouster_ros
daniel-dsouza f56ce82
turn on PIC for ouster_example
daniel-dsouza d5d9462
Use iterator_traits to access value_type so that raw points work
bsirang 2b058ed
timestamp mode configurable
standmit f3dc5ec
Ez/readme improvement (#113)
Krishtof-Korda 4a0cc27
Change dependency from jsoncpp to match rosdep
DangitBen aab918f
Merge branch 'pronif-handle_tf_prefix' into master
7b7c881
Merge branch 'daniel-dsouza-master' into master
29c582e
Merge branch 'postmates-x-iterator_traits_fix' into master
8da8fa0
Merge branch 'standmit-timestamp_mode' into master
1cf6faf
Merge branch 'DangitBen-master' into master
68ad03c
Update for fw 1.13. See changelog for details
c46b1db
Raw merge results
alexmillane 8b6c2b5
Fixed a couple of things to get it compiling
alexmillane 594e300
Strongly typed timestamp mode enum
alexmillane dbc9271
Fix some unclassed enum conversion hackery.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# OS-1 Example Code | ||
Sample code for connecting to and configuring the OS-1, reading and visualizing | ||
# OS1 Example Code | ||
Sample code for connecting to and configuring the OS1, reading and visualizing | ||
data, and interfacing with ROS. | ||
|
||
See the `README.md` in each subdirectory for details. | ||
|
||
## Contents | ||
* [ouster_client/](ouster_client/README.md) contains an example C++ client for the OS-1 sensor | ||
* [ouster_viz/](ouster_viz/README.md) contains a visualizer for the OS-1 sensor | ||
* [ouster_client/](ouster_client/README.md) contains an example C++ client for the OS1 sensor | ||
* [ouster_viz/](ouster_viz/README.md) contains a visualizer for the OS1 sensor | ||
* [ouster_ros/](ouster_ros/README.md) contains example ROS nodes for publishing point cloud messages | ||
|
||
## Sample Data | ||
* Sample sensor output usable with the provided ROS code is available | ||
[here](https://data.ouster.io/sample-data-1.12) | ||
[here](https://data.ouster.io/sample-data-1.13) |
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
# OS-1 Example Client | ||
# OS1 Example Client | ||
|
||
## Contents | ||
* `ouster_client/` contains a simple C++ client for the OS-1 sensor | ||
* `ouster_client/` contains a simple C++ client for the OS1 sensor that | ||
prints lidar data to the terminal | ||
* can be built both with and without ROS. See the instructions in | ||
`ouster_ros` for building in a ROS environment | ||
[ouster_ros/](../ouster_ros/README.md) for building in a ROS environment | ||
|
||
## Building the Sample Client | ||
* The sample client requires a compiler supporting C++11 or newer and | ||
CMake | ||
* Build with `cd /path/to/ouster_example/ouster_client && mkdir build | ||
&& cd build && cmake .. && make` | ||
&& cd build && cmake .. && make` where `/path/to/ouster_example` is where you've cloned the repository | ||
|
||
## Running the Sample Client | ||
* The sample client includes a small driver program that just prints | ||
some data to the terminal | ||
* Make sure the OS-1 is connected to the network and has obtained a | ||
DHCP lease. See accompanying documentation for more details | ||
* You should see a binary called `ouster_client_example` in your build | ||
* Make sure the OS1 is connected to the network and has obtained a | ||
DHCP lease. See section 3.1 in the accompanying | ||
[software user guide](https://www.ouster.io/downloads) for more details | ||
* An executable called `ouster_client_example` is generated in the build | ||
directory on success | ||
* Run `ouster_client_example <os1_hostname> <udp_data_dest_ip>` where | ||
`<os1_hostname>` is the hostname or IP address of the OS-1 sensor, | ||
* Run `./ouster_client_example <os1_hostname> <udp_data_dest_ip>` where | ||
`<os1_hostname>` is the hostname or IP address of the OS1 sensor, | ||
and `<udp_data_dest_ip>` is the IP to which the sensor should send | ||
lidar data |
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
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 |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
<description>The os1_client package</description> | ||
<maintainer email="[email protected]">ouster developers</maintainer> | ||
<license>BSD</license> | ||
<build_depend>jsoncpp</build_depend> | ||
<build_depend>libjsoncpp</build_depend> | ||
<buildtool_depend>catkin</buildtool_depend> | ||
|
||
<exec_depend>jsoncpp</exec_depend> | ||
<exec_depend>libjsoncpp</exec_depend> | ||
<export></export> | ||
</package> |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
u